Google Adsense Modified its Ad Code Policy
- tech2blog.com
- May 27, 2013
- 3 min read
Google AdSense is very strict when it comes to its ad code policy. As a publisher you are not allowed to modify any Google AdSense code and you have to use the code as it is. Whenever any publisher tried to make any changes in the ad code, they are banned from Google Adsense program. Few years back many publishers were banned because of using IFRAMEs and hiding content with Google Ads. Even many small publishers are afraid of using A/B test but now Google has officially announced about the new Ad implementation policies and you can use A/B test without any hesitation.

In Ad implementation policies of AdSense, it is clearly mentioned that publishers are not allowed to change the code.
Our program policies do not permit any alteration to AdSense code which artificially inflates ad performance or harms advertiser conversions.
Recommended Article: High CTR Adsense Ready Themes
While seeing a present day scenario, where responsive web-design and page speed matters a lot, Google has now announced 4 modifications in the Ad implementation policies which are stated below.
1. Responsive design: Due to the increase use of high-end mobile devices and tablets, use of responsive design and theme has become a necessity. Now Google has also allowed publishers to create a single webpage that will adapt to the device giving good user experience.
2. A/B testing: This testing method is usually used to know which ad unit is performing well on your website. Usually all small publishers are afraid of using it, due to fear of getting banned. But now as per new Google AdSense policy, publisher is allowed to run such test by creating multiple versions of a webpage, comparing user behavior to see which page is the most effective.
By A/B testing you can see which ads are performing well and giving high Adsense CTR. You can use below script to run A/B test on your website.
<script type="text/javascript">
var random_number = Math.random();
google_ad_client = "ca-publisher-id";
google_ad_width = 728;
google_ad_height = 90;
if (random_number < .5){
google_ad_slot = "1234567890";
} else {
google_ad_slot = "2345678901";
}
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
3. Setting custom channels dynamically: As a part of a new policy, now publishers can track multiple ad channels dynamically and can track their performance. Generally custom channels are used to keep track of ad unit added to them. You can make custom channels based on size, color etc.
4. Ad tag minification: Page speed is very important when you talk about blog optimization. And now new policy allows you to modify the AdSense code to increase site speed. Below script can help you in minimizing the Adsense tag and thus will make your site load faster.
<script type="text/javascript">
google_ad_client = "ca-publisher-id";
google_ad_slot = "1234567890";
google_ad_width = 728;google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Note: If you have no earlier experience on Ad modification, then go slow and try one by one. Also do read Google Adsense policy carefully.
All above modification are only allowed when Google ad performance is not altered or harm any advertisers. Codes of all the modified policy are available in Google Ad implementation policies section. Hope this new modification in Adsense ad implementation policy give new ways to publisher to increase AdSense revenue on their sites. If you have any question or query please free to leave comment and do share this article on Facebook, Twitter, Google+ etc.
Comments