Welcome to another edition of our tutorial. I know many people would have been searching the net on how they can show ads in the middle of every posts on their blog. You are welcome, cause I will be showing you the trick to do this.
Today i will share a simple but effective tips for all of my visitors and readers on how to add Adsense or any other ads in the middle of blogger posts. There are lot of tutorial about this but my code help you to show it automatically in all of your posts. So, do you want to increase your earning revenue, want to increase your click rate, follow this tutorial appropriately.
How to Add Adsense or Any Ads In the Middle of Blogger Posts
1). Login to your blogger account and select the blog you want to edit.
2). Go to Theme and click on
Edit HTML .
3). Click anywhere inside the code area.
4). Press Ctrl+F from keyboard to open a search bar.
5). Now search for this code highlighted and replace this code in your template with the below code;
var obj0=document.getElementById(“mad1”);var obj1=document.getElementById(“mad2”);var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf(“
Note: Inside of your template, you will find code multiple time depending on the template used, try one by one until the ad appears on the article page.
Customize: Replace in the code above with your adsense or any other kind of ad code.
6). Click on Save theme and see the result.
Hope this is helpful and you get it right? Don’t forget to drop your testimonies and comment if you have any difficulties about this article.