Thursday, May 23, 2013

How to add Adsense ads inside the blogger post?

How to add Adsense ads inside the blogger post?
 Today I will show you how to placing adsense code below post title or inside the post.
All you have to do is create an ad unit on Google Adsense website, get the ad code and prase it here i.e. changing the ad code HTML to XML. Otherwise your ad will not work.

Why place an Ad below your post title is necessary?
Below the post title is the position with the highest CTR (click-through rate). In other words the ad placed there will have the highest number of clicks and hence earn the most money from your blog.

Get the Ad code from your adsense account, preferable either a 300x250 Medium Rectangle or 336x250 Large Rectangle ad unit.
Parse the ad code in a parser to escape special characters in the code. The ad won’t appear if you don't prase the ad code.
Copy the parsed code.
Now follow these steps:

Login your Blogger Account
Click on Design >> Edit HTML
Check the “Expand Widget Templates” box.
(Important!)Download your full Template in case you screw up somewhere.
Then find the following code(Ctrl+F)

Paste your parsed adsense code on top/below of it.
And you'll have:

Your ad code

Your ad code

That's it! It's easy.
One more thing, your ads will display below post titles on all pages(home page and individual post pages). If you wish for it to be applied just on post pages, add the following lines of code:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
Place your ad code here
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...


Thank you

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2011 Blogging and Earning
Designed by Atique Ahmed Ziad
other admin site Daily Health Tips
Comments RSS
Back to top