Put AdSense Code Below Post Title in Blogger | How-To Guide

Here is an easy step-by-step guide on how to put an AdSense code below the post title on Blogger blogs. We hope you find this helpful.

blog

First, you’ll need to backup your template so you can revert the changes just in case you mess things up.

Next, you must “escape” your AdSense code using an online tool. Enter your raw code here.

Then on your Blogger dashboard, go to Template > Edit HTML and find (Ctrl+F) the following code:

<div class='post-header-line-1'>

Copy the following and paste it below that code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='margin: 10px 0 10px'>
YOUR ESCAPED ADSENSE CODE
</div>
</b:if>

The line <b:if cond='data:blog.pageType == &quot;item&quot;'> was added so that the ad will appear only on post pages. You can also adjust the margin as desired.

Next, copy/paste the new, “escaped” code to replace the text in red.

Once done, click “Save template.” That’s it.

If you’re successful in doing this, you’ll notice an improved click-through rate (CTR) on that particular AdSense unit.