Pin It

How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post 


Adsense Ads In Middle Of A Blogger Post :

Manually Inserting adsense ads in the middle of posts in blogger in simple way with in just 5 minutes
Before Changing in Html We should save backup Of your Template (go to Templete>Click On the Backup/Restore)

Step 1. Go To Templete > Edit HTML



Click Anywhere inside the code area and press (CTRL+F)

Select text ( <data:post.body/> )

Step 2. Replace The Tag With Another Tag


<data:post.body/>

Replace

<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 here the code of your ad -->
</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 3. How to Create Google Ads

1. Login to your Google Adsense Account.

How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post
How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post 
2. Under “My Ads” tab, create a new Ad unit

How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post
How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post 
3.  Copy This Code : 
 
How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post
How To Add Adsense Ads In The Middle Or Anywhere Insidde Blogger Posts | How To Put Ads Between the Post 

4.  Adsense Code Encoder | Online HTMl Encoder | HTML To XML parser | Blogger adsense          converter : 



                                   Online HTMl Encoder

0 comments:

Post a Comment

 
Top
Blogger Template