Today I am talking about adding adsense ads code manually to blogger the way you want. Let me clarify you that Adsense is an affiliate advertising network which pays in cost per click manner. Means you get to click on ads you get money instantly. Here we will cover topic to put ads manually and automatic.
So here are the main areas where you can add ads in your blogger site to get high CTR.
- Between your posts.
- Head and sidebars.
- Footers
Now talking about the template your readers will read the content of your blog, not the sidebar not the headers so placing the ads in the post will help you make more money.
Add Adsense in blogger post
You can automatically add ads or manually in all the post we will discuss both the aspect. Firstly for manually adding codes in the post just write your post. choose the place to add ads. Switch to HTML view of the post Now just paste the ads codes directly and publish. Ok. Now for automatic ads Here are some simple steps to follow to make ads appear in the post.
Firstly decide where to put your ads inside the post. I mean Below the post title or In the middle somewhere or both Now see below steps & proceed placing ads.
Firstly remember to backup your template as we are going to add ads to the template. For this go to template and then to restore backup template.
Add adsense code in the blogger |
You can’t directly add ads to the template so you have to convert the code of yours to xml or you have to parse your code you can find many HTML to XML parser here. Just paste your code and convert it and copy the new parsed code and get it ready.
To auto add ads Below the post title
<b:if cond=’data:blog.pageType == "item"’>
<div align=”center“> Your encoded Ad code here</div>
</b:if>
Now change the encoded ad code with your code and center with the left or right of keep it center. You’re done.
NOTE: If you don’t find the code post-body entry-content try finding <data:post.body/> and replace it with the above code. And remember to replace the second occurrence only.
To auto ads in the middle of the post
<b:if cond=’data:blog.pageType == "item"’>
<div style=’display: none; float:center;’>
<div id=’MindX-Ads’>
<br/><center>
<script type=’text/javascript’>
google_ad_client = “pub-xxxxxxxxxxxxxxxx“;
google_ad_host = “pub-xxxxxxxxxxxxxxxx“;
google_ad_slot = “xxxxxxxxxx“;
google_ad_width = 336;
google_ad_height = 280;
</script>
<script src=’http://pagead2.googlesyndication.com/pagead/show_ads.js’ type=’text/javascript’/>
<br/></center>
</div>
</div>
<script>
$(document).ready(function(){
jQuery('#MindX-Ads').appendTo(jQuery('a[name="more"]'));
});
</script>
</b:if>
Page break |