web statistics

How To : Place Adsense in Blogger Blogs

Posted on July 19th, 2008 under Blogger, Tips,Tricks and Hacks, Tutorials
ADVERTISMENTS
Share |

If you just started out on blogging with Google’s Blogging Platform Blogger, the next step that most do is to apply for Google’s Adsense program.But there are no instructions for on how to implement the adsense code after generating the adsense code.

In my last post I spoke about how to In this post I’ll show how to implement it in Blogger.

  1. Sign in to your blogger dashboard>layout>Edit html
    Check the box next to ‘Expand Widget Templates’
  2. Scroll down the window till you see this code, under div class=”post-body

    <p><data:post.body/></p>

  3. To feature ads immediately after your post titles, insert your AdSense code just before this section in your template. To feature ads at the end of every post, paste the code immediately after instead.
  4. Save your template to see the ads in action!

Note : For your Adsense code to parse correctly just replace the < with < and > with > after the <script> and before the </script> tags.

[ OR ]

You can use an online service like Postable to automate the above Note.

To Wrap Adsense Inside Blogger

  1. Open your blog’s template in the template editor, and paste the code into the stylesheet, before the
    ]]></b:skin> tag in your template.

    .ads
    {
    float:left;
    padding-right:10px;
    padding-right:10px;
    }

  2. Change the float:left to float:right to align your ads to right side.
  3. Place a <div class=”ads”> before the Adsense Code and close it with </div>
    For Example :

    <div class=”ads”>
    Your adsense code
    </div>

Written by Avinash

Browse Tech Yard for the latest & interesting web applications, Freewares, Wordpress Tips, Firefox Hacks and Addons, Mobile Phones, Windows - Linux - MAC OS Tricks.

Stumble Digg Technorati Reddit Delicious


Related Posts

Leave a Reply

Subscribe to TECH YARD:

RSS

Grab the RSS feed for Free Updates!


subscribe

Get blog updates sent directly to your inbox by entering your email address above.