How to Insert AdSense Ads Between Your All Posts in Blogger

Advertisements
Inserting AdSense between your Posts is certainly a boring and time consuming job for a hyperactive blogger. Though, you can easily insert AdSense coding within the post’s content but what would happen if in case your AdSense account gets ban or hijacked? It would be a frustrating job to edit your all 2000+ articles with new Ad coding. For that reason, we have developed a jQuery plugin which would offer a much quicker and flexible way to insert Ads units or any other Private advertisement into your all blog post.  Therefore, today in this article, we will show you how to add AdSense Ads between Your All Posts in Blogger?

This jQuery plugin would help you to add AdSense ad unit between your all posts. However, in case your account gets ban, then you can remove them from your all the posts within seconds.  It has flexible and easy to use options that would help you to customize your ad units i.e. changing the Publisher ID, Ad Slot ID, adjusting the Widget/Height and etc.

Why to Insert AdSense between Your All Posts?

Placing AdSense ad units just after the few paragraphs of your articles would help you to maximize your earning potentials. Just think, your visitors give most of their attentions to which element on your blog? It’s not your Header, footer, sidebar not even your commenting box. Visitor only lands on your website for the sake of reading your content, so having a small Ad just between your articles would certainly increase your CTR as well as earning percentage. 

People always criticize AdSense for not providing them High click through rates. They always complain that their earning is fairly lower than their potentials. However, it is due to the lack of optimization. Therefore, it is essential that you utilize such spots i.e. between posts that could increase your earning opportunities. 

How To Insert Google AdSense Between All Posts in Blogger?

At first, we have to install the jQuery Plugin which would display the advertisements between each and every post no matter whether they are old or new because the plugin works quite brilliantly. Go to Blogger.com >> Your Site >> Template >> Edit HTML >> Proceed and, within the coding search for <body> Tag. After finding the <body> tag, just below it paste the following jQuery Coding. Remember: Do not forget to insert your Publisher ID as well as Ad slot ID from the following coding.

<b:if cond='data:blog.pageType == "item"'>

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js' type='text/javascript'></script>

<div style="display: none; float:center;">
<div id="MBL-Ads">
<br/><center>
<script type='text/javascript'>
      google_ad_client="pub-xxxxxxxxxxxxxxxx";
      google_ad_slot="xxxxxxxxxx";
      google_ad_width=468;
      google_ad_height=60;

</script>

<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'></script>
<br/></center>
</div>
</div>

<script>
$(document).ready(function(){
  jQuery('#MBL-Ads').appendTo(jQuery('a[name="more"]'));
    });
</script>

</b:if>

All done: After customizing the Ad code according to your needs just press the orange "Save Template" button to conclude. 

Congratulations: You have successfully added Adsense in the middle of your postsNow visit your Blog's post pages and you will be able to see Google's ads units right in the middle of your post's content. 

Frequently Asked Questions:


1. Why Ads are not appearing between my all Posts?
The whole plugin revolves around a modest Jquery, so probably the JavaScript files are conflicting with each other. The second reason, you might be using a template that has Automatic Post Summery with Thumbnail Plugin, that does not require to insert page break or jump break it automatically creates a summary of your content and displays it on the homepage. Since, you do not use the page break or jump break tool, so that could be the reason why the ads are not displaying properly. The solution to this problem is quite straightforward. Manually add Page break or Jump break in your posts and it would start displaying the AdSense advertisements right after the jump break line.

2. Do I need to insert Ads unit every time While writing a new Post?
While writing a new article, there is no need to insert the ad unit manually because the plugin would automatically display the advertisements within your article. However, do not forget to use the Page Break tool otherwise the ads may not appear.

3. Where is Page Break or Jump Break Tool?
The page jump break can be accessed from Post Editor. It appears in the tool bar. We have attached a screenshot below so you can easily recognize the Jump Break tool.

4. What to do only Blank Spaces are Appearing?
The browser history (cache) is causing the problem just Press CTRL+F5 to refresh the page or restart your browser and everything would start working in a systematic manner.
Advertisements

The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).

Comment With:
OR
Choose Wisely!

55 comments

February 22, 2013 at 2:38 AM

Great Idea Syed. I think this post will go Viral.

February 22, 2013 at 3:09 AM

This is a great trick but why it will not work with automatic post summary plug in? :(

Editorial Team MOD
February 22, 2013 at 3:13 AM

It would also Work with Automatic Post Summaries Plugin but You have to Insert "JUMP" Break in your posts. As we have mentioned in the post when you have auto Summary Plugin installed, users don't utilize the "Jump break" button.

Since the whole plugin shows ads just after the "Jump Break" so its essential to add them while writing your articles.

Hope that helps.

Editorial Team MOD
February 22, 2013 at 3:15 AM

Indeed, because the idea is innovative and Bloggers were anxiously waiting for something that could Double their Adsense income and this plugin is exactly what they wanted.

Do Share it with your friends Mate!

February 22, 2013 at 6:01 AM

This What I am Searching For ..
Thanks Alot ..

http://wartigertech.blogspot.com/

February 22, 2013 at 7:11 AM

Amazing Plugin Faizan i have some doubt am i allowed to change the size of adsense or i have to stick with 468*60 unit size ??

February 22, 2013 at 8:11 AM

Dude, any similar for wordpress? And right Sri Ram, that's going to be crazzy!!!

February 22, 2013 at 9:10 AM

thanks to Mbl team


http://www.probloggertricks.com

Editorial Team MOD
February 22, 2013 at 12:30 PM

Yeah in WordPress we have Easy to use Plugins like "Quick Adsense". I have mentioned the URL Below so you can easily try it out. Peace

http://wordpress.org/extend/plugins/quick-adsense/

Editorial Team MOD
February 22, 2013 at 12:32 PM

We would recommend you to use 468*60 unit size but if you want a bigger one then you can simply increase its width manually.

February 22, 2013 at 2:08 PM

This is really a superb jQuery code that helps me to increase my adsense revenue. Dear I want to ask you something. I have an adsense account can I use my ads on a new blog. Please check my new blog and then suggest me what should I do.
Blogger Tips Tricks

February 22, 2013 at 4:21 PM

Thank you :D

February 25, 2013 at 1:37 AM

Hi Syed, I guess Blogger before had the featured to add Adsense ads in between articles on the homepage by default. But, I guess it's not available now, as I have not used Blogger since very long. Anyways, thanks for the tutorial.

PrIyAnGsHu
Money Earning Methods

February 25, 2013 at 5:45 AM

is it Risky?

Editorial Team MOD
February 25, 2013 at 8:25 AM

No There is no Risk.

February 28, 2013 at 6:10 AM

is it highly possible for google to ban our account by using this technique??

http://vnews4u.com

March 14, 2013 at 5:56 AM

I Dont Think So .. :PP

March 25, 2013 at 12:00 AM

Man you're the best expert boy alive for blogger.

Editorial Team MOD
March 25, 2013 at 1:55 AM

No you Won't,

April 23, 2013 at 7:15 PM

Why such ventures were not tried earlier.

May 17, 2013 at 4:06 AM

Thank u

May 30, 2013 at 5:38 AM

This is bad for two main reasons (i) using display: none to hide ads is against AdSense TOS (ii) when you use jQuery/DOM to move AdSense ads most browsers will fetch the iframe content again; inflating the number of ad requests which is also bad (this too is against AdSense TOS and also screws the stats).

July 7, 2013 at 1:59 PM

Its working for thanks for the great post i solved my biggest problem and one thing i want to sharing button also show on my post below title how to please also help me about this :)

July 8, 2013 at 7:00 AM

Is this against Adsens Policy?????

July 11, 2013 at 10:38 AM

finally done :)
After a long search for the perfect way
subscribed !

Editorial Team MOD
July 11, 2013 at 1:08 PM

Nope, its not

July 21, 2013 at 11:29 AM

thanks this is what i was looking for.
http://plamerze.blogspot.com/

July 31, 2013 at 9:36 PM

I have tried for many times but don't know why it is not working on my site :(

July 31, 2013 at 9:52 PM

If i use add manually on every post there is any problem? I ask you because i tried many time by edit template but i failed.

Editorial Team MOD
August 1, 2013 at 8:44 AM

Yes. You can add it manually but after adding code to my posts. You cannot change it you have to edit all the posts. Again

Anonymous
August 1, 2013 at 10:53 PM

Refering to the comment from SALMAN ARSHAD above,He is definitely right above this code leading to inflated ads request.I am using this code above since it was released by Syed and while my adsense has not been banned by google,The number of ad requests have been inflated for the particular code i am using this workaround with compared to other adsense codes in my adsense account stats..which is very bad..I suggest the Admin looks into this and make necessary corrections..

August 12, 2013 at 9:32 PM

Can this only work for adsense? What of chitika ads?

Editorial Team MOD
August 12, 2013 at 11:05 PM

Just Replace your Chikita Ad Code with this

<script type='text/javascript'>
google_ad_client="pub-xxxxxxxxxxxxxxxx";
google_ad_slot="xxxxxxxxxx";
google_ad_width=468;
google_ad_height=60;
</script>

<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'></script>

And It would start displaying, Chikita Ads. Cheers!

September 13, 2013 at 9:36 PM

Syed after I added this Desktop showing ads but my smatphone not even displaying post containing this jquery adsense ad

September 13, 2013 at 9:37 PM

Here is my blog
Www.generallog.blogspot.com

Editorial Team MOD
September 15, 2013 at 3:31 PM

You need to disable Mobile Version of your site then it will show up to the mobile users. !

September 17, 2013 at 1:48 PM

what is gogole slot id???

Editorial Team MOD
September 20, 2013 at 12:12 AM

It is present in your Google Adsense Ad Code.

September 21, 2013 at 2:46 AM

How to do it with qadabra ads

January 11, 2014 at 1:11 AM

What we have to put in google_ad_slot="xxxxxxxxxx";

Editorial Team MOD
January 11, 2014 at 8:08 AM

Your Ad Slot id, you get while creating your ad.

April 21, 2014 at 1:07 AM

Could you make same code for chitika ads I really appreciate you work

June 26, 2014 at 11:36 PM

Wow! Faizan bhai It worked thanks a lot..! :)

September 25, 2014 at 10:00 PM

Thanks for sharing this one Faizan, I am now implementing this on my blog and has ads on all post.

January 22, 2015 at 1:38 PM

Am alread looking for this before i found it here, nice sharing

March 2, 2015 at 8:34 AM

hello can you also tell me how to add floating subscriber wideget same as your blog??

May 10, 2015 at 12:25 AM

I was looking for it from so many days. Thanks for writing this article and sharing it with us. :)

My Blog : http://www.eazytricks.com/

September 28, 2015 at 2:17 AM

How to use the code for placing a responsive ad??

December 13, 2015 at 2:59 AM

Hey syed I placed my adsense ad code but nothing shows my BLog is www.allusefultricks.com

January 18, 2016 at 2:20 AM

Hi there,

I am using this method to display custom size ad on my blog it is fine, recently I decided to show responsive ad using the same, but It didn't work.

February 4, 2016 at 7:18 AM

it really works on my blog.http://mylibrarynu.blogspot.com/

February 16, 2016 at 6:50 AM

is there any way to dsplay a text "advertisement" before ad?
Thanks a lot for tutorial!

May 27, 2016 at 8:30 AM

With Gain Credit Personal Loans, you can get instant loan/money for a wide range of your personal needs like renovation of your home, marriage in the family, a family holiday, your child's education, buying a house, medical expenses or any other emergencies. With minimum documentation, you can now avail a personal loan at attractive 3% interest rates. This is trust and honest loans which you will not regret, Contact us via Email: gaincreditloan01@gmail.com

Your Full Details:
Full Name. . .. . .. . .. . .. . .
Loan Amount Needed. . ...
Loan Duration. . .. . .. . .. . .
Phone Number. . .. . .. . ..
Applied before. . .. . .. . ..
Country. . .. . .
Email Us: gaincreditloan01@gmail.com

August 26, 2016 at 6:31 AM

Okay.. But could you point me to a post where I can have my ads showing on the homepage of my blog (along with other post)

December 20, 2016 at 10:12 AM

very nice

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Helping You to do Cool Things With Blogger Since 2012™.

© Copyright 2012 - 2018. MBL Networks, All Rights are Strictly Reserved.