A Home of knowledge

Wednesday 2 May 2012

How to add adsense ad unit in blogger post content.

Now i will explain the best way to add adsense ad unite to your blog post contant.
First login to your adsense account and create a new ad unite for your blogger post content. You can't add the adsense code directly to your blogger template.
So you neet to Parse the adsense code.
Now Parse your adsense code using AdParse.
After parsing,your ad code Should look like this.
adsense parse,adsense in blogger template
Now add the Parse code following the steps.

1. Go to your Blogger dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3. 3.Scroll down to where you see this:-
<div class='post-header-line-1'/>
 4.To place ad Top right corner of your post ,Paste the below code, below of above line.
<div style=”display:block;float:right;margin: 0px 10px 0px 0px;”>
Your Adsense Parsed code
</div>
Note: You must chinge the  "Your Adsense Parsed code" using your Parsed adsense code.
To place ad Top left corner of your post ,Just change the right to left.
Finally your code loking like
5. Now press the "SAVE" button.
  

No comments: