Blogger + Adsense Hack: Show ads after each post to earn more from your blogger beta blog!

Update: Blogger allows this officially now. Check this guide for easier instructions.


This trick surprisingly increased my earnings 4 times from last few days! I have modified my blog code to put adsense ads between post title and post body!
Well this kind of ad placement will surely result in higher payout! But I’m demonstrating how to do that for blogger beta only! You can apply similar hack for other blogging platform! Google for help… πŸ˜‰

#Steps for placing ads in every post!
1. Log in to your blogger beta account!
2. From your dashboard, click on “Layout”
3. Next click “Edit HTML”
4. Now CheckExpand Widget Templates” (by default it is unchecked)
5. Now search for post.body in codes. (Better use your browsers built-in search feature)
6. By default it should appear in your layout code only for once and you should reach the line…

<p><data:post.body></data:post.body></p>

  1. Now if you want to put your adsense codes between post title and post body paste it above the line you found in step 6 or below the line to show ads after posts!
  2. Wait its not over yet! You have to modify adsense codes a little-bit. But don’t worry about the TOS as this modification will not be visible after template gets saved. (In-fact I’m doing this only)
  3. Your Google Adsense Codes will have following lines!

<script> type=’text/javascript’><!–
…..
//–>
</script>

just replace highlighted < with &lt; and > with &gt;
If you have any doubt about this please read note at the end!
10. Its time to hit preview button! πŸ™‚

#Tips: Using Blend template for Adsense!
From day one, I have been using Blend template for Google Adsense. But in above hack you must use that! I feel so because your ads will appear in every post and end-user experience may degrade if your color scheme is annoying!

#Note: How modification to the Adsense code is not against its TOS?
First you can open your blog and cross-check its source code using browsers “view source” option to see Adsense Codes back to what you have got!
Now if you know about HTML then in HTML language, we just used HTML Character Entities.
What gets stored in blogger database is actual code!
So don’t worry be happy & rich πŸ˜‰

Related Posts:

112 Comments

abhishek bhatnagar April 16, 2007

thanks rahul…this one is really helpfull.

Rahul Bansal April 17, 2007

@Abhishek
thanks for givin it try!
Do check out ur earnings at the month! Specially eCPM field on report page! It shoud have been doubled by the end of month! πŸ˜‰

noel January 15, 2011

hi i started a blog about 2 weeks ago but ive been helping other people set theirs up as well resulting in us genarating our own cliks but i set up 3 of them from a ecafe and one of them uses that every day to do his round of cliks we were going through facebook and sharing our blogs there unfortunatly google have terminated my adsense due to invalid clicks and say that i can look for a review and explain myself they might reinstate my adsense account .if i told them i was trying to do a private class on adsense and they must of got carried away with the clicking .im using chitika now but i am serious about this now i want to learn more i know how to create traffic through blogs but i want genuine traffic not friends cliking for me so any advice would be grat thanks

Kuwar April 20, 2007

hi

great work !!!

even i am first time see the html code but i used witout hassle.
now my blog is looking like king with crown.

moneydriveslife.blogspot.com

hope you should always come with new stuff

Rahul Bansal April 30, 2007

@Kuwar
I thank u for ur encouraging words πŸ™‚

Rahul Bansal May 19, 2007

@Anonymous[sohal]
The andreas02 template you are using is based on old blogger!
Anyway this should work… (although not tested)
1. Find following codes in template! (Hint: Search for BlogItemBody)

<p>
<$BlogItemBody$>
</p>

2. If you want to show ads above (each) post
Put ads after <p> and before <$BlogItemBody$>
OR
you can put it after <$BlogItemBody$> to show ads at the end of post!

On a personal note, I suggest you to migrate to new blogger as it has cool editing feature!

Anonymous May 24, 2007

Hi this is sohail,

Thankyou for ur gr8 suggestion to migrate for new blogger. I hv switched to new blogger now.

Rahul Bansal May 28, 2007

@Sohail
First sorry for late reply.
If you have carefully followed all above steps then trust me it should have worked for you.
Anyway first thing give me your blogs URL so that I can diagnose it early!
If its private blog then let me know atleast how many ad unit you have placed on your blog! Because you can put totally 3 link unit on a page at the max!
Still have a probelm. Well try to give me as much details as possible! πŸ™‚

ezhil June 17, 2007

am new to adsense….can u tell me hw to make my ads visible at the right side and on left side of the site to make more attractive…and how to align the ads?

am ezhil

Rahul Bansal June 17, 2007

@ezhil
It wud have been better if u have posted URL of ur blog! Anyway first let me know which blogging platform u r using i.e. wordpress / blogger / etc.. πŸ™‚

ezhil June 17, 2007

The url of my website s “search-4.blogspot.com”..
pls tel me..

Rahul Bansal June 17, 2007

Yours is blogspot blog and I guess you are using classic Template and not Layout!

Anyway try following:
1. Log into Blogger.
2. From Dashboard, Click on Template link
3. From there you will get a link to Adsense!

Notes:
1. When u will click on Adsense blogger may u fro adsense login info if u r doing this first time!
2. If u dont have adsense account u will get a sign-up link from there! Alternaticely u can signup for adsense from here too!

Janet July 4, 2007

THANK YOU!! I must have tried 5 different tutorials trying to put adsense at the end of my posts, and this is the first one that worked!!

Rahul Bansal July 5, 2007

Welcome To Devils Workshop Janet! πŸ™‚
Its in our policy that we post only working and tested things.
By the way there are other adsense tricks also from Devils Workshop which are simple to implement and have guaranteed return…
In case you are interested here are the links…

Raj July 12, 2007

Thank you for the excellent tip, Rahul!! I have followed all of the above steps (using blogger with google account) and I get to see the adsense ads only after the first two posts? and idea what I can do. Thank you.

Rahul Bansal July 12, 2007

Yep. I have checked out! You are displaying ads before the posts, so after second post third ads get displayed!

Google has maximum three ad-unit limit on any page! So don’t get panic, its working fine on your blog! πŸ™‚

Just checkout difference between Page CTR n Page eCPM after a week! πŸ˜‰

Pingback: Justin
Rahul Bansal August 3, 2007

Ur welcome Justin… πŸ™‚
Welcome To Devils Workshop! πŸ˜‰

SEO Expert September 12, 2007

really excellent tips… and i thought it’s good for beginners!

anyway making money while sharing information is not at all a bad idea!

Rahul Bansal September 14, 2007

Thanks 4 ur nice comment! πŸ™‚

angel September 18, 2007

i hav used this but its showing only one ads
rest blank spaces pls reply !!!

Rahul Bansal September 19, 2007

Angel I have checked your site and there is very less text so adsense text-ad unit may not work optimally!
So try using image ad units!

If you can notice on this page I have put one image ad unit near title.
The Reason: the title area is near the beginning of page so adsense could not gather enough text to show 3-4 links in text-ad unit! So I put image ad-unit there and its performing well!

If u still have question (or this is not right answer) please feel free to write back with as much details as possible! πŸ™‚

angel September 19, 2007

thanx

now its working πŸ™‚

If my accnt has been disabled becoz it was linked to some previosu acnt
and now i my frnd has made an acnt on adsense
and i am also using it with him so that we can share equal revenue …
and i many times open the acnt to chck the earnings

is this against the rules/??? will my frnds acnt also get banned if i open it coz mine was banned 1 week before???

Rahul Bansal September 19, 2007

@Angel,
Checking earnings many times is surely not against rules but you might have violated any other adsense program policy!

In that case Google will surely find your new account and will ban your (friends) account too! πŸ™

Also if you want to say yourself from Googles wrath never go for programs like pay per post!

angel September 19, 2007

No this time i am not violating anything

i am just chking my frnds acnt frequently…

so will they ban his acnt saying tht it is linked with me???

nothing else i am doing just opening his acnt and placing his ads on our sites …

Rahul Bansal September 19, 2007

@Angel,
No checking is not against adsense policy but there might have been some violation knowingly or unknowingly!
In either case if Google has marked your site as black-listed internally then your friends account may face ban (but chances are rare)!

angel September 19, 2007

is pay per post against google adsense policies??

Rahul Bansal September 19, 2007

@Angel,
I am not sure about Pay Per Post but its evil program!
So I guess you may found yourself in trouble with Google Search! That may affect your traffic!
And once you loose traffic, there is no use of any ad program! πŸ™
So on personal note, keep your hands clean and wait! Patience pays more! πŸ™‚

Apol January 4, 2008

Thanks for this. Google ads not shoing on my blog please help.

thanks.

Rahul Bansal January 9, 2008

@Apol
First Sorry for late reply as I went offline for a 5-days vacations! πŸ™

I just checked your blog and saw Google Adsense Ads so I hope everything is working fine now.

If you still have any problem, feel free to contact!

-Rahul πŸ™‚

arun March 23, 2008

Hi..have a look at my blog..do suggest how I can interlink posts..cause there is a lot of content which is lying in the archive..

Rahul Bansal March 24, 2008

@arun
Will check it and let you know. But next time do not post unrelated comments. Use support forum for that!

Deepak Jain March 24, 2008

hello Rahul thanks for giving us this grt trick. But I have a problem in using this trick. I am using 2 ads on the side bar and 1 below 1st post but all the same space remains in all the post of the page.
This empty space below every post looks quite pathetic. So please advice how to remove this empty space from my blog-
http://mobilegyaan.blogspot.com

Rahul Bansal March 24, 2008

@Deepak
You have two ad units in left sidebar + 1 ad unit above post!
I can see all three and thats max you are allowed to show.
So if you want another ad unit below the post you have to remove at least on one ad unit from sidebar.
At the max you have only three ad-unit!

Deepak Jain March 25, 2008

Hi Rahul thanks fr ur early reply.
But I wanted to know how to remove the blank space dat is showing frm 2nd post onwards.
I want 2 ads on de sidebar and 1 below the 1st article’s title. But the same amout of blank space in present in all the subsequent posts.
So please let me know how to remove the blank space from 2nd article onwards.

Regards
Deepak Jain

Rahul Bansal March 26, 2008

@Deepak
First other comments got deleted as they have same question.
Now about white space… We can’t do much. In Google Adsense, when generating code they ask what to do when ads are not available. You can try playing with alternative ads settings. I never used it so I don’t know much about it!

Deepak Jain March 26, 2008

Again thanking u fr ur reply..
‘cos of those empty spaces my blog looks odd so pls advice me how and where to use ads to fetch max. revenue which would nt distract my visitors.

Rahul Bansal March 27, 2008

@Deepak
Use only one ad unit above post or as banner.
On homepage u can put small banner ad so even if it remains empty it wont get noticed.
This is all I am doing myself! πŸ™‚

Deepak Jain March 28, 2008

Rahul now I want to know how to add google ads in my blog header as in your blog.

Deepak Jain March 28, 2008

1 more thing… I would like you to add information about the new option in Gmail “Remain Idle” that is available only on IE version above 6.00 and Firefox

Rahul Bansal March 29, 2008

@Deepak
Just posted how-to Show Adsense Banner Ads in Blogspot Blogs

About Gmail update, thanks for info! πŸ™‚

asheef April 7, 2008

its not working in me. hw cn i add adsense code between title and body. i added but ads didnt came

Rahul Bansal April 7, 2008

@asheef
Just checked your blog. And I can see ads after each post.
Is there something else you are looking for?

RaviPrakash July 20, 2008

I tried this ! Thanks !

Only problem , I find in Step-9 . You said “just replace highlighted < with with >” !

What does it mean ?? to replace < with < ??

Rahul Bansal July 20, 2008

@Ravi
oops sorry…
I posted this on blogger and as now I am on wordpress it got reformatted automatically.
Anyway I have corrected above post so it will work now. πŸ™‚

RaviPrakash July 20, 2008

Thanks bhai ! It is now working on My site !!

Thanks a lot !!!

Rahul Bansal July 23, 2008

@Ravi
Your welcome bro… πŸ™‚

amITsingh July 31, 2008

hii rahul really great hack very useful i have using this techinque of ad placement in my WP blogs but did not know how to do in blogger thanks for the help…

I still have one doubt can u clear it plz, I display 5 post on home page and i want the adsense to be displyed only once on the first post between it’s title and post content any idea how this can be done in blogger ??
hit me back with watever ideas you have about this..

Rahul Bansal August 1, 2008

@amITsingh
In blogger I don’t think it is possible easily but I am trying to figure out a way.
I did it successfully on wordpress. Here is the solution.

amITsingh August 9, 2008

well i actually saw a blog with such an tweak ..check it out if it
helps you in figuring how to make this hack and lemme know if u do
figure out.
http://bloggerblogtemplates.blogspot.com/2008/07/embouteilllage-blogger-template.html

A few more question..

1.) how to use “Read more” or “read the full story” options for posts
in home page??

2.) how to display ads only on post permalink page.. i.e If i want ads
to be showed on in posts when the post url page is opened or viewed
but not when they are on home page..
( i plan to use this in tandem with ” read more” hack so that people
will have to read the full stroy and ads will be displayed in the
posts then only )

If can be of any help please let me know ASAP…

thanks in advance, rahul..

chaosgone August 17, 2008

I just tried that on my blog with BidVeritser ads. It works great!

Rahul Bansal August 21, 2008

@Amit Singh
First I am sorry for my very late reply.
Now here are answers…

1.) how to use β€œRead more” or β€œread the full story” options for posts in home page??
Ans: Check this official post and these other posts as well.

2.) how to display ads only on post permalink page.
Ans: This post by Vivek can help you…

Yoga Teacher August 27, 2008

Please will you tell me is there is any script to interlink the posts in my blogger blog. I need it terribly..

Rahul Bansal August 29, 2008

@Yoga Teacher
No. But search for “related posts for blogger”. It can be a good option too. πŸ™‚

zain January 22, 2009

hello,iam in great trouble,i have made a forum from a free service and its url http://www.myep.tk. i dont know how to paste gogole ads there.plz help me,i have no info about this phpbb.plz i am waitng for ur reply ..if possible plz

Rahul Bansal January 26, 2009

@zain
Google for “phpBB adsense” πŸ˜›

Mitz February 1, 2009

Hi Rahul. I’ve already added adsense into my blog posts. However, since adsense limits us to have 3 spots only in our blog, there’s a blank space after the 3rd post. is it possible to limit the adsense to the first two posts only so i could display more posts on my page?

Rahul Bansal March 5, 2009

@Mitz
I guess I left blogger long time back. I guess official Blogger-Adsense integration avoids whitespace after 3 posts.
Please check that and do let me know about results.

mahmoud February 27, 2009

i realy dont know , how can i thank u

Cristy March 1, 2009

thanks, verry god :-bd

(acum o sa imi bag pula ca poate nu intelege)

Verry good, thx!!!

Rajiv Kumar Jain March 11, 2009

Can you tell me that why adsense has rejected by blog . i had tried two times, one at magicfreesoftware.blogspot.com and secondly at fastworking.blogspot.com .

In both cases my account has achieved more than 150 dollars. In the last at fastworking it was 270 dollars

But google adsense has refuse my payment with the remarks that my blog can harm their advertiser etc.

Analekto March 16, 2009

Nice post. Should you be interested I have documented a method here that allow to add two AdSense units anywhere within the new blogger post body.

Harsh Agrawal March 27, 2009

I’m on wordpress and I suggest use of adsense injection plugin to avoid advertisement blindness

Game-Doctors May 5, 2009

I’m testing it out and it looks like its working great. Thank you sooooo much for the info on how to do this mod to my blog. Your the best =)

Bhavik June 3, 2009

hi Rahul,

I applied for adsense. I got a mail from Google that *Your site must have been active for at least 6 months before you apply
for AdSense.

please suggest

Rahul Bansal June 5, 2009

@Bhavik
You must apply after 6 months then!
Or use another site in application like a friend’s site which is 6 month older.

bdlinters June 3, 2009

it’s nice and cool tips.bt i am having problem.i can not make it perfect with the post description starting.it seems to blending with the ads.no gap between them…pls help..

thnx.

rajiv kumar jain June 4, 2009

i had availed adsense on two blog, 1) fastworking.blogspot.com 2) magicfreesoftware.blogspot.com , adsense on both blog has been rejected with remarks that your blog can harm our publishers. Can anyone tell me , what is wrong on my blog and what should i do further to get adesnse now.

Rahul Bansal June 5, 2009

@Rajiv
I don’t have any idea but please use forum in future for all such queries.

Mayur July 19, 2009

Hello friend i not getting ad in my post. i try so many time.
i paste my adsense code to and
but i cant get any ad on my website. so please give me suggestion regarding my problem

sultan . mehmood September 1, 2009

But i want to ads display only on home page but not on post page how can do that please help me thanks

Pg September 7, 2009

Hi!Thanks for these wonderful tips.I enabled Adsense after each post in blog and it was doing just fine(I did it not my altering my HTML code since I don’t know where I can find the Adsense Code :D,so I just did it from my layout page).Anyhow,today I tried to change my template and added one from Pyzam and all ads vanished,so I reverted to my older template(which can be seen on my blog now).However,even after reverting,ads aren’t showing up between my posts,if I add them in my side bar or at the bottom,there is no problem.Also,when I tried to edit/add them from my layout page it showed they are active.:o
I am really puzzled!!Shall I just wait or could it be that I am missing out on something? πŸ™
Please help.

text effects September 20, 2009

Hello to every one i have to need display ads in the post three time but when i open the post disables the ads out of the post have any idea mail me.

Suryakant September 30, 2009

its too good dude

gefUttege October 23, 2009

SendFile is happy to announce a new revenue program. This unique revenue share program rewards uploaders with higher payouts. Earn up to 50% of all Premium Membership account sign ups (referrals) through your uploaded files. Downloads from All Countries are counted. After you collect 1000 points you can convert to 10 USD.Payments via PayPal, Epassporte and Webmoney.

Detailed program description –

http://www.sendfile.to/pages/earnmoney.html

[url=http://www.sendfile.to/free88.html]Register now[/url]

[URL=http://imagedough.com/imgs/163542441670971][IMG]http://imagedough.com/id/163/542/441/670/971/thumb/300×300.png[/IMG][/URL]

mc4tur November 7, 2009

If you said so.. but why you don’t use it in your blog..

Kim November 23, 2009

Rahul, Hi. This might not be the right spot to ask,but here goes anyway. I’m a new blogger, almost no traffic and my ad sense was banned for some unknown reason (honestly not doing anyting fraudulent). My problem is, there is a space where an ad used to be and I can’t figure out how to remove it! (below my post) Asked in google forum and no reply. Please help!

RAJIV KUMAR JAIN November 24, 2009

really, you are not good, you are excellent. Before your tip, i have tried to set so many time, but fail to add adsense code before text.

After reading your tip regarding replacement of > & < , it is easy to install.

I once again thank you for this setting.

metrix December 20, 2009

Here is a easy way to replace with >

first create an adsense ad and then visit centricle website – http://centricle.com/tools/html-entities/ to encode. In centricle web page , you need to paste your adsense code in the text area and then click ” Encode β€œ. Copy the encoded code. Now your adsense code is ready to be added to blogger template.

Cheers..

Sachin February 3, 2010

nice… its works 4 mee

pausepoint February 6, 2010

Woow Tats great job men its perfect
you have proven your stuff
Its working Perfect

vivek jain February 6, 2010

@pausepoint
Thanks. Hope it helps you to earn more. πŸ˜‰

champjavier February 9, 2010

sir, but how do i get my earnings without adsense accounT?
im newbie in blogging…

mAmun_bangladeshi March 22, 2010

Please Check My Website .ads show in home page but i want to its just show in post not homepage .

Alquma April 2, 2010

If you want to increase your earnings do the following:
I share with all of you some tips for getting a lot of traffic to your blogs:

Tip 1: Make a good content
This point is very important

Tip 2: Make a brand around your blog
This point is very important because your visitors return to your blog in the future.

Tip 3: Get high quality backlinks
This point is very important because Google is a major search engine.

Tip 4: Promote your site on social websites like facebook, myspace and news aggregators like Digg.

Tip 5: Post frequently

Tip 6: Be patient
This is the most important tip because only with years of hard work you see a good results.

prashant April 8, 2010

thanks for information.

Umanga July 7, 2010

i couldnt find that code in that html πŸ™

devm July 18, 2010

its not enough can give me some adsense tricks

Vikas July 24, 2010

Hi Rahul,
I don’t have Adsense account, but i want to place my other ads just below of READ MORE tag ( This way peoples can hit my ads by mistake ). please see my blog and give me some suggestion.

Rahul Bansal July 25, 2010

@Vikas
I cannot help much as I don’t use Blogspot anymore but u can hack Blogger.com template to get it done.
By the way, it may violate Google AdSense ToS.

Nilesh August 7, 2010

Hi Rahul/Vivek,

I am using a custom blogger template on my blog http://reikiforhealing.blogspot.com. Now my query is there are many posts and I want adsense below title only when an individual post is opened like your website and not on home page.

How can I achieve this. I am not knowing xml.

Preet August 8, 2010

Hey! thanks for help just got my adsense approved and wondering how to set it up. I got nice ideas from your post as well as your blog.

prashanth kv August 10, 2010

thanks rahul.. it is working.. thanks

Rafia August 12, 2010

A very good and clear piece of information, I must say. It solved a big problem that Google’s own gadget was not solving.

DharmeshNt September 13, 2010

Thanks…..Great Tips!!
I Got Adsense Approved just before 20 days, Please suggest me for improve Adsense Earning.

sri September 14, 2010

hi rahul……….this is sri …..plz visit my blog …and after tel me where put the adsence…….and how to increment the visitors…

sridar September 24, 2010

Hi Rahul Bansal,

I have trying to approval for google ads for my blog… I got the reply as
———————————–
Hello Sridar,

Thank you for your interest in Google AdSense. Unfortunately, after
reviewing your application, we’re unable to accept you into Google
AdSense at this time.

We did not approve your application for the reasons listed below.

Issues:

– Unacceptable site content
————————————–

Give me a advise ASAP.

Thanks,
Sridar

shenoyjoseph December 11, 2010

hi dude i want to remove the ads from bottom of the page and i want to place that ad some where else
techdraginfo

Himu March 11, 2011

Thanks for the post. as a new blogger i found it very helpful. But which position is better for adsense? before or after post?

Nathaniel June 22, 2011

You rock dude… you rock…
this works in my end.
Thanks for this info.

iwannagotravel July 7, 2011

hi… thanks for this one great tutorial. i have some clarifications, i had implemented the code above and its working perfectly well for me. But is it possible if i place adsense code AFTER POST TITLE AND END OF POST???

have a take a look in my blog
i want the other adsense shown before post comments or even above the linkwithin…

please reply asap… thanks

taiwo August 21, 2011

help me out, l use it on my blog but didnt show the ads. l want it to show inside after opening any post not outside the post.

WALEED September 20, 2011

Can you Please Tell that how to show the adsence below only the first post in the Blogger. I did that and it Works But other ads Stop showing because Its showing in all the post so its Against the TOS. Tell me How to show that Only Under The First post.THnx..!

Mr.Ashoka October 2, 2011

hey dude my adsense account on hold how to remove the hold?
plz help me!

Amassine July 16, 2013

thank you for this guide πŸ™‚