February 22, 2013

How to Insert AdSense Ads Between Your All Posts in Blogger

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.

55 comments:

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

    ReplyDelete
    Replies
    1. 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!

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

    ReplyDelete
    Replies
    1. 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.

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

    http://wartigertech.blogspot.com/

    ReplyDelete
  4. 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 ??

    ReplyDelete
    Replies
    1. 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.

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

    ReplyDelete
    Replies
    1. 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/

      Delete
  6. thanks to Mbl team


    http://www.probloggertricks.com

    ReplyDelete
  7. 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

    ReplyDelete
  8. 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

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

    http://vnews4u.com

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

    ReplyDelete
  11. 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).

    ReplyDelete
  12. 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 :)

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

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

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

    ReplyDelete
  16. 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.

    ReplyDelete
    Replies
    1. 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

      Delete
  17. 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..

    ReplyDelete
  18. Can this only work for adsense? What of chitika ads?

    ReplyDelete
    Replies
    1. 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!

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

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

      Delete
  20. Here is my blog
    Www.generallog.blogspot.com

    ReplyDelete
  21. What we have to put in google_ad_slot="xxxxxxxxxx";

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

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

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

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

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

    ReplyDelete
  27. 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/

    ReplyDelete
  28. How to use the code for placing a responsive ad??

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

    ReplyDelete
  30. 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.

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

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

    ReplyDelete
  33. 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

    ReplyDelete
  34. 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)

    ReplyDelete

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.