Recommended: Fix Windows Errors and Improve PC Performance

Show Adsense Ads inside Blogger Posts, Wrapped with Post Text

Posted by Bapun 21 June, 2009

Google Adsense is the main source of revenue for more than 95% bloggers. If you are using blogger to host your blogs and using Adsense as your ad network, you should blend your ads with your posts to get more attention on ads from your visitors, resulting in more clicks and more revenue. Showing Adsense ads between two blogger posts is not effective, since people tend to overlook that part. If you wrap the ads within the post, it will get noticed and chances are there for a better CTR (click through rate). You can easily customize your blog to show Adsense ads inside your posts, aligned either to left or right.

For a better click through rate, I would recommended you to blend the ads with your blog’s colour combination. Don’t use odd or too deep/light colours. Making your ads highlighted means you are manually trying to keep your income lower. Check out the below screenshot.

show adsense ads inside blogger posts

Show Adsense Ads inside Blogger posts, wrapped with post text

  1. Login to your Blogger Dashboard.
  2. Navigate to Layout >> Edit HTML
  3. Expand widget templates by checking the box
  4. Search for <data:post.body> inside your template. Add one of the following codes just above it.
  5. To show your Ads aligned to left

    <div style='float:left; margin-right:5px;'>
    YOUR ADSENSE CODE
    </div>

    To show your Ads aligned to right

    <div style='float:right; margin-left:5px;'>
    YOUR ADSENSE CODE
    </div>
  6. Make sure to replace YOUR ADSENSE CODE with your actual Adsense ad code.
  7. Save all the changes you have made.
  8. You are done.

Remember to convert your Adsense code here before adding that to the above code. Blogger HTML does not support Adsense ad characters, hence you need to convert it.

Now all your blog posts should appear with Adsense ads wrapped around it’s texts. The best ad format for this location would be 336*280 or 300*250 or you can play with the ad formats until you notice a better result.

We will send you some more information related to Show Adsense Ads inside Blogger Posts, Wrapped with Post Text

Categories : Blogspot Tags :

Comments
July 29, 2009

I have a question.What if I want to show ads like this on individual posts? like if i want for only 2 posts out of 5 on my front page?
I hope to hear soon.
Thanks

Posted by Angelina
July 29, 2009

why this isnt working for me? im using classic template on my blog.

Posted by ofw blogger
July 29, 2009

@ Angelina : You can refer to show ads on selected posts on Blogger homepage.

@ Ofw Blogger : I have checked your blog and it should work there. Can you explain what’s the exact problem?

Posted by Bapun
July 30, 2009

This blog is a WordPress blog, it’s not a Blogger blog.

Posted by Jim
August 1, 2009

Keep more of this post coming. You’ve just solved my problem on placing adsense code

Posted by Emax
August 20, 2009

this is very good for me its is nice working on left or right side thanks

Posted by sultan
September 14, 2009

Ya thanks man been looking around to do this because my adsense clicks have dropped so much since i changed the adsense on my template. Here my blog i’m going to use this and change the adsense up hopefully my CTR goes back to 4% instead of 1.92%

Posted by DailyCashSaver
November 11, 2009

Thanks man, just what I was looking for.

Posted by Marc
December 5, 2009

hi! How can I wrap the blog text around the ad? im using a float div but the text still goes under the ad.
TIA.

Posted by jeist
December 5, 2009

@ Jeist : Follow the HTML code format mentioned in the post.

Posted by Bapun
December 5, 2009

thanks it is now working! great help!

Posted by jeist
December 15, 2009

Hi,

Thank you very much for a wonderful tutorial on embedding adsense ads inside blog posts. I have a problem though: if a visitor gets more than 3 posts on the same page (by clicking on a label associated with more than 3 posts, for instance), all the posts below the 3rd have a big empty spot where the adsense ad was supposed to be. Is there any way to get rid of this space? If not, is there any way to tell blogger never to load more than 3 posts into a page at any time?

Thank you.

Posted by Balaji
December 30, 2009

thanks man i know you are wonderful for your help

Posted by ceejay
January 2, 2010

I have to data:post.body where i should put the code i am using Community template in my Blog.
http://moviesndhacks.blogspot.com
Regards !!!!

Posted by Pradeep
January 6, 2010

Is there any way I can display more than 3 adsense units within posts on my homepage? I have 7 pages/posts showing on my homepage only the first three displays adsense.. I know blogger allows only 3 units per page, but ist there any way? a hack or something.. thanks..

January 6, 2010

@ Murkcore : Yes, there are ways to display more than 3 ads (actually as many Adsense ads as you want) on a single page using iframe, but this is against Adsense TOS. Adsense does not allow users to place more than 8 ad slots ( 3 text links + 3 ad boxes + 2 search units), and if you don’t follow their guidelines, they will ban your account.

Posted by Bapun
February 26, 2010

thanks man i will try this..

Posted by sachin
March 15, 2010

You save me a lot of time thanks. Just to note that in step 4 you have to search for with slash for XHTML :) Thanks again

Posted by mobile technology
Leave a comment

(required)

(required)


Top incoming search terms for this post