Sunday, January 20, 2008
Place Google AdSense Ads below post's title in Blogger
1 comments Posted by Ehtisham Khan at 6:06 AMSo I have decided to change the position of AdSense and in my Blogger Template, I have find this "suspect" code in the post's footer:
<data:adend/>
<data:adcode/>
<data:adstart/>
</b:if>
... that is what I'am searching: the AdSense code, placed on template, from Blogger when I have selected show ads between posts option. After some tentatives I have find a good position where to place AdSense, below the title's post, before this line's code (check expand widget in your blogger template):
<p><data:post.body/></p>
So, I have changed AdSense code position above this line, adding an if statement (on bold) to show sponsored links only into the single post, not when an user visits my home page, or browse categories (over 96% of my actual clicks cames from internal pages):
<b:if cond="'data:post.includeAd'">
<data:adend/>
<data:adcode/>
<data:adstart/>
</b:if>
</b:if>
In this way, AdSense is more visible and in just two day I have improved the number of clicks and my CTR for the most visited pages. If you use Blogger platform for your blog, I suggest to try it.
Labels: Adsense
Wanna add background image to yourr adsense ad so that it looks better..
Ok then here is the trick..
<table align="center" width="your_image_width" height="your_image_height" border="0" background="your_image_path">
<tr><td width="your_image_width" height="your_image_height">
<div align="center">
Put_Google_Ads_code_here
</div></td></tr>
</table>
Edit the above code properly as below..
Replace Put_Google_Ads_code_here with your adsense code.
Replace your_image_width with the width of your image
Replace your_image_height with the height of your image
Replace your_image_path with your image file's url
After editing put this code in the place you need your ads to appear(with background image)
When you choose the background colour and border colour in Adsense for content setup please try to use colours matching with your back ground image..
Labels: Adsense, Blogger Hacks

