How to Add Adsense ads inside Blog posts

This Blog tips expose adding google adsense or other HTML code inside Blog posts. To make money with blogging, this can help you to increase CTR. Beginners can easily add adsense with following guidline.


Sign in to your blogger dashboard>layout>Edit html
Check the box "Expand Widget Templates"
Now find out the following code:

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

Now replace that code with the 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>


Now find out <date:post.body/> tag . If you want to add adsense ads above the code just paste the below code above the <date:post.body/> tag. If you want adsense ads to show below the post,paste the code below that 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>

No Comment Yet Post a Comment

Leave a Comment