Join Our 1500+ Community Readers




We hate spam as much as you!


How to display Adsense Ads in Middle of Blogger posts

We already discussed about how to add Adsense code below the post and pots title. Now time to know about “How to add Adsense ads code in middle of the blog post”. Placing Adsense code may niche increase in revenue in between the blogger posts. This is an effective niche technique in boosting revenue for your blog. Let’s begin the tutorial how to monetize your blog.


You may also like this posts

Step 1:
Before you do implement experiment on your blog. Convert Adsense code by using our “Adsense code converter” because blogger won’t accept directly inserting Ads script code on blogger template. After successful converting code paste it in Notepad and save it on your desktop.
Step 2:
Sign into your blogger account
Click on “EDIT HTML” link tab
“Expand the widget” template box by marking
Now, search for code
<data:post.body/>
After finding the code copy the below code and replace it with the above 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>
Step 3:

Customization


  • After pasting the script code now, replace “<!-- Your AdSense code here -->” with your converted Adsense code copied in Notepad.
  • After successful editing now, “Save the Template”
Step 4:
Whenever your post a new article in that, choose certain location where you want place Adsense to be displayed by adding simple code
“<!--adsense -->”
in your Post EDIT HTML tab button.
That’s all you’ve done, after posting competed preview you posts how your experiment looks.

Appreciation

If you enjoyed the above article and we helped you favor us on Subscribing to US




    You May also Like Trending Posts

1 comments:

Harpeet Walia Insan on January 30, 2013 at 4:11 AM said...

sir in the end of your post there are to separate boxes.1st adsense ad and 2nd FB like box how you make 2 separated box.plz tell me how to make this ...
my ID:- saffi.harpreetinsan164@gmail.com
plz help dont ignore.....

Post a Comment

About Me

My Photo
Krishi Omli
Dedicated blogger - Always endeavor to know new things and share with others.
View my complete profile

Money Tariff

All Your Tech Needs

How to Help us?

If you feel our blogging Tutorials helped to you, then help us to spread our voice by using the below badge:-

OR

Try a Back Links

Total Pageviews

| Blog Tariff | Blogger Tricks | Blogging Tips | SEO | Earn Money | Blogger Templates © 2009. All Rights Reserved | Template Style by Blog Tariff .com | Design by Brian Gardner | Back To Top |