Chitika

Saturday, August 7, 2010

How to change/modify Google adsense codes for blogger blogs

For this we have to modify the google adsense code a bit....anyone can do it and its not violating the TOS by Adsense. It will definitely allow you to get more earnings from the same posts as the CTRs may rise very fast

Replace the following in the adsense code with the terms given below like:








Above two is enough to make Google AdSense works in Blogger template. For other scripts, such as AdBrite ad code, you will need to replace more characters such as those listed below.
AdSense or JavaScript Ad Code Directly to Blogger HTML Template







For example, a Google AdSense code should become looks similar to code below:



<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


No TOS violation
Just use NOTEPAD to do so.. or you may use http://www.blogcrowds.com/resources/parse_html.php

1 comment:

G.Mohan Kumar said...

This post from you helped me to get adsense inside my blog post

my site http://www.gmkfreedownloads.blogspot.com