How to put Ads Adsense in The Middle of blogger Blog post
Table of Contents
One Of the best you can place in the middle blog post content.
Related: loading
The solution use java script because blogger doesn't have option for publisher to place in the middle but now google offers auto ads if you want simple for placement using robot machine for identification what area much more clicks adsense ads your blogger or blog so increasing adsense earning.If you want to manual place without using auto ads you can use ad code what i write just remove <data:post.body/>, there are two if you want in moble the first and for desktop is the second and paste the code. Before you put adsense code you need parsing tool. If you didn't parse it showing error. This for parsing adsense code.
<!-- Adsense in the middle https://blogtarget1.blogspot.com --><div expr:id='"target1" + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
Your Adsense code here
</div>
<div expr:id='"target2" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>
var obj0=document.getElementById("target1<data:post.id/>");
var obj1=document.getElementById("target2<data:post.id/>");
var s=obj1.innerHTML;
var t=s.substr(0,s.length/2);
var r=t.lastIndexOf(" ");
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1);}
</script><!-- Adsense in the middle https://blotarget1.blogspot.com -->
Post a Comment