Google Tweaks AdSense Code To Speed Loads

Image courtesy Shutterstock

Google is making good on promises it made to speed its AdSense code, rolling out an overhaul aimed at relieving the drag on publishers’ Web pages.

The company estimates that its helping pages load faster by a half a second or more, when, previously, Google acknowledged that its code could delay page loads by 12 percent on average. Besides helping user experience, the change may help AdSense sites rank better for search, since Google uses site load times as one signal.

The change happens automatically, without publishers having to change the code placed on their pages.

In the old implementation, the AdSense javascript would load additional scripts, gather information from the web page where it resided, and send an ad request back to Google. Now, the code — without publishers making any changes — will start by creating an iFrame on the publisher’s Web site. That isolates the AdSense code from everything else that’s happening on the page, allowing the rest of the page to load without having to wait for the Google code to do its thing.

“[The first script's] main job is to call the actual implementation of the AdSense script and then give back the control to the browser, so the web page can continue loading in parallel,” Richard Rabbat, the product manager at Google who led the charge, told me.

Google’s testing on the new code showed that pages with AdSense now load as quickly as they would with no ads at all. The change won’t be as dramatic on sites whose pages consist of a lot of AdSense ads, and those who have already implemented their own iFrame solutions won’t see much of an impact, either.

Currently, the change is occurring globally on Google Chrome, Mozilla Firefox and Microsoft Internet Explorer 8. The company hopes to expand the list of supported browsers soon.

The roll-out is something that Google talked about at the Velocity conference nearly a year ago, and it’s spent the intervening months making sure that it would work well and easily, without publishers having to make changes. More than 2 million publishers are using Google AdSense.

“We spent a lot of time making sure that this technique works very well,” said Rabbat, “We have dealt with a lot of corner cases.”

Related Topics: Channel: Display | Google: AdSense


About The Author: is Executive Features Editor at Search Engine Land and Marketing Land. She’s a well-respected authority on digital marketing, having reported and written on the subject since 1998.

Connect with the author via: Email | Twitter | Google+ | LinkedIn


Get all the top search stories emailed daily!  


Other ways to share:

Read before commenting! We welcome constructive comments and allow any that meet our common sense criteria. This means being respectful and polite to others. It means providing helpful information that contributes to a story or discussion. It means leaving links only that substantially add further to a discussion. Comments using foul language, being disrespectful to others or otherwise violating what we believe are common sense standards of discussion will be deleted. Comments may also be removed if they are posted from anonymous accounts. You can read more about our comments policy here.

Comments are closed.

Get Our News, Everywhere!

Daily Email:

Follow Search Engine Land on Twitter @sengineland Like Search Engine Land on Facebook Follow Search Engine Land on Google+ Get the Search Engine Land Feed Connect with Search Engine Land on LinkedIn Check out our Tumblr! See us on Pinterest


Click to watch SMX conference video

Join us at one of our SMX or MarTech events:

United States


Australia & China

Learn more about: SMX | MarTech

Free Daily Search News Recap!

SearchCap is a once-per-day newsletter update - sign up below and get the news delivered to you!



Search Engine Land Periodic Table of SEO Success Factors

Get Your Copy
Read The Full SEO Guide