Thursday, June 19, 2014

Add Adsense Advertisements Anywhere inside Blogger Posts

Monetize more by placing Adsense advertisements in middle, top, bottom or anywhere inside blogger posts, with these easy steps you can integrate adsense anywhere.
Add Adsense advertisements anywhere inside blogger posts

We all know that blogger platform still, is lacking out of plugins support.
We suffer our platforms lack of plugins support, as we can't enjoy plugins like Wordpress uses.
insert adsense anywhere inside blogger posts

We may have solutions to these plugins, but still, it just make our blog too messy and consumes a lot more download consumption to load which our visitors may be annoyed to, unlike to Wordpress users which uploading plugins are such an ease, Wordpress was coded under PHP language which we prefer cleaner and lighter than coding blogger.

But, more than these plugins, we also want to be more like Wordpress when it comes on showing Google Ads, as we all see, Wordpress blogs can manipulate their AdSense ADS where they want it to show up by using some plugins.

They monetize more than Blogger as they can target different area's inside ther post article.

How about Blogger? Yes! Not only Wordpress blogs can put and show AdSense anywhere inside the article posts, We bloggers using Google Blogger Platform can add Adsense inside the Middle, Top, Bottom and even anywhere we like to place Adsense ads !

Wondering about your question if making this proccess affects and maybe violate Google's Terms of Service?
Hell No! According to Google AdSense Privacy Policy:

"Our program policies do not permit any alteration to AdSense code which artificially inflates ad performance or harms advertiser conversions. Your publisher account offers a number of options when generating the ad code, which we hope will allow you to create an ad layout that fits in with your site. In general, we recommend copying and pasting the ad code. In some situations though, we understand that modifications are crucial to a clean user experience."

We won't be modifying or changing Google AdSense codes structure, what we'll do is just a modification tweak through our blogger template not AdSense.

Now, that we have understand that we won't or will violate any AdSense Policy when it comes to generated codes, below is i will teach you how to add adsense anywhere inside the post.

Note: if you already had an idea or had placed ad codes below the title of the post or at the end of the post you are likely know where your <data:post.body/> 's location.

If your a first-timer with inserting AdSense codes refer to this post - "How to Place AdSense Ads inside Blogger Post"

Kindly delete the <data:post.body/> where you have added your AdSense Codes last time.
Note: You do not need to remove your previous AdSense Codes above <data:post.body/> or below it.

After removing it, paste this code to where you have removed <data:post.body/>

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

Replace: <!-- Your AdSense code here --> with your adsense code. Blogger only accepts HTML converted code, you can convert it here: TBT AdSense code Parser

Now Save your blogger template.

After Successfully saving the template add this special code: <!-- adsense --> in every blogger post[s].
The Adsense will show exactly where you inserted the special code. Enjoy!, Don't forget to share this tutorial to thank us!

0 Comments

Post a Comment