Adding Google Adsense in Blogger Below Post Titles


  1. Go to Blogger >> Template.
  2. Backup your blog template.
  3. Click on Edit HTML button.
  4. Tick on Expand Widget Template box.
  5. Press Ctrl+F and search for
<data:post.body/>
  1. Now paste below code just above it.
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
PLACE YOUR AD CODE HERE
</b:if>
  1. Replace PLACE YOUR AD CODE HERE with your parsed ad code.
  2. Click on save template button.
  3. You are done!

Once you performed these steps then visit any of your blog posts. Ad below post title will look something like this:
adsense ad below post title
The ad below post title will appear at the left side. If you want to show it at the right side or at center then use below code.
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<div align=”center“>
PLACE YOUR AD CODE HERE
</div>
</b:if>
If you are unhappy with the results and want to wrap text around Google adsense ads like this:
adsense ads alignment
then use below code.
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<div style=”float:left; margin:10px;”>
PLACE YOUR AD CODE HERE
</div>
</b:if>
Replace left to right if you want to show ads on the right side wrapped with text.
Note: Observe that all of the above codes are added between conditional tags which will show ads only on post pages neither on homepage nor on labels page. If you want to show ads on every page then remove those conditional tags.
If you are showing ad on homepage and label pages also then take a look on your ad. It will be shown below all post’s titles means if you have set 5 posts to appear on your homepage then it will only appear below first 3 post’s titles. Last two will be shown as blank white space. I recommend you to show ad below first post title only. Replace above conditional tags with below ones to show single ad on homepage and labels page below first top most post’s title.
<b:if cond=’data:post.isFirstPost’>
PLACE YOUR AD CODE HERE
</b:if>

Post a Comment

thank you ! for interest .... please comment only about topic don't post spam ,we hate spammers and spamming comment's are does not approved.

 
Top