Home » blogs, links, tips

How to insert Adsense Code into New Blogger

31 May 2007 No Comment

A reader has asked us how we inserted the adsense code in to the New Blogger template. Here’s how.

If you are using a simple template (just like this blog), all you need to do is

1. Just log in to your adsense account choose the adsense code you want to use. Copy that to the clipboard (Ctrl+C)

2. Follow this link to go to Adsense parser – which will readily convert your adsense code to new Blogger compatible code. Now, paste your code in the box (Ctrl+V), then click “Get Code” – it will convert it into a “modified adsense code”- a format suitable for New Blogger.

3. If you want to the Adsense ad block inside the post (just below the title of the post), Go to Settings —> Template —> Edit HTML (always backup a copy of your template into your comp – just in case if you mess up the whole thing!) —> Put a tick for “Expand Widget Templates”

4. Now, press Ctrl+F -Find – “

” and paste after that line; so it should look like this..

div class=”post-body”

Your Adsense Code

data:post.body

5. Save your template and view the blog, it should look perfect with the ads just below the title and above the blog post.

In case if you are using a peek-a-boo or summary type of template, dont worry – just follow this excellent blog tutorial written by Vivek.

Adsense inside your posts and only on post (item) pages


If you encounter an error contact us, we will help to fix it.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.