-->
How to Install Adsense Ads Above, Below and centre of the Blog Posts - To increase the impressions of google adsense ads, it would be nice to advertise above and below the article, remember not to disturb the readers of the article, by placing ads above and below can also increase revenue or increase the number of adsense clicks friend.

How to Install Adsense Ads Above, Below and centre of the Blog Posts

How to Install Adsense Ads Above and Below Blog Posts


First, you first enter Blogger > Themes > Edit HTML, find for this code <data:post.body/> usually like the code below.


<b:includable id='post' var='post'>
....
....
<data:post.body/>
....
....
</b:includable>

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

If you have found it, please add the conditional tag then it will be like the code below


<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>

So that the ad looks neat add the code as below.


<b:if cond='data:blog.pageType == "item"'>
<div class='ads.blogs>
<!-- Install the ad code here -->
</div>
<data:post.body/>
<div class='ads.blogs>
<!-- Install the ad code here -->
</div>
</b:if>

The last one adds the CSS code, copy the code below and paste it right above the code </head> .



<b:if cond='data:blog.pageType == "item"'> 
<style type='text/css'> .ads.blogs{margin:20px auto 0 auto} .ads.blogs{margin:20px auto} 
</style>
 </b:if>

If your getting error something please read article carefully

Now second How to ads centre of the post

How to Install Adsense Ads in the Middle of Article Posts
 - Google Adsense is an advertising service that is widely used by bloggers as well as me to get a little extra income, to increase Adsense income placement of ads is also influential from ads above articles and also under the article is very recommed and also not disturb your visitors later when reading your article.

Placement of Adsense ads in the middle of posts can also increase your Adsense impression with the condition of 400 words in 1 article so that the ads that are displayed are not close together and pleasing to the eye, Google Adsense has 2 types already know?

How to Install Adsense Ads in the Middle of Article Posts


How to Install Adsense Ads Above, Below and centre of the Blog Posts


First, you first enter Blogger > Themes > Edit HTML, click CRTL + F, look for the code <data: post.body/> then change with the code below. 

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

The Adsense code that you want to install should be parsed first here


<div expr:id='&quot;post1&quot; + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='&quot;post2&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;post1<data:post.id/>&quot;);
var obj1=document.getElementById(&quot;post2<data:post.id/>&quot;);
var s=obj1.innerHTML;
var t=s.substr(0,s.length/2);
var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);}
</script>

Below is the code 2 adsense ads in 1 post



<div expr:id='"post1" + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post2" + data:post.id'><data:post.body/></div>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post3" + data:post.id' />
&lt;script type='text/javascript'&gt;
var ads1=1/5;
var ads2=4/5;
var a=document.getElementById(&quot;post1<data:post.id/>&quot;);
var b=document.getElementById(&quot;post2<data:post.id/>&quot;);
var c=document.getElementById(&quot;post3<data:post.id/>&quot;);
var html=b.innerHTML;
var n=html.length;
var t=html.substr(0,n*ads1);
var i=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
var t2=html.substr(0,n*ads2);
var i2=t2.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(i&gt;0 &amp;&amp; i2&gt;0){
a.innerHTML=html.substr(0,i);
b.innerHTML=html.substr(i+4,i2);
c.innerHTML=html.substr(i2+4);
}&lt;/script&gt;

The red one is replaced with your Adsense code.

Now save your template done!

Okay so that I can say about How to Install Adsense Ads Above ,Below and centre of the Posts Blog Thank you for visiting, hopefully it will be useful for all of you.

How to Install Adsense Ads Above, Below and centre of the Blog Posts

How to Install Adsense Ads Above, Below and centre of the Blog Posts - To increase the impressions of google adsense ads, it would be nice to advertise above and below the article, remember not to disturb the readers of the article, by placing ads above and below can also increase revenue or increase the number of adsense clicks friend.

How to Install Adsense Ads Above, Below and centre of the Blog Posts

How to Install Adsense Ads Above and Below Blog Posts


First, you first enter Blogger > Themes > Edit HTML, find for this code <data:post.body/> usually like the code below.


<b:includable id='post' var='post'>
....
....
<data:post.body/>
....
....
</b:includable>

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

If you have found it, please add the conditional tag then it will be like the code below


<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>

So that the ad looks neat add the code as below.


<b:if cond='data:blog.pageType == "item"'>
<div class='ads.blogs>
<!-- Install the ad code here -->
</div>
<data:post.body/>
<div class='ads.blogs>
<!-- Install the ad code here -->
</div>
</b:if>

The last one adds the CSS code, copy the code below and paste it right above the code </head> .



<b:if cond='data:blog.pageType == "item"'> 
<style type='text/css'> .ads.blogs{margin:20px auto 0 auto} .ads.blogs{margin:20px auto} 
</style>
 </b:if>

If your getting error something please read article carefully

Now second How to ads centre of the post

How to Install Adsense Ads in the Middle of Article Posts
 - Google Adsense is an advertising service that is widely used by bloggers as well as me to get a little extra income, to increase Adsense income placement of ads is also influential from ads above articles and also under the article is very recommed and also not disturb your visitors later when reading your article.

Placement of Adsense ads in the middle of posts can also increase your Adsense impression with the condition of 400 words in 1 article so that the ads that are displayed are not close together and pleasing to the eye, Google Adsense has 2 types already know?

How to Install Adsense Ads in the Middle of Article Posts


How to Install Adsense Ads Above, Below and centre of the Blog Posts


First, you first enter Blogger > Themes > Edit HTML, click CRTL + F, look for the code <data: post.body/> then change with the code below. 

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

The Adsense code that you want to install should be parsed first here


<div expr:id='&quot;post1&quot; + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='&quot;post2&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;post1<data:post.id/>&quot;);
var obj1=document.getElementById(&quot;post2<data:post.id/>&quot;);
var s=obj1.innerHTML;
var t=s.substr(0,s.length/2);
var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);}
</script>

Below is the code 2 adsense ads in 1 post



<div expr:id='"post1" + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post2" + data:post.id'><data:post.body/></div>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post3" + data:post.id' />
&lt;script type='text/javascript'&gt;
var ads1=1/5;
var ads2=4/5;
var a=document.getElementById(&quot;post1<data:post.id/>&quot;);
var b=document.getElementById(&quot;post2<data:post.id/>&quot;);
var c=document.getElementById(&quot;post3<data:post.id/>&quot;);
var html=b.innerHTML;
var n=html.length;
var t=html.substr(0,n*ads1);
var i=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
var t2=html.substr(0,n*ads2);
var i2=t2.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(i&gt;0 &amp;&amp; i2&gt;0){
a.innerHTML=html.substr(0,i);
b.innerHTML=html.substr(i+4,i2);
c.innerHTML=html.substr(i2+4);
}&lt;/script&gt;

The red one is replaced with your Adsense code.

Now save your template done!

Okay so that I can say about How to Install Adsense Ads Above ,Below and centre of the Posts Blog Thank you for visiting, hopefully it will be useful for all of you.

Load Comments

Subscribe Our Newsletter