How to put Adsense ads on Blogger/Blogspot

If you want to earn money from your site/blog, Google Adsense is the most popular service to monetize your blog or website content. When implemented, Adsense will display targeted Google ads on your blog and they can generate revenue on either a per-click or per-impression basis.

In order to display ads on your site, you should first Sign Up to Google Adsense program.

Before adding your ads, keep in mind that Adsense allows only up to 3 ad units, 3 link units and 2 search boxes per page.

In this tutorial i will show you the three ways you can add Adsense ads to your blog.

1. Adsense Gadget

Use this method to add ad unit as a widget, in places outside the blog post area. You can position it by simply dragging it in Page Elements, just like any other widget. To add the Adsense Gadget, follow these steps:
Step 1. Log in to your Blogger Dashboard, go to Layout and click on the "Add a Gadget" link on the right side.

blogger layout, add a gadget

Step 2. From the pop-up window, select the AdSense Gadget

adsense gadget, blogger widgets

Step 3. Configure ad format and colors (see the screenshot for more details)

adsense format, adsense blogger

Step 4. Finally, click on the Save button and you're done.

2. Inline Ads

This will display an ad unit at the end of each post. To show ads between posts:

Step 1. Go to Design > Page Elements and click the Edit link in Blog Posts gadget box.

blogger posts, blogger layout

Step 2. Check the "Show Ads Between Posts" box.

show ads in blogger

Step 3. Configure ad frequency, ad format, and colors. Live preview is provided beneath the settings.

Step 4. Click on the Save button to save the settings.

3. Adsense code

The most notable benefits of using this method are:
  • You can place ad anywhere in your blog
  • You can add the code anywhere in your blog template - in your post content or page.
  • To find out which format perform the best, custom channels will help you to track the performance of specific groups of ad units.
  • You can choose types other than ad unit i.e. link unit, search box.

To create an ad unit:

Step 1. Go to Google Adsense website.
Step 2. Click on My ads tab, go to Ad units and then click on the "New ad unit" button.

Step 3. Choose your ad type, choose format and colors and assign channels.
Step 4. When you have finished editing, click on the Save and get code >> button and copy the code provided.

To add an ad unit to your blog, you have the following options:
  • Paste the code in a HTML/Javascript gadget
  • Paste the code in the blog post or page HTML section, or
  • Paste the code direct in your template. (if you choose this option, first you should convert adsense ad code)
If you have any more questions, leave a comment below.


  1. is it important to add a adsense ad unit after that i have added direct adsense widget.and ads are showing.can you plz explain that the adssense widget shows ads but in my adsense account i didn,t added any ad unit.and how i manage the adsense widget ads shown as they are not in my adsense account.

  2. thanks very nice post

  3. I added adsense between posts but it doesn't show. (I have 4 posts in homepage and want ad to show every 2 posts) and i verify using adsense in blogger today.

    ad size is smaller than my post width too.

    can you fix my problem? if you can, i'll appreciate.

  4. Thank you so much for the tutorial, and
    best wishes, from Advertising Agency Edinburgh :)

  5. thank you mans for help

  6. Hi helplogger!
    May i know how to add the adsense ads on my blog before the second review.... Can you explain in detail please... I have a doubt that should we click show ads between blog posts or should not click and just go to the adsense account and create a new ad unit... Can you please recover my doubt as soon as possible...Thank you...

  7. Can I add. Adsense to a blogspot blog , eg let's say ( without hosting it or getting a domain name???

  8. I use to do this, but I write content in my Language, Khmer letter. so can't not allow. so How can I do?

  9. nice blog ya!
    I am lucky
    My adsense application approved in 2 hours.
    Your article is helpful my blog.

  10. I have placed adsense ads by using the Adsense Gadget.
    and when i saw my blog as viewer it shows webpage is not available on ads.

  11. Thanks a lot, I am going to do it soon for my blog.

  12. hello plz tell me my problem is adsense ads are on my blog is blank and do not appear pl tell my how to fix that problem

    1. Anonymous4/14/2014

      it cause adsense are no longer support blogger anymore.

    2. You should wait for a while until the ads appear on your site. If you have implemented the script in the template, make sure that you first converted the code. For this you can use this tool.
      Sorry for the late reply!

  13. how much u earned from adsense

  14. I'm unable to keep my code in my blog even though I tried your steps.
    Can u plz help me out ?

  15. Hi, i don't want to use AdSense Widgets. I wanted to put HTML codes through Template, and i have put codes in some places, but don't know how to put in the middle of the post. You haven't told this. And, by the way, what is the best performing ad unit for you, in terms of size? Thank you.

  16. please tell me how show add on blogger

  17. my adsense account not working??? please help!!!

  18. Yeah, mine don't work either! I added via the HTML and AdSense widget from Blogger, but both show blank, even though I have already been AdSense approved. Any ideas?

  19. Hello,, actually i have custom domain and my adsense account is on other ID. How Can I ad add in top of content, between and below of content.

  20. I added the AdSense widget to my blog on Blogger and ad unit in AdSense. Do I need to do both these things to get ads on my blog? I also got an ad code. Where do I place the ad code on my blog?

    1. Sounds like you got the same problem as I have!

  21. wow .its very nice that i found this blog which solve my this problem .Thanx very nice and helpful.

  22. Hello,trying to add the adsense widget but the response i get is Please correct the errors on this form....any idea on what i should do? Thanks

  23. Hello, Thank for your post. I got Adsense approval for my Blogger I have three adds on my blogger, which are two is appears in right sidebar and one is below the post. My question is adds are not visible in my blogger and even i checked with Adsense add unit it was only new status. I do no what shall i do on next. Could you please help?


Although every comment is appreciated, due to an overwhelming amount of questions, I can no longer provide personalized help. Keep in mind that comments are moderated and may take some time to appear. All spam comments will be deleted. Thanks for understanding!