Recent Posts

Best Blogger | Tech Tutorials
Subscribe Via Rss Subscribe To The Latest Tips & Tricks
Follow On Twitter Follow @naijaclub10_com On Twitter
Receive The Latest Posts Directly To Your Email - It's Free: Email rss Enter Your Email And Click Subscribe
What is rssHave You Subscribed ?

August 21, 2013

How To Add Adsense To Blogger Posts

To Get Started
===>Login into blogger

==> Log in to www.google.com/adsense or www.addynamo.com
==> Click on "My ads" tab
==> Click the "New ad unit" button
==> Select the your ad choice/  size
==> Fill other options, save and get your ad code.

Now, we need to parse the ad code. 


==> Go to http://html-to-xml-parser.blogspot.com/

Now you will add your parsed code in the codes below before using it in your blog's template.

==> If you want your ad to display at the left side inside your post 
look for <data:post.body/>
and  paste the below code before it ie. before <data:post.body/>

    <b:if cond='data:blog.pageType == "item"'>  
    <div style="float:left;">
    Paste your parsed adsense code here </div>
    </b:if> 

==> If you want your ad to display at the right side inside your post 

    <b:if cond='data:blog.pageType == "item"'>  
    <div style="float:right;">
    Paste your parsed adsense code here  </div>
    </b:if> 

To place your ad after your post paste your code after
<div class='post-footer'>

No comments:

Post a Comment