
Frequently Asked Question:
1. Does this method violate Google Adsense Terms and Conditions ?
Definitely not. Answering a direct support request Google stated this method doesn't violate any of their program policies.
How To Add/Put/Insert/place google adsense in the middle of post in blogger
- Go to Blogger Dashboard
- Click on DropDown Menu and select Template
- Backup your Template before making any changes to your blog
- Now Click on Edit HTML --> Proceed --> Expand Widget Templates
- Press Ctrl + F and search the code shown below
<data:post.body/>
- Now replace it with the code shown below
<div expr:id='"aim1" + data:post.id'/>
<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 t=s.substr(0,s.length/2);var r=t.lastIndexOf("");if(r>0){obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1)}
</script>
<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 t=s.substr(0,s.length/2);var r=t.lastIndexOf("");if(r>0){obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1)}
</script>
- Replace Your AdSense code here with your adsense code
- Now save your template
- NOTE Your adsense code is in parsed form. Click Here to convert it into parsed form
- You will find two <data:post.body/> in your template. you have to replace it with the second one
17 comments
Hello again! Unfortunately google has disable to showing ads in my site. I have loose $90. google Adsense is sucks. So can you tell me please what is the best alternative of Adsense. http://www.vidzpro.com/
@Vidz ProYou are using another similar size ads with google adsense, thats why google disable your adsense account. Use this link http://www.ravisaive.in/2012/02/16-best-google-adsense-alternatives.html to know which is the best alternative of adsense
thanks for your reply. I have registered with Citika but they will take time for review at least 7 working days. And i have send you an email for posting a tutorial (with reference) in your site. Kindly reply me after read it.
http://www.vidzpro.com/
@Vidz ProCheck out the mail, your problem has been solved
thanks i got my answer.
Can i place another ads code (such as clicksor, citika etc.) between post or below the post title.
http://www.vidzpro.com/
@Vidz ProYes you can place ads code between post or below the post title.
can i use blogger adsense converter from this link.....(http://www.latesthack.com/2012/02/blogger-adsense-code-converter.html)
to convert my ad codes.
http://www.vidzpro.com/
@Vidz ProYes you have to convert the code
It's not working for me, i apply this trick to my blog. But it doesn't showing any ad in my post center. Just look into my site - http: //androidmarketguru.blogspot.com or visit this post - http://www.androidmarketguru.blogspot.in/2012/03/secret-codes-for-samsung-galaxy-phones.html. Please help me..
@sonui just converted my ad code with the above link and place it correctly using above instructions. But still not showing any ad. See this post - Titanium backup pro: Android. And i want to know one more thing. How i can wrap text around my ads??
@sebin thomasThere are two <data:post.body/> in your template. Replace that code with the another one it will work fine.
my templte have 4
should i used in second one only ?or i have to insert it more than once?
@Hungama SitesYou have to replace only one <data:post.body/> with the code shown above. Try it by replacing each <data:post.body/>
thank you
thanks
http://android2arabic.blogspot.com/
Cool :)
Pc Genie Land
Click to Add a New Comment