Want to place the Adsense ads in between the post in blogger?

The simplest technique is given here and mind it there is no violation of google adsense terms here.
If you want to add manually the code in the HTML, first go to template> click on backup/restore and backup your template first.

Want to place the Adsense ads in between the post in blogger?
In just 3 steps you can add the ads in between the post click read more for more information 

  • Now Step 1 : Find the given code in the html


HTML preview

You may find it couple of times but stop at the second one;

  • Step 2 : Replace the <data:post.body/> code with the code given below ;

<div expr:id='"adsmiddle1" + data:post.id'></div>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div style="clear:both; margin:10px 0">
<!-- Add here the code of your ad -->
<div expr:id='"adsmiddle2" + data:post.id'>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}

    Final Preview
  • Now for centering the ads add

<Adsense Code>
And its ready now …………

The blog post will look like this now ;

If you found problem do comment or contact me for more information .....

No comments:

Post a Comment

Recent Comments Widget
Copyright © 2016 TrendsAround • All Rights Reserved. Contact for more information.
Template Design by BTDesigner • Powered by Blogger
back to top