I've added a table to Blogging Secret's code to put adsense near the text on a new blogger post.
Example:
# Find the line below div class="post-body"
# Add this code between [p] and [data:post.body/] tags:
Update:
I've replaced Blogger Digest' method with Blogging Secret's method, because it's not violating Adsense TOS.
# Replace the comment lines from your adsense code:
With:
# Save your template. You're finished.
This method does not alter the adsense code, it only decodes < and > for xml template.
Update :
You can use css if you don't want to use a table. (Method from Tech One)
Link for other blogger related posts:
Blogger Beta Hacks
Subscribe to posts tagged with blogger hacks :
Technorati Tags: blogger, blogger beta, new blogger, blogger hacks, new blogger hacks, Adsense
November 09, 2006
Adsense inside the post text on new blogger
November 09, 2006 | Blogger Beta, New Blogger | 48 comments »48 comments
Post a Comment
Comments posted on iMessengr will be approved only if they are on-topic and not abusive. Please do not include URLs in the comment box.
Filed under : “
Windows Live Messenger
Yahoo Messenger
Google Talk
Skype
AIM
ICQ
Other IM Clients
Multi-protocol
Web-based Multi-protocol
IM Related
Mobile
Webcam Tools
Webmaster Tools
My name is Deniz Akay and I live in
nice try buddy,keep it up!all the best!
Hi Louiss. I'm not a coder. I've made just some simple modifications. Hope you liked it. Thanks.
You will be banned if you change the adsense code as you have done in your hack.
Hi Venkata,
You will not be banned, please read this post from Blogging Secret.
div class="post-body"
i can't find it anywhere in my beta blogger template...expanded widgets already in html edit
but dont you think that it is against google's law. I mean they sed not have more than three adsenses... :(
But nice hack anyway
Thanks for the link ;)
I prefer to give a link anytime I write about someoneelse's post, it's an ethical thing. So you're always welcome ;)
mmm...looks like blogger digest's method mentioned by u works better, as the adsense code is not tamper in this context....great work!
Thanks a lot. I applied your technique in my blog Did you write to adsense team and made clear that its the ads code modification doesnt violate TOS?
Sorry for replying late Ramanathan. I didn't ask it to google but I'm sure it's not violating TOS. If you right click on your page and view page source you'll see that adsense code is not modified. As I told, this change only decode < signs for xml parsing.
Protesto, as we are depending on adsense for earning, we are not afford to take any chance. i have seen many publishers being kicked by google for unknown reasons.
Anyway, I have written to them. They replied immediately asking few more details like browser, OS, adblock, etc. I have replied them back with all the details. I will update you once I get a reply.
Ramanathan
Ramanathan, i am waiting to know adsense reponse to ur poser.
protesto and ramanathan,
please refer to blogging secret's blog at:
http://bloggingsecret.blogspot.com/2006/11/google-adsense-anoucement-for-blogger.html
where in louiss lim (blogging secret) says that he contacted adsense about altering comments tags. Adsense/Google's repsonse is reproduced there in the above blog. it says: "You are permitted to remove the comment tags."
Great...great and just great work of you guys ! I like to be an universal citizen for being like this..!
I fell the brotherhood of 'bloggers' here, that's the most important thing i guess.
Protesto, I use many of your template, from hackosphere ,vivek and others. I earn my good money from AdSense because of your kindness guys. Therefore I thank you all !
Regards from Indonesia.
Koeaing!
Thanks for your nice comment koeaing, you're always welcome.
Can we really put adsense beside post ? WOn't it b against google TOS, though i m very desperate to put adsense beside post. chek my blog to see demo (http://healthtreatments.blogspot.com)
CAN THIS TRICK BE USED ON NEW BLOGGER ?
Best Regards,
Eliena Andrews
http://healthtreatments.blogspot.com
This trick is for new blogger, it's not againts TOS.
Finally! After sifting through so many outdated posts, I finally found the code to do this for new blogger. Nice one my friend. Now if only I knew how to place it in the middle of the post!! Thanks again.
http://easyhdtv.blogspot.com
@ Celebrity Photo Collector
I really don't know how to put adbrite inside the post. Generally javascript codes work in blogger code but sometimes it gives some errors and every error message differs from others.
wow what a good explanation, this is what i looking for, for so long time..
tq
is this trick really legal to google? sorry if my question sounds so dumb. :) thanks
It's not against TOS.
Hi Protesto,
Thanks a lot for ur guide, i've managed to put my adsense code in between the post however i got a unique problem here.
I'm using geckoandfly blogger template and have done some fine tuning, the problem is after i put my adsense inbetween the post, the adsense on r/h side bar disappered, how and what make it happen?
Have tried to figure out all day but i'm totally got no clue.
Helmis
my blog
http://www.jejaknetpreneur.com
@ Helmis
Google adsense allows up 3 ad unit to serve on page. You've placed all these 3 ads on you main bar in posts. Your site loads this main bar, and then the sidebar on the right. It means, it loads these 3 ad units first, and then tries to load one more ad unit on your sidebar, but it fails. So you have to modify your template code and make your sidebar loads first. I hope I could explain it well.
Hi Protesto, great tips. Have used it, but it only appears in the individual post. I recall that I have ever got a tip how to make it appear on the main page. Will look into it. Will put credit on my blog. Many thanks!
Hi Protesto, Thanks for your great tips. I used this trick in my blog
hi. read your post and tried to find in my blog's html code that part which matches the one you mentioned. no luck. would you know why? my blog is at http://pinoyseminars.blogspot.com. been wanting to put adsense as a footer of my posts but could not find out how. until now. hope you can help. thanks.
Gibo,
Find this line :
<data:post.body/>
After that, insert adsense code.
precisely my problem. i can't find it in the html code. i've already pasted the full text of the code on word and ran a "find". none. can anyone help me please? thanks.
solved the problem already. you have to check expand widgets to see the full code. thanks. :) found the text at last.
These comments have been invaluable to me as is this whole site. I thank you for your comment.
Great:::
Really great I tried and works. The only problem I Had was the background color of The Ads. Even if I choose white and the code corresppond on the blog appears of onother color...gray.
Any suggestion.
2) question..If I would like to put the Ads at the bottom of the post How should I do?
Thanks very much
@ traders,
1. Read the lines after the first Update title above. This should fix your color problem.
2. You should place the adsense code between
<data:post.body/> and </p> to put the ads after the post.
I sure hope this works!
Display Adsense ads without violating TOS. No modifications in Adsense code not even < or >.
Read more
thanks :)
but i guess this will add it after each post.. means that you will have empty space after each post after the first one if ur already using another 2 adsense blocks!!
is it the case here?? cuz i haven't tried it yet!
if yes then how can i make this exclusively for the 1st post only?!
Thanks for your great blogger tips. I used this trick in my weblog
:S everytime i try to add, i get an error !
U rock dude awesome stuff keep it up
Thanks for this trick..
http://dlcomplete.blogspot.com
hi. thanks for this trick! question: how can i make adsense display on the first two posts only in my homepage?
I have documented a method to add two ad units anywhere in the new blogger post body, should anyone be interested. You can read it here
very nice trik.. What is it will not make me banned from google adsense? Adsense don'nt allow to change script ads, so how with it??
Im using it since 3 years without a problem.
good one man...I hope u remember me ;) I changed my blog address :(.
thanks dude, nice code :D