Put Adsense in the Middle of Blogger Blogspot Post
How to Put place insert Adsense in the Middle of the Post article content in Blogger Blogspot blog. Read also how to place insert Adsense in the middle of WordPress blog post.
As mentioned here, to optimize and increase your Adsense earning, one of the tricks is to put adsense in the middle of the blog post. There are many plugins available for WordPress blog. For Blogger Blogspot user however that’s not easy.
Here’s the hack how to make it happen. The code <!– Your AdSense code here –> should be changed with your own Adsense code.
I. Hack by Max
- After login to blogger.com -> Layout > edit html -> check Expand Widget Templates
- Find this code: <data :post.body/>
- Replace with this code: <div expr:id=’"aim1" + data:post.id’></div>
<div style="clear:both; margin:10px 0"><!– Your AdSense code here –>
</div>
<div expr:id=’"aim2" + data:post.id’><data :post.body/>
</div>
- Save Template. Done.
- Now, everytime your write a post, put this code <!– adsense –> in the middle of the post where you want it to appear.
Credit for this hack goes to: Max. Visit his blog for more details and further development.
II. Hack by DJ Yano
- After login to blogger.com -> Layout > edit html -> check Expand Widget Templates
- Find this code: <data :post.body/>
- Replace it this code: <div expr:id=’”aim1″ + data:post.id’></div><div style=”clear:both; margin:10px 0″><!– Your AdSense code here –></div><div expr:id=’”aim2″ + data:post.id’><data:post.body/>
</div>
<script type=”text/javascript”>
var obj0=document.getElementById(“aim1<data:post.id/>”);
var obj1=document.getElementById(“aim2<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> - Save Template. Done.
- Now, everytime your write a post, put this code <!– adsense –> in the middle of the post where you want it to appear.
Credit goes to DJ Yano.


Siip… mantab banget tipsnya. Dah pernah tak coba mas, untuk meningkatkan frekuensi klik pada iklan adsense memang ini salah satu caranya. Thanks
Thanks. I was looking for a way to put adsense code in between blogger posts. Let me try this method.
wah baru tau nih mas kalau penempatan adsense di post seperti itu, thx tambah ilmu baru nih hack blogger …
mas mau nanya kalau iklan yang ada gambarnya itu adsense bukan ya ??? kok lain ya tampilannya ???
wow nice pos thanks for share