How to insert Adsense Code into New Blogger

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.

No comments:

Post a Comment