How to install Google Adsense ads in the middle of Blogger posts. Actually there have been many who discussed the trick. There are visitors to Seegatesite.com who ask me how to insert ads in the middle of article posts. I have made a similar article, however, it can only be applied to WordPress CMS.
The benefit of putting up Adsense ads in the middle of a post is increasing Google AdSense revenue with a higher number of click ratios and will attract more readers to see advertisements, because of the more strategic ad position.
Table of Contents
How to Install Adsense Ads in the Middle of Posts
To place an ad in the middle of a blogspot article, you only need to replace the specific code in the HTML template and replace it with the following code:
- Log in to the blogger account and select the blog to be edited, click the template menu, click the html edit button, then search for and replace the code with the following code12345678<div expr:id='"zet1" + data:post.id'/><div class='googleadz'><!-- pasang kode iklan yang telah diparse di sini --></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/3);var r=t.lastIndexOf("<br>");if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}</script>
- Add the following CSS code so that the ad becomes neat before the code ]]> or1.googleadz{margin:15px auto;text-align:center}
- Save the template and see the results
You can install ad code other than Google Adsense by the above method.
Another article : Optimize Blog To Make Adsense Ads More Relevant With Your Content
Thanks Sigit Prasetya Nugroho, your blog is superb and i really enjoyed to read this blog. Thumbs up!!
Thax sir for sharing good knowledge