Insert Google Adsense in Blog Posts

I have often been asked about how to insert inside blog posts. If you see currently I have an adsense between the post title and post body. Read on...

I will stick to Blogger template to describe the procedure.

If you go to the template, look for <$BlogItemBody$> - this is what creates your post body with all the content. To insert the code above or below the post is simple.
If you insert the Adsense code above this tag, it goes between the blog post title and post body. If you insert the Adsense code below this tag, it goes beneath the post and above the post footer which has the permalink, post comments, email and similar links.

If you want to insert the Adsense code beside the post and wrap the post content around it - I use a table and align it to the right or left as required. This table code goes above the <$BlogItemBody$>. Then add <_table align="right"> and it put the Adsense code between the <_td> tags. This will displace the post content and align Adsense with the post.

If you want to align the post content beside the post but not wrap it around the post content - either insert the Adsense code in the sidebar, or create a table with 2 columns. In one column put the <$BlogItemBody$> and in the other column put the Adsense code.

How do you insert Adsense in you posts.
This site has moved to a shiny new domain. Click here »