Friday, January 28, 2011

Add Adsense Ads Inside Blogger Post

0 comments
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.

Leave a Reply

Related Posts Plugin for WordPress, Blogger...