Skip to main content

How to put AdSense in the Middle or Anywhere of Blogger posts

How to put AdSense in the Middle or Anywhere of Blogger posts theblogger911Making Money With Adsense may be good because it is one of the biggest adnetwork since before, but  only if you know how to maximize your earning, one way of it is to place
ads in the right place, right size and setting. Do you want to know and managed your ads? placing it anywhere you want will help you to increase you revenue.

There are lots of  new and old bloggers doesn't know where to place Adsense ads correctly. This problem mainly affects new bloggers. Adding your Adsense ads in your middle of the blog post will help you to increase your earnings by making it more prominent. It's a simple way to put Adsense ads in the middle of a Blogger blog post, only with some codes and a group of some divisions <div>..


I will now teach you on how to place Adsense ads code anywhere in you blogger blog post.
Please Save your template before doing anything
If you want to put Adsense ads in the middle of Blogger posts follow the steps below.

1.Generate Parsed code for your adsense code because we cannot put adsense code directly in the xml.So parse it using AdParser.
2.Log in to your dashboard--> layout- -> Edit HTML3.Click on "Expand Widget Templates"
4.Scroll down to where you see this:

<data:post.body/> 
5.Now replace above code with below code.
<div expr:id='"aim1" + data:post.id'></div>
<div style="clear:both; margin:10px 0">
<!-- Your 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>
Note : You must you must replace <!-- Your AdSense code here --> with Your Adsense Parsed code.
6.Now save your template.
7.In every blog post ,Put this special code :
<!-- adsense -->
in the exact point you want to appear AdSense advertising.Now you are done.

What are your experiences using this code? Mine increases the conversion rate of advertisement.

Comments

  1. it will show below the post title...

    ReplyDelete
  2. This tutorial really works..!! Thank you very much for this. :)

    ReplyDelete
  3. There are 3 data:post.body ,which one should i choose to replace

    ReplyDelete

Post a Comment

Popular posts from this blog

How To Add HTML Contact Form for Blogger Blogs

Our problem in creating a contact form is that you don't want third party contact form cause it will burden your loading page and if you want to give your reader an instant contact form but don't want to show your email, this HTML form will help you with your problem

You can create a simple form, as displayed below, to enable your visitors to send you comments, questions or whatever you'd like.

1.Log in to your dashboard--> layout

2.Click on "Add a Gadget".

Now Select "HTML/Java Sricpt"

3.Copy and Paste below code into it.
<FORM action="mailto:[email protected]" method="post" enctype="text/plain"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="90%"><TR><TD width="30%"><DIV align="right"><B>Name:</B></DIV></TD><TD width="70%"><INPUT type="text" name="name" s…

How to Add Random Post Widget to blogger Blogs

Instead of creating new post everyday to reduce your bounce rate, many respected bloggers are suggesting to sell your old posts to readers. We all know that many of our posts are useful even time passed. today I am going to make a tutorial on how to add a beautiful random post and reduce your bounce rate also to promote your older posts

Hows Random Posts.
Doesn’t add load to your page loading
Shows the Name Of The Author.
Shows the number of comments.
Summary Showing Enabled.
CSS Added.
Hover effect for images. Installing It On Your Blog Go to blogger > Open layout tab
Now Add A new HTML/JavaScript widgetGive any title you want [ eg: Being Viewed, Recently Viewed, Now Viewing etc. Its up to you. ].
Now paste the code given below :  <style type="text/css"> .recent_post_content{width:100%;} .recent_post_content_item {filter: alpha(opacity=80);opacity: 0.8;} .recent_post_content img {width:45px;height:45px;background-position: center;margin:7px;padding: 2px;border:#888 solid th…

High PageRank Do-Follow Forums List (606)

Besides from getting your answers to unanswerable queries, the good thing of do-follow forums is to create a good back links through their High Page rank pages on Google, creating your pointing to your site makes your blog grows faster in ranking,

Now a days it is very hard to find do-follow link website because they are making their site as no-follow, like the wiki, it is before a do-follow site but since many SEO experts use wiki as spam they control it and made it no-follow, so now I am giving you a list of do-follow and high ranking sites that you can use to make your blog popular.

Its your tactics on how to create your links on this site, but remember not to spam cause Google might hit you. :)

Here are the list enjoy

ForumPR1http://www.addthis.com/forum92http://chronicle.com/forums/83http://forums.myspace.com/84http://forum.joomla.org85http://forums.cpanel.net86http://forum.siteground.com87http://c7y-bb.phparchitect.com88http://forum.meebo.com89http://forums.mysql.com/710http://f…