Add adsense in the middle of post in blogger

I already give you a post on Add adsense below post title. But that code will not helps you to place adsense in the middle of post. If you want to put Adsense ads in the middle of Blogger posts follow the steps below.






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='&quot;aim1&quot; + data:post.id'/>
<div style='clear:both; margin:10px 0'>
Your AdSense code here
</div>
<div expr:id='&quot;aim2&quot; + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;aim1<data:post.id/>&quot;);var obj1=document.getElementById(&quot;aim2<data:post.id/>&quot;);var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf(&quot;&quot;);if(r&gt;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

Like it? Share it.

17 comments

19 April 2012 at 09:06 Author

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/

19 April 2012 at 09:17 Author

@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

19 April 2012 at 22:31 Author

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/

19 April 2012 at 23:26 Author

@Vidz ProCheck out the mail, your problem has been solved

20 April 2012 at 23:11 Author

thanks i got my answer.

20 April 2012 at 23:13 Author

Can i place another ads code (such as clicksor, citika etc.) between post or below the post title.

http://www.vidzpro.com/

21 April 2012 at 09:28 Author

@Vidz ProYes you can place ads code between post or below the post title.

21 April 2012 at 10:33 Author

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/

21 April 2012 at 11:15 Author

@Vidz ProYes you have to convert the code

9 May 2012 at 08:57 Author

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..

14 May 2012 at 20:17 Author

@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??

14 May 2012 at 20:58 Author

@sebin thomasThere are two <data:post.body/> in your template. Replace that code with the another one it will work fine.

11 June 2012 at 05:07 Author

my templte have 4
should i used in second one only ?or i have to insert it more than once?

11 June 2012 at 05:58 Author

@Hungama SitesYou have to replace only one <data:post.body/> with the code shown above. Try it by replacing each <data:post.body/>

11 June 2012 at 07:32 Author

thank you

4 August 2012 at 03:28

thanks

http://android2arabic.blogspot.com/

5 August 2012 at 20:45 Author

Cool :)
Pc Genie Land

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.