How to add 3 google adsense code in blogger

How to add 3 adsense code in your blogger posts

Copyright © 2017 sound on mike.This time soundonmike will create an article on how to add 3 google adsense code in blogger posts. But this time I will give it just for the user theme of the blogspot both the latest themes and premium themes not for wordpress theme or website.

How to add google adsense code in blogger

Ad placement is one way to optimize your adsense earnings. With a correct and good placement it is expected to get more clicks on adsense ads so it will get a maximum revenue as well.

As we have seen, for the latest blogger theme users, adsense ads will only appear inarticles if we have installed the script code that I will share later.Because the latest blogger theme has a default position under the article post and can not display ads under the title and middle post .

After you install this script then there will be 4 ads in your post. Below the title of the article, the middle or middle of the article and the end of the article. However for premium theme users this script will be able to display 3 ads in your post.

Well, let's get started then...

How to install 3 adsense code in blogger post

The trick is very easy,you just have to copy the script code below.This code eventualy works on every kind of blogger theme,and it was a great one of you use this as your script on your blogger theme.


<div style='margin-bottom:15px;'>
<center>
Your Adsense ad code
</center>
</div>
<div expr:id='&quot;post1&quot; + data:post.id'/>
<div class='googlepublisherads' style='margin:15px 0'>
<center>
Your Adsense ad code
</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>
<div style='margin-top:15px'>
<center>
Your Adsense ad code
</center>
</div>

For contempo theme:

You just have to replace the code of 
<data:post.body/>
Because the contempo theme only has 1 code of post.body.

For noteable theme

You can change the second code of
<data:post.body/> code.

For a premium theme

just find the code of <data:post.body/>
which is adjacent to the code <b:includable id='postBody' var='post'> 
Well ... easy is not it?

Note:
You can change the word "Your Adsense ad code" with your own adsense code that has been parsed earlier. The 2nd number serves as an indicator of the middle ad position, you can change its position by replacing the number 2 with the numbers 1 to 5.The greater the number the more up the ad position in the middle of your article.

Just do some experiment on placing the type of ad code from various ad models available in your account. To find the maximum click and cpc results, choosing the right type of ads and placements can increase your adsense revenue later.

Hope it useful.


share this article to :

Comments

LAGI NAIK DAUN

RAGAM JENIS JACK AUDIO