Placing Ad Units in the Middle of Blog Posts will give you High CTR and more exposure from Visitors, Which will also eventually increases your Earnings.In WordPress, there are many Ready to use Plugins for Adding Ads inside or Middle of Posts. But to add Ads in the middle of Posts in Blogger is a bit tricky task.
Today in this Article, I’m sharing a Custom developed Script for Blogger, By which you can actually Show Ads in Middle of Posts in Blogger.It is completely easy to use, all you want to do is to Replace an existing code from your Template with the below given Code.
How to Place Ads in Middle Of Post Blogger
You can use Ctrl+F function to launch Search Box inside Template Editor
You will find this code multiple times in your Template, You have to select second or Last occurance of the same code.
Step 3: Replace the above Code with the below Code.
<b:if cond='data:blog.pageType == "item"'>
Place Your Ad Code Here
var substr = str1.substring(str3, str2);
var n = substr.search("<br>");
n = substr.indexOf('.');
var firsthalf = str1.substring(0, str3+n+1);
var secondhalf = str1.substring(str3+n+1, str2);
var firsthalf = str1.substring(0, str3+n+4);
var secondhalf = str1.substring(str3+n+4, str2);
var strnew=document.getElementsByClassName("post-body entry-content");
Step 4: Replace “Place Your Ad Code Here” with your AdSense Ad code.
If you are facing any problem let us know, Comment down Below your Doubts. 🙂
Check: A Complete Guide to Optimize Google Ads and Maximize your AdSense Earnings
Top 5 Most Paying URL Shortener Sites to Make Money Online
How to Get A Website/Blog Approved and Listed in Google News Tips & Tricks
How To Setup AdSense Page-level Ads in WordPress & Blogger Blogs?
- Google Play’s “Best Of 2016” – Apps,Games, Movies And More - December 3, 2016
- Jio Happy New Year Offer – Offer Till March 2017 - December 1, 2016
- 10 Best Free Apps To Make Free Calls On Android - November 29, 2016
- How to Root/Unroot Android Device In One Click Without PC - November 25, 2016
- How To Run 2 WhatsApp, FB, Messenger, etc in a Single Android Phone – No Root - November 25, 2016
- How To Install WordPress On Your Windows PC/Laptop - November 23, 2016
- Create WhatsApp Account with U.S Number(+1) – Working Method - November 22, 2016
- How To Call Anyone With Any Number – 100% Working - November 13, 2016
- Maximum Allowed AdSense Ad Units on a Web Page [Update] - November 12, 2016
- 10+ Cool Things You Can Do With An OTG Cable on Your Phone - November 5, 2016