Adsense Unit Placing Pack: Add Adsense in the Middle of the Post

Today I am going to be teaching you on How to place Add Adsense in the Middle of the Post.

I wil give you this tutorial and will show you how to add adsense codes in the left side, right side, or in center of the post.
Adsense Unit Placing Pack: Add Adsense in the Middle of the Post
Doing this will help to increase your adsense CTR. anyway you will also notice that many times some websites OR some blogs put their adsense in the middle of the posts, that also helps increase the CTR of your adsense earning...

Add Adsense in the Middle of the Post
Login to Blogger > Dashborad
Click on Drop Down Menu and select Template
Backup your Template before making any changes to your blog
Now Click on Edit HTML > Proceed > Expand Widget Templates
Press Ctrl + F and search the code shown below.


You will find two times <data:post.body/> code and You have to Replace it With the Second One

Now replace that code with below code:

<div expr:id='&quot;aim1&quot; +'/>
<div style='clear:both; margin:10px 0'>
Your Adsense Code Here
<div expr:id='&quot;aim2&quot; +'>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;aim1<>&quot;);var obj1=document.getElementById(&quot;aim2<>&quot;);var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf(&quot;&quot;);if(r&gt;0){obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1)}

You Have to first Convert the Adsense Code into the Compartible Form

Convert Your Adsense Code

Now just replace Your Adsense Code Here with your Own Asense Codes.
Now Save Your template.


Post a Comment