Thursday, August 25, 2011

How to Put Google Adsense Below Post Title on Blogger Home Page.

One of the ways to get your page optimized with Google Adsense is by placing those ads within post on your blog (Blogger or Wordpress) or website. This post is actually going to focus more on how to put adsense in a blogger blog so that you can strike a balance for your online investment.
There no ways you can place Adsense ads within the post body using readymade Add Widget on your blogger blog. The only way to do this is by hacking or editing you template to display the ads within the posts just below the post title.
The first thing that should be done is to get your Google Adsense code from the Adsense account. Thereafter, go to BlogCrowds and parse the Adsense code you’ve gotten form your account to replace special characters.
Now, login to your Blogger Dashboard, go to Design, and then click Edit HTML. At this point, don’t forget to backup of your template by clicking Download Full Template. Click Expand Widget Templates. To make your edit faster and easy use shortcut ctrl+F to search for <data:post.body/> or <p><data:post.body/></p> . Place your Adsense code on the line immediately above this and save the template.
You would notice something different if look closely at the codes below, which is;  <div style='float: left;'>. What this does is to floating the adsense display in the position you want. The left in the above code can be changed to right if you want the ad to show at right (i.e. <div style='float: right;'>). Or if you want it to be positioned in the middle, you can use <div style='float: center;'> .
e code will simply look like this after you finish with editing. Note that, <div class='post-body entry-content'> and <p><data:post.body/></p>
<div class='post-body entry-content'>
<div style='float: left;'>
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-xxxxxxxxxxxxxxxx&quot;;
google_ad_host = &quot;pub-xxxxxxxxxxxxxxxx&quot;;
google_ad_slot = &quot;xxxxxx&quot;;
google_ad_width = 336;
google_ad_height = 280;
&lt;script type=&quot;text/javascript&quot;
After you are done with doing this, then what you need to do next is to save it.
Putting your adsense below post title will help to increase your click through rate(CTR). This should do for now. In my subsequent post, I will share with you: How To Let our Google Adsense Show In Posts On A Single Post Page.

No comments:

Post a Comment