Wednesday, 29 January 2014

How to place Adsense ads in the middle of Blogger Posts, Perfect Customization Tips

Posted by Akash Ghosh  |  at  04:00 No comments

How to place Adsense ads in the middle of Blogger Posts, Perfect Customization Tips

How to place Adsense ad code in a middle of a blogger post ? It's very simple though some bloggers (who don't know the coding part part of Blogging) don't know how they can place an Adsense ad anywhere in their posts.

But why should you place at least one ad inside the post body, the answer is very simple-

1. Adsense ads placed in the middle of a post increases the chances of getting a click on it.
2. People reading the post might mistaken it as a blog Link and may click on it giving you extra income.
3. People reading the post may feel the link attractive and may click on it.

There are a lot of possibilities of this which can obviously increase your Adsense earnings in days or even in hours at least by 30%.

How to place Adsense Ads in the middle of Blogger posts. 

To place the Adsense Ads in the middle of blogger let's start by generating a Adsense Ad Code.

1. First of all go to your Adsense Dashboard and go to My Ads -->  New Ad Unit.
2. Create a new Ad Unit.
3. It's better to select a horizontal Banner ad as it would blend properly with your blog content.
4. You should select Text Ads only as it would increase chances of clicks.
5. Customize your text ads so that it can blend with your Blog post.

After generating the ad code encode it using the online encoder. Click the link below to Encode your ad code.


The Next and Last step to place Adsense ads in the middle Blogger Posts is to add a code in your Blogger Template.

To place Adsense ads in the middle Blogger Posts follow the below steps.

1. First navigate to blogger Template Editor and then open the Edit HTML Window.

How to place Adsense ads in the middle of Blogger Posts, Perfect Customization Tips
2. Then in the Edit HTML window press Ctrl + F to activate the search option.
3. Then search the below code-
<data:post.body/>
4. Then replace the above code with code below.
<div expr:id=’”aim1″ + data:post.id’></div><div style=”clear:both; margin:10px 0″>

<!– Your Google AdSense code here –>

</div>
<div expr:id=’”aim2″ + data:post.id’>
<data:post.body/>
</div>
<script type=”text/javascript”>
var obj0=document.getElementById(“aim1<data:post.id/>”);
var obj1=document.getElementById(“aim2<data:post.id/>”);
var s=obj1.innerHTML;
var r=s.search(/\x3C!– adsense –\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
Replace <!– Your Google AdSense code here –> with your encoded Adsense Code.

5. After doing this save the template.

After saving the template now whenever and wherever you place <!– adsense –> in your blog posts you will find that the Google Adsense ads will start appearing in that place of your post.

You might find more than one <data:post.body/> in your template so try this with every <data:post.body/> you find in your template until you get the right one.
If you are able to complete the above steps properly you will be able to place Google Adsense ads in the middle of Blogger Posts

Thank you for Reading.

About the Author

Akash Ghosh is a young blogger who likes to write on the topics such as blogging ,SEO and gadget reviews. He is also the CEO of Web's Devil.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

Related posts

0 comments:

Copyright © 2014 Web's Devil. WP Theme-junkie converted by BloggerTheme9
Blogger template. Proudly Powered by Blogger.
back to top