Friday, April 2, 2010

How to add Adsense at the top left/right in a blogger post

Here I want to tell you how to add the google adsense Ads at the top in a blog post.
First, sign in to blogger.com. Then select 'Layout' link for the blog.
Next click on 'Edit Html' tab.
Before proceeding I request you to take a backup of your existing template in case if anything goes wrong.
select 'Expand Widget' check box and then search for '' in the template.
Once you find it place the adsense code in the template as I showed below.

<div class='post-body entry-content'>
<div style="float:left;">
YOUR CODE HERE
</div>
<data:post.body/>

Add the 'div' tag just above the 'post.body' tag. Then add your adsense code to replace the text 'YOUR CODE HERE'. The adsense code should be changed to embed in the template. you can do that here.

No comments:

Post a Comment