Share/Save/Bookmark

Saturday 31 January 2009

Display your custom google adsense in your blogs using adsense script

by Your Name comments



Share this post:
Design Float
StumbleUpon
Reddit



Blogger has google adsense widgets, it will help you to add google adsense in your blog very quickly and easily, but if you want to place google adsense in every places in your blogs as you want, you can use adsense script; it is javascript code that be used to show your adsense in your blog, this is and example of my adsense script that I use in my blogger template.

Example: Define Adsense script
< script type='text/javascript' >
google_ad_client = "Your Adsense Number";
google_ad_host = "Your Adsense Number";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_channel ="117893460x";
google_ad_type = "text_image";
google_color_border = "#ffffff";
google_color_bg = "#fff6d7";
google_color_link = "#333333";
google_color_url = "#999966";
google_color_text = "#335533";
</script>

And then by using the line you can display google adsense in your blogger template:

<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type='text/javascript'>

</script>


You can use the Adsense script every where in your blog to place your advertises.

Categories

Labels

Archive