Saturday, January 29, 2011

Add Adsense Ads Inside Blogger Post

1. Log in to your blogger account and  go to dashboard
    >> Layout >> Edit HTML

2. Check THE "Expand Widget Templates" and find this code



<b:if cond="data:post.includeAd">
<data:adend>
<data:adcode>
<data:adstart>
</data:adstart>
</data:adcode>
</data:adend>
</b:if>

3. Replace above code with this below code.

<b:if cond="data:blog.pageType != &quot;item&quot;">
<b:if cond="data:post.includeAd">
<data:adend> <data:adcode>
<data:adstart>
</data:adstart>
</data:adcode>
</data:adend>
</b:if>
</b:if>

4. Now find  <date:post.body/>   tag. Paste below code after this tag.

<b:if cond="data:blog.pageType == &quot;item&quot;">
<b:if cond="data:post.includeAd">
<data:adend>
<data:adcode>
<data:adstart>
</data:adstart>
</data:adcode>
</data:adend>
</b:if>
</b:if> 

5.done.

5 comments:

  1. i am not able to find 1 code in my blog www.frendzarena.com

    ReplyDelete
  2. i didn't found my template html on first step code
    how to get the insid adds in blogger templates.
    http://resulttime.blogspot.com/

    ReplyDelete
  3. Yeah.. i need this tutor.. for Boost my adsense revenue..

    ReplyDelete
  4. Hey guys before you do this, please make sure that you have back up your HTML file so that you can rest assure that you can bring it back whenever there are bugs on your code. Hope this could help. Thanks!

    ReplyDelete