Tuesday, 4 March 2008

How to add Google AdSense to each post in Blogger blog

You need to put Google AdSense to each post in your Blogger blog, if you want to earn money on your blog. Google AdSense is a perfect way to earn money. It is a banner with contextual links. You can add Google AdSense by using Blogger Widgets, but using them - you can add your banner just on your sidebar, before, after or between posts.

Do you know that the best place for Google AdSense ads is in the post and it must be wrapped around the text? Now you know. This tutorial will show you how to add Google AdSense to each post in your Blogger blog and make it wrapped around the text:

1. First of all you need to have Google AdSense account.

2. After registration go to your Blogger Dashboard, click on 'Layouts', after that, click on 'Edit HTML'.

3. Backup your Template by clicking on 'Download Full Template'.

4. Click on Expand Widget Templates checkbox.

expand-widget-templates  

5. Find  the following line in the HTML code in the text box:

<data:post.body/>

6. Now put the following code BEFORE <data:post.body/>:

<b:if cond='data:blog.pageType == "item"'>
<div id='googleadsense'>
</div>
</b:if>

7. Now you need to put your parsed Google AdSense banner code between <div id='googleadsense'> and </div>

( to make your Google Adsense banner code Parsed, you need to change all '<' to &lt; and '>' to &gt;        it is easy to do with this tool - google adsense parser - just follow the instruction.)

8. Now you need to add new CSS style for your banner,  search for

]]></b:skin> and put following code BEFORE it:

#googleadsense {

float:left;       /*  write 'right' , if you want to have ads from the right side*/
}

9. Save your template.

12 comments:

savry said...

thanks for this post

anon408 said...

How do I get this to stay at the bottom of the post?

Anonymous said...

Thank You very much. I got lot help from you.

Rock said...

Very good article.

Unknown said...

It's not working,ads are there as it was..no effect..
Do i need to remove old displayed code before applying this?

Rolling BackPacks N Stuff said...

So freakin cool. It worked my first time around. Thanks:)

Free Softwares Download said...

its really helpful to me... thanks man

Just Been Paid Review said...

It works!! THANKS SO MUCH!

Anonymous said...

Thnx http://www.20poundsamonth.com so much for your comment, keep it up writing the exact same stuff, I http://www.fightfatusa.com would certainly be keen to read more of you.

way2read said...

very helpful website and very informative content

sam said...

nyc one....... i am surely gonna try it out on my site.... http://www.galaxy-samsung.in

Blogger said...

Find out how THOUSAND of individuals like YOU are earning their LIVING by staying home and are living their dreams right NOW.
GET FREE ACCESS NOW