Mega Empire Global Investments

How To Place Adsense ad In Middle Of Post, Below Post Title and Below Post Body Automatically On Blogger

Today l want to write a tutorial on How To Place Adsense ad In Middle, Below Post Title and Below Post Body Automatically On Blogger.

These are great places you can place your AdSense ads to increase your AdSense earning potential dramatically.

Placing AdSense ads in middle, below post title, and below post, the body is very important because these are the most used places your blog users frequently move around on.

They increase the CTR of your Adsense earning power thereby increasing your AdSense earning.

This tutorial is a tricky one but with little effort, you can achieve a great return on your earning.

Blogger HTML does not have plugins for placing AdSense ads on some basic area of our blog.

But with the help of some important scripts, we can achieve our aims.

Without wasting much of your time lets see the process of placing AdSense ads on middle, below post title and below post body below.

How To Place Adsense Ads  Automatically In Middle, below post title and below post body of All Your Posts In Blogger :

How To Place Adsense ad On Middle Of Post, Below Post Title and Below Post Body Automatically On Blogger

Step 1:

Login to Your Blogger Account

But first, make sure you backup your blogger template so you can easily restore it if any error occurs on the process of implementation.

Go to Template >> Edit HTML

If you're using your Smartphone to edit your blogger source code then use this
best source code editor for Android.

Step 2:

Search For Below Code in your template.


When you search for the code you will get multiple codes that are similar to the above code.

So we will use some trick to find the particular code that will work perfectly.

When you search for that code look for the one that has the below code above it.

This  way:

<div class='post-body entry-content' expr:id='&quot;post-body-&quot; +'>


Or that's close to SHARE BUTTON and RELATED POST this the best option.

If it appears more than once use the second one or try the two.Step 3:

Note: it works with all ad format when you implement it and the ad is not showing give it the time it will show up.

Replace The above Code In Red With The Below Code.

<div id='jobmiddlenew'> Place Your Ad Code Here
<data:post.body/> </div>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style> #addcodemiddle{display: none;} </style>
<div id='addcodemiddle'> Place Your Ad Code Here </div>
<script type='text/javascript'> var str1=document.getElementById(&quot;jobmiddlenew&quot;).innerHTML; var str2=str1.length; var str3=str2/2; var substr = str1.substring(str3, str2); var n =;&lt;br&gt;&quot;); if(n&lt;0) { n = substr.indexOf('.'); if(n&lt;0) { n=0; } var firsthalf = str1.substring(0, str3+n+1); var secondhalf = str1.substring(str3+n+1, str2); } else { var firsthalf = str1.substring(0, str3+n+4); var secondhalf = str1.substring(str3+n+4, str2); } var addcode=&quot;<center>&quot;+document.getElementById(&quot;addcodemiddle&quot;).innerHTML+&quot;</center><br/>&quot;; var newbody=firsthalf+addcode+secondhalf; var strnew=document.getElementsByClassName(&quot;post-body entry-content&quot;); strnew[0].innerHTML=newbody; document.getElementById(&quot;addcodemiddle&quot;).innerHTML=&quot;&quot;; </script>
</b:if>Place Your Ad Code Here

Step 4:

Remember to parse your AdSense codes before placing them where it's required.

Replace The Place Your Ad Code Here Text With Your Adsense Ad Parsed Code in the above code and save your template.

If you try this trick and it helped you achieve your aim please do share it on social media for others to benefit too because there's love in sharing and also leave feedback on the comment box below thanks.

Share This

Author: My name is Omeh Collins Ogbonna am a passionate Blogger who wants to Help The World Through Technology by Solving, giving out Useful and Valuable information using my blog as the great and unique medium. We provides all Tech / Telecommunication services, How To Make Money Online, free/Cheap Datas, Andriod Smartphones, Games, 9Mobile, Tech news, iPhones, Phone Review, ICT Issues, Free Tutorials. etc. You can Contact Me or join my Social media platforms. We welcome everybody from all around the World. love you all.

Mega Empire Global Investments
Join Our Free Newsletter
Sociliaze with Us
Next Post »


Click here for Comments
13:07 ×

Helped me a lot. thanks for sharing.

16:53 ×

Your welcome PabanZone am glad it helped you out.

01:22 ×

Primary education in Nigeria

06:21 ×

I checked your profile and noticed you blog about primary education in Nigeria that's great keep it up.

06:23 ×

I checked your profile and noticed you blog about primary education in Nigeria that's great keep it up.


Thank You For Sharing Your Feedback, We're Happy You're Here, Because We Love To Help Others. I appreciate your comments. ConversionConversion EmoticonEmoticon


Follow me on Blogarama Discover latest Indian Blogs GenieRank
Protected by Copyscape