How to Add Adsense Ads Below Post Title and Middle of the Blogger Posts

Add Adsense Ads Below Post Title and Middle of the Blogger Posts: Are you searching for a way to add Adsense Code Below Post Title and Middle of the Blogger Posts?

Then you are in right place here in this tutorial I will show you How you can add Adsense code anywhere in BlogSpot posts.

To earn good revenue from Adsense it is important to place ads at right place where users having more interactions.

Adsense Code Below Post Title and Middle of the Blogger Posts can give you high CTR and you can earn more revenue.

In WordPress platform, there are many plugins available by which you can easily add Adsense code anywhere on your blog but in the case of BlogSpot, we have to do this manually.

add-adsense-anywhere-in-post


So let's start................

How to Add Adsense Ads Below Post Title and Middle of the Blogger Posts:

Step 1: Go to your blogger account.

Step 2: Now take a backup of your template for your safety.Then go to Theme tab and click on Edit HTML.

Step 3: Now search this code <data:post.body/>.(Press CTRL+F to search).You may get this code more than one.So try with every <data:post.body/> code.

Step 4:Now replace <data:post.body/> this code with the below code.


<div expr:id='"adsmiddle1" + data:post.id'></div>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div style="clear:both; margin:10px 0">
<!-- Add Converted Code Here-->
</div>
</b:if>
</b:if>
<div expr:id='"adsmiddle2" + data:post.id'>
<data:post.body/>
</div>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>

Step 5: Since blogger supports XML format and Adsense code is in HTML format so you need to convert your Adsense Code to XML format.
Use This Converter

Step 6: Now Copy your converted Adsense code and replace it with <!-- Add Converted Code Here--> 
Step 7: Now it will show ads below title but if you want to show ads anywhere in post then use this <!-- adsense --> where you want to show ads.(Use this shortcode as shown in the below image.)
add-adsense-anywhere-in-post

This is the only easy way to add Adsense Ads Below Post Title and Middle of the Blogger Posts.
I hope you liked this post.So now please share this post using sharing buttons below to support us.

0 comments:

Post a Comment