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.


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


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

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

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.


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.

ManiVasagaM said...

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

Harish said...

Hi, I Saw Your Link in Bing.com I Love Your Blogs Kindly See my Link Here a New Alternative Money Making Network min payout of $10 only adsense here

Anonymous said...

Hi, Some one from facebook refereed your link i have book marked it nice blogs you write see Free Adwords Voucher here

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

Kattey Spares said...

Adsense help!

Nice Blog.

Blogger said...

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

Blogger said...

Quantum Binary Signals

Get professional trading signals sent to your mobile phone daily.

Follow our signals NOW & earn up to 270% per day.