How To Add Google Adsense To Your Blogger Blog

Incorporating Google Adsense into wordpress is quite as easy as copy and paste the code into your theme’s template or use  a plug-in but in Blogger blogs it’s quite tricky but this post makes it easy.



Step1

Simply log into your Google Analytics account and create the ad you want to display on your Blogger blog. Copy the code and make it compatible with Blogger by using Postable.

posta

In postable all you have to do is paste the adsense code then click on make it friendly and the code will be automatically transformed to one that’s compatible with blogger.

Step 2

Open notepad and paste your modified Google adsense code. Now before this code paste <b:if cond=’data:blog.pageType == &quot;item&quot;’> and immediately after the code paste </b:if>.

The idea is for your code to appear like this

<b:if cond=’data:blog.pageType == &quot;item&quot;’>
Modified Adsense Code here
</b:if>

By placing the modified adsense code between the green pieces of code, your adsense ads will ONLY be visible when you visit a blog post. Your ads will NEVER appear on the home page.

Step 3

Simply log into your Blogger dashboard and click on Layout.

image46

Under Layout select Edit Html.

image106

When the HTML editing page opens, back up your template by clicking on Download Full Template.

image_thumb77

With that out of the way, click on expand widget templates and wait for the page to reload.

Now search for the code: <data:post.body/>.

If you want your ad to appear before your post, you must paste the adsense code before this code and if you want your ad to appear after the post, you must paste the adsense code after this code.

Save your template and you’re good to go. Simply check a post on your blog to see this action.

If you encounter any problems do let me know and I’ll try and help out. Let me know how it goes for you by commenting below.

P.S: If Postable is not functioning you can also use Adsense Ad Code Converter to make your Google adsense code blogger compatible.

Thanks to Rahul Jadhav of Cool Tricks & Tips for this tutorial.




Follow Us On Twitter, Facebook and Google + and Leave A Comment Below










5 Comments so far. Leave Yours Below

If you want to ask a question regarding anything, do please make use of the floating search bar at the bottom of this site. If you don't find what you're looking for, then feel free to ask your question

ALL COMMENTS WITH KEYWORDS AS NAMES WILL BE DELETED! TAKE NOTE!


Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


  1. I love this post. very instructive and useful

  2. This kind of advice will be helpful for many bloggers looking to make money online.

  3. Hey buddy thanks for mentioning my blog in your post

    • Thanks for stopping by. I was just showing some link love you know. It is a fantastic post and it helped me a lot during my blogger days though I’ve moved to self hosted wordpress now as it allows me much freedom.

  4. Ebuka says:

    This post is amazing.