How to place Adsense in-feed ad on Blogger post

Placing Adsense in-feed ad on blogger post is quietly tricked, but with this article we are going step by step on how to implement it with coding instruction, in-feed ad performance quite good but it depends on ads implementation and speed of that template.

Conditions on implement in-feed ad in blogger post;

  • Do not place this ad in the blog posts
  • Do not place this ad in sidebars
  • Do not place this ad in footer
  • Place this ad in blog feed
  • Do not float ad

Steps to Place in-Feed ad in blogger post;

  1. Create feed-ad on adsense
  2. Copy feed-ad codes from adsense dashboard then parse it to Adsense Converter.
  3. Go to blogger dashboard then click edit theme to view HTML codes
  4. Click inside HTML then press Ctrl+F key buttons to pop search box within HTML
  5. In box place <b:loop values=’data:posts’ var=’post’> then place enter to locate a searched result
  6. Choose searcehed item that is within Blog Feed
  7. Then replace <b:loop values=’data:posts’ var=’post’> with <b:loop values=’data:posts’ var=’post’ index=’x’> or ad index=’x’ before left arrow
  8. Place following codes after <div class=’post-outer’>

<b:if cond=’data:blog.pageType != &quot;static_page&quot; and data:blog.pageType != &quot;item&quot;’>

<b:if cond=’data:x==1′>

<div class=’post’>

FEED-AD CODE

</div>

</b:if>

<b:if cond=’data:x==3′>

<div class=’post’>

FEED-AD CODE

</div>

</b:if>

</b:if>

NOTE; You can change 1 to 2,3,4 or any depend on where you want feed-ad to appear between, top or bottom of your homepage feed, Replace a word “FEED-AD CODE” with your parsed feed-ad code

10. Save your HTML then everything will work fine just like charm

 

Leave a Reply

Your email address will not be published. Required fields are marked *