How Show Adsense Adds In Middle Of Blogger Posts

How To Show Adsense Adds In Between Of Blogger Posts,yup its right,you can now show adsense adds between the blogger posts.Just what you have to do is to select at which posrion of the middle of the post you want adsense adds to be shown up and adsense add will be shown up itself.No need to add the adsense codes manually in between the posts.

You can also add adsense codes at the start of blogger post and end of blogger post,for this trick you can continue to this post.

Now how to add adsense adds in between the blogger posts.First would like to show the working demo of it.

Got To Blogger Layout > Edit Html > Expand Widgets > Press Ctrl + F and seach For Below code

<data:post.body/>

After getting this code replace it with below codes.

<div expr:id='”aim1″ + data:post.id’></div>

<div style=”clear:both; margin:10px 0″>

<!– Your AdSense code here –>

</div>

<div expr:id='”aim2″ + data:post.id’>

<data:post.body/>

</div>

<script type=”text/javascript”>
var obj0=document.getElementById(“aim1<data:post.id/>”);
var obj1=document.getElementById(“aim2<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);}
</script>

Please add your adsense add code in place of red line in above code.

And save your template.

Now whenever you write a new blogger post and when you reach in middle of the post where you want to show up adsense adds just add below code there

<!– adsense –>

and continue writing the rest post.

Now when you will publish your post you will see adsense adds in between posts at the place where you placed the above line.

For any problem can visit here for original post.
I hope you will love this for sure.

43 Comments

  1. Everyday Finance May 13, 2009
  2. Anshul May 13, 2009
  3. ikenna May 16, 2009
  4. Anshul May 16, 2009
  5. sop May 25, 2009
  6. Anshul May 25, 2009
  7. News May 26, 2009
  8. Anshul May 26, 2009
  9. sop May 28, 2009
  10. Anshul May 28, 2009
  11. Anonymous June 1, 2009
  12. Anshul June 1, 2009
  13. Admin June 3, 2009
  14. Admin June 3, 2009
  15. Anshul June 3, 2009
  16. Admin June 3, 2009
  17. Anshul June 3, 2009
  18. sop June 5, 2009
  19. Anshul June 5, 2009
  20. pushkar July 30, 2009
  21. Anshul July 31, 2009
  22. mytheory August 8, 2009
  23. Anshul August 8, 2009
  24. Anonymous August 18, 2009
  25. Anshul August 18, 2009
  26. pspripkit January 16, 2010
  27. Me again January 16, 2010
  28. Sergiu Cazacu March 9, 2010
  29. Anshul March 10, 2010
  30. Sergiu Cazacu March 11, 2010
  31. Sergiu Cazacu March 11, 2010
  32. Anshul March 16, 2010
  33. Sanskar Shrivastava July 14, 2010
  34. Anshul July 15, 2010
  35. Sanskar Shrivastava July 15, 2010
  36. Anshul July 15, 2010
  37. Andreia July 27, 2010
  38. Andreia July 28, 2010
  39. Anshul July 28, 2010
  40. Mr. O August 18, 2010
  41. Anshul August 18, 2010
  42. anoop May 14, 2011

Leave a Reply