Google Adsense Code is Now Shorter

Have you updated your Google Adsense code?

The new Google Adsense code now looks like this:

<script type=”text/javascript”><!–
google_ad_client = “pub-4xxxxxxxxxxxxxx”;
//160×600, created 1/5/08
google_ad_slot = “4001945718″;
google_ad_width = 160;
google_ad_height = 600;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>

google_ad_slot is the name of the particular ad. So, now instead of just having channel, you can differentiate ads with the ad slot number as well.

Previously, it used to have many lines of codes to specify the colors and other specs. The benefits of the new codes include:

  1. More Manageable - With the new code, you can now manage your ad, yes, that particular ad as Google will store it in your Adsense account. You just need to go to Adsense Setup -> Manage Ads
  2. Less Code, Means Faster Loading - With a shorter code, you can expect your web page to load faster. You may think 2kb to 5kb is nothing but in the world of Internet, it is something especially if one has many other ads in their web site.

Popularity: 22% [?]

Related posts

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment