Actually there are very many articles that discuss the installation of Adsense ads in the middle of the article. Since we haven't discussed it, it's okay, while I'm not working, it's better to fill it in with sharing.
The benefits of advertising in the middle of this post is very good for increasing the income of Google Adsense friends with very high click ratios and advertisements in articles usually attract the interest of readers because of the strategic position of the ad. go ahead Installing Adsense Ads in the Middle of Articles.
The benefits of advertising in the middle of this post is very good for increasing the income of Google Adsense friends with very high click ratios and advertisements in articles usually attract the interest of readers because of the strategic position of the ad. go ahead Installing Adsense Ads in the Middle of Articles.
Installing Google Adsense Ads in the Middle of Articles
Here you only need to change the specific code in the template. well, more clearly follow the following guidelines.
Go to the blog Dasboard> Template> Edit HTML
Search for code <data: posts.body />
Change the code with the code below.
<div expr:id='"zet1" + data:post.id'/>
<div class='googlezet'>
<!-- post the ad code -->
</div>
<div expr:id='"zet2" + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>
var obj0=document.getElementById("zet1<data:post.id/>");var obj1=document.getElementById("zet2<data:post.id/>");var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf("<br>");if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
Note: if there are multiple <data: post.body /> then try changing one by one until the ad appears in the middle of the article.
Next so that the ad appears neat and flat in the middle of the article, enter the CSS below above ]]> </ b: skin>
That's how installing Adsense ads in the middle of the article . Hopefully useful
Next so that the ad appears neat and flat in the middle of the article, enter the CSS below above ]]> </ b: skin>
.googlezet{margin:15px auto;text-align:center}
Save the template and see the results ... That's how installing Adsense ads in the middle of the article . Hopefully useful
Comments
Post a Comment