How To Add AdSense Ads in Middle of Post on Blogger

1 Star2 Stars3 Stars4 Stars5 Stars (Click to Rate)
Loading...

I know you’ve been searching for how to add AdSense ads in middle of your blog on blogger. I remember those days when my blog used to be on blogger/blogspot it wasn’t easy cos one had to always be working on template every now and then. I actually enjoyed using blogger but after a while, I felt it was high time I moved on and that’s what brought about my migration to WordPress. 

ALSO READ:  7 Things To Know About Blogging

Even though I’m currently on WordPress, I’ve still got vast knowledge of blogger and I’d be helping fellows who are still on blogger with some tutorials to guide and make blogging easy for them.

Yeah I’d be showing you guys how to add AdSense codes in middle of post on Blogger. It’s not really as difficult as you guys think, when I did it on my blogger blog, I was just like “wow, so this stuff is even easy”. The thing is if you’re on WordPress, you don’t have to go through all these stress all you have to do is install a plugin, insert your AdSense codes and you’re done. To do so, follow the guide below:

ALSO READ:  How To Make Money As An Entertainment Blogger In Nigeria

Enter Your Email Address To Receive Free Updates!!!

How To Insert Ads into Middle of Post Content

Adding AdSense codes into Blogger template

First of all backup your template before you make any changes.

1. Now search for this code <data:post.body/> in your Blogger template and replace it with the code below –

<div id="PostBody"><data:post.body/></div><div id="AdCode"><div style='margin:5px 0;text-align:center;clear:both;'><!-- Ad Unit Code Here --></div></div>

Most times you’d find this code appearing more than once like 2 or 3 times. We’ve found out that the 2nd one is most times the right code

2. Now search for closing </body> tag and put the code below above it.

<b:if cond='data:blog.pageType == &quot;item&quot;'><script>$AdCode = $("#AdCode").html();$("#PostBody br:lt(1)").replaceWith($AdCode);$("#AdCode").remove();</script></b:if>

3. Save the changes you’ve made in Blogger and watch your AdSense ads appear in the middle of your blog posts.

Easy wasn’t it? We’d still be dropping more of blogger and WordPress tutorials to guide you all.

Get Our Hottest Updates via SMS. Kindly SMS FOLLOW GURUBASICS to 40404. On Any Network. It Is Totally FREE. Download Our Android App From HERE
To Submit Your Guest Post Or Sponsored Article, Enter HERE. Click HERE To Our Join Telegram Group
wizytechs blog-bg
Subscribe To My YouTube Channel For Latest Football Gameplay Videos... Click HERE
Join GuruBasics Telegram Channel For your latest free browsing cheat, tech news, phone reviews, tutorials and many more by clicking HERE
Download Our Android App HERE
1 Star2 Stars3 Stars4 Stars5 Stars (Click to Rate)
Loading...

Enter Your Email Address To Receive Free Updates!!!

3 Comments

Add a Comment
  1. that’s the best way for a blog advert..a visitor can get to click an ads and reading post at d same time

  2. Alright, another nice peace of article here.

  3. Thanks this very important to bloggers, visitors will really appreciate this @tony

Leave a Reply

Your email address will not be published. Required fields are marked *

GuruBasics © 2018 Frontier Theme