Google Adsense changed its Adsense ads script or we can say Adsense upgraded its ad unit codes. Previously it had only synchronous ad script. But from last few days it had added new type of AdSense code script known as Asynchronous.Here we discus what is Difference Between synchronous and asynchronous Adsense Ads.
When you processed something asynchronously, you can stepping to another task before it finishes or completes. Same thing is now being applied to asynchronously Ads by Google.
Look at the script code in below image, definition given after this.
By watching at the code, We can say that this new asynchronous will first load JavaScript from Google Host to your browser cache, And from Browser Cache rest of the slot code is make calls to load on website.
Once the JavaScript is loaded in Browser Cache no need to download the JavaScript file Repeatedly. This will minimize the response time from server making it load faster.
Now once the Java Script file is loaded at the start of first ad it can simultaneously call other Ads space slot code.
For ease it can be considered like this:
As Asynchronous has benefit of loading all the ads Simultaneously. This will improve loading speed of your web site and minimize the server load.WHAT IS SYNCHRONOUS ADSENSE ADS ?
When you processed something synchronously, you must wait for it to finish before starting another task. Same task was happening in Adsense Ads previously.
Look at the script code in below image, definition given after this.
In above code, You can see that script is making a call to Google Ads slot code first and then calls the JavaScript hosted in Google.
It will be happen for each and every ads location to your site, first it make call to Ads slot and then JavaScript. That means, unless and until the first ad is loaded it won’t turn on other ads to load on site.
In easy words it can be explained as below:
[<———Ad1———>] [<———Ad1———->][<——-Ad3———->]
Ad2 must be loaded after Ad1, Similar Ad3 loaded after loading completion of Ad2 not before it.
WHAT IS ASYNCHRONOUS ADSENSE ADS ?
When you processed something asynchronously, you can stepping to another task before it finishes or completes. Same thing is now being applied to asynchronously Ads by Google.
Look at the script code in below image, definition given after this.
By watching at the code, We can say that this new asynchronous will first load JavaScript from Google Host to your browser cache, And from Browser Cache rest of the slot code is make calls to load on website.
Once the JavaScript is loaded in Browser Cache no need to download the JavaScript file Repeatedly. This will minimize the response time from server making it load faster.
Now once the Java Script file is loaded at the start of first ad it can simultaneously call other Ads space slot code.
For ease it can be considered like this:
[<———Ad1——–>]
[<——–Ad2———>]
[<——–Ad3———>]
It means before the end of Ad1, Ad2 will be started loading in browser, similarly with Ad3.BEST TO USE BETWEEN SYNCHRONOUS AND ASYNCHRONOUS
Therefore, I recommend to use Asynchronous adsense ads for better and fast loading of ads.
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.