![]() |
| Add Ads in the Middle of the Blogger Posts Automatically |
This is not too hard to edit your blogger template to show Ads in the middle of posts. This hardly take five minute to set it up which will definitely increase your earning in future, so invest just 5 minute to set it up and enjoy double earning.
How To Add Ads in the Middle of Blogger Posts Automatically:
It is very easy to put ads below the title of the post or at the end of the post, but a ads in the middle of the post is highly profitable and it also doesn't violates AdSense Ads policy.Steps:
- Go to blogger homepage and choose the blog where you want to show Ads in the middle of the posts.
- Now go to the Template section and click on Edit HTML button.
- Now on the template codes, search for the line below by clicking Ctrl + F
<data:post.body/>
- There is a chance that you may find the line several time but you need to stop or modify the second one, if the second one doesn't work you need to modify the third one. (if second one doesn't word, third one will work for sure)
- Now replace <data:post.body/> with below code
<div expr:id='"adsmiddle1" + data:post.id'></div><b:if cond='data:blog.pageType == "item"'><b:if cond='data:blog.pageType != "static_page"'><div style="clear:both; margin:10px 0"><center><!-- Add here the code of your ad --></center></div></b:if></b:if><div expr:id='"adsmiddle2" + data:post.id'><data:post.body/></div><script type="text/javascript">var obj0=document.getElementById("adsmiddle1<data:post.id/>");var obj1=document.getElementById("adsmiddle2<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>
- Now replace the line <!-- Add here the code of your ad --> with your Ads code, convert your Ads code to plain text using below box, otherwise it won't support on your template.
- After converting your Ads code, place it on the template and save the template.
- You are all done, now while you write a new post just be sure to add the below line to show ads in the middle of you blogger post.
<!-- adsense -->
- Add the line the middle of the post/ anywhere you want to show ads.
This is how you can add ads in the middle of blogger platform post's automatically, If you are facing any problem with setting this up please be sure to inform us via comments or email. Till then enjoy the post and be sure to share it with your friends, so they can also add ads in the middle of blogger posts and increase earning.


0 comments :
Post a Comment