Tuesday, February 9, 2010

Show Adsense Ads inside Blogger Posts, Wrapped with Post Text

June 21, 2009 by Bapun   | Filed under Blogspot

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.

http://www.solidblogger.com/wp-content/plugins/sociofluid/images/digg_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/reddit_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/delicious_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/blinklist_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/blogmarks_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/furl_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/newsvine_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/technorati_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/google_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/myspace_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/facebook_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/sphinn_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/mixx_48.png http://www.solidblogger.com/wp-content/plugins/sociofluid/images/twitter_48.png

Important Recommendation: Run a Free Scan for Windows Errors
Installing or uninstalling software can leave your registry fragmented with corrupted or harmful files. Check your registry with RegistryBooster

Related Posts

  1. Show Adsense Ads Only on Homepage or Post pages on Blogger and Wordpress
  2. How To Show Comments On Blogger / Blogspot Posts
  3. Show Post & Comments Count in Blogger / Blogspot Blogs
  4. Show Animated Image Icon Before Post Titles in Blogger / Blogspot
  5. Digg Button Code to Show Digg icon in Blogger Posts
We will send you some more information related to Show Adsense Ads inside Blogger Posts, Wrapped with Post Text

Comments

16 Responses to “Show Adsense Ads inside Blogger Posts, Wrapped with Post Text”
  1. Angelina says:

    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

  2. ofw blogger says:

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

  3. Bapun says:

    @ 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?

  4. Jim says:

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

  5. Emax says:

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

  6. sultan says:

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

  7. 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%

  8. Marc says:

    Thanks man, just what I was looking for.

  9. jeist says:

    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.

  10. Bapun says:

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

  11. jeist says:

    thanks it is now working! great help!

  12. Balaji says:

    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.

  13. ceejay says:

    thanks man i know you are wonderful for your help

  14. Pradeep says:

    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 !!!!

  15. 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..

  16. Bapun says:

    @ 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.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Top incoming search terms for this post