Thursday 18 July 2013

Google Launches The New Asynchronous AdSense ad Code

Thursday 18 July 2013

If you’re publishing AdSense ads on your blogs or websites, you may want to use the asynchronous ad code instead to improve your website’s performance and latency and provide better user experience. 


According to google, the advantage of the asynchronous code is that it's guaranteed never to get in the way of other parts of your web page loading.
This means that users will be able to load the content of your pages, even if they’re having trouble loading the ads. Mobile users in particularly will enjoy less latency when loading web pages.

 When implemented users who visit your site may find it loading much faster and that can have an impact on user experience and how long your visitors stay on your site.

      Google recommends that you thoroughly test all of your pages that use the asynchronous code. If ads are not showing on your site within 48 hours after you've added the asynchronous code, you should make sure that the ad code is correctly implemented in your site. You can do this by viewing the source of your site from a browser and double-checking that the ad code looks exactly like the code we provide you in your account, and includes every line of the ad code. You can also look at your browser's JavaScript error console, where adsbygoogle will display messages about any configuration problems it notices.

Implmenting the  Asynchronous ad Code
When you generate your AdSense ad code, you now have the option to choose between the current AdSense ad code and the new asynchronous ad code. To use the asynchronous code, select "Asynchronous BETA" from the Code type drop-down in the “Ad code” box.
Google AdSense Asynchronous Ad Code Support


The asynchronous ad code has a different syntax to the current AdSense ad code.

Heres an example:


AdSense asynchronous ad code example
 Once you’ve generated your asynchronous code, copy and paste the code into your page’s HTML source code just as you would with the current ad code.

Google is increasingly emphasizing the importance of site speed, this is great news for all AdSense publishers. 




1 comment:

  1. The real alternative to google adsense is adtomatik, They give me
    most suitable advice about the monetization strategy and offer modern digital solutions such as: In-image ads, Native ads, Among Others.

    ReplyDelete

TECH BLOG © 2014