Friday, April 29, 2011

Putting Adsense ads inside Blogger posts

This article looks at how to place AdSense ad units right inside Posts or Pages on a Blogspot blog.


Background:

Once you have signed up for AdSense, you can easily put Adsense ads into blogs.  Blogger has options that let you place ads gadgets in the page template, without seeing any HTML code.  Ads may be placed in the sidebar(s) and in the footer of each post.

But there are limitations to this, and sometimes ads in your sidebar aren't the best approach, because readers easily become "ad-blind" and ignore them.


A Better Approach?

To make it more likely that readers will see your ads, you may want to put them into the body of your posts, as I have done underneath this paragraph.


This won't always be better than having ads in your sidebars or immediately above or below your posts - it all depends on what your blog is about, and how people read it.   But it may be worth doing to test to see which placement is better for your blog.


How to put Adsense Ads into Posts or Pages:

Blogger doesn't have any tools to support this.  So you need to put the AdSense code into your posts yourself.   While this is a bit fiddly, it does mean that you have a lot of control over where the ads go, and how they look, including the option to show image-only ads.

Follow these steps:
  1. Get the ad-code, and copy into your clipboard.  (The AdSense help page for this is here.)
  2. In the Blogger editor, write the contents of the post.
  3. In  Options (under Post Settings in the bar on the right of the Post Editor), check that "Use <br /> tags" is chosen for the Line Breaks setting.
  4. Go to the place where you want to put the ad.  Put in some "marker text" (a word that isn't used the post, eg "XXX" ).
  5. Align the marker text  the way you want the ad aligned (eg centered).
  6. Choose the "HTML" tab, and go to the marker-text.
  7. Replace the marker-text with the ad-text from step 1 (ie paste it in)
  8. If necessary, put line-breaks (<br />) before or after the ad.
  9. Publish the post, and check that it looks the way you meant it to.

Things to be aware of:

Google will only display a certain number of ad-units per page.   Even if you try to show more than this by putting the code into posts, ads will not be shown.

Also, having ads inside your posts does not mean that they will show up inside the RSS feed of your posts, or inside emailed posts created with the follow-by-email gadget or some other way:   If you use these tools, then you may want to enable AdSense for Feeds.



Related Articles:



Troubleshooting Adsense Ads in Blogger.

Putting 3rd party HTML into your Blog

Showing Image-only AdSense ads

Stop mis-use of your AdSense account

Chitika - an alternative advertising tool for bloggers

adsense

0 comments:

Post a Comment

 
 
Copyright © blog
Blogger Theme by Blogger Designed and Optimized by Tipseo