Adsense Ads Middle/Below Titles/Anywhere Inside Blogger

0
In a previous post we saw how and where we can add adsense post in the blogger.However this method work with only predetermined fixed locations.But what when you want to display adsense ads in middle of the posts or anywhere in the post like,below titles,end of titles,post footer etc.Its very easy just follow the steps below and you can add adsense ads inside blogger post.

*Before proceeding for any customization first you need to back up your template(go to template>click on the backup/restore).

1st Step. First we need to parse the adsense code  then go to template and click on edit html button and now click anywhere inside your code area and find this code by using CTRL+F keys.
 <data:post.body/>
Note:you may find it several times,but we need to stop at the second one if it's not work then go for the third one,Look below for example.
how to add Adsense Ads Middle post Below Titles and Anywhere Inside Blogger post

2nd Step. Replace  <data:post.body/> tag with this code.
 <div expr:id='"adsmiddle1" + data:post.id'></div>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div style="clear:both; margin:10px 0">
<!-- Add here your Adsense Code -->
</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>
3rd Step. Put your converted Adsense Code where you see <!-- Add here your Adsense Code -->  annotation and after that save your template for changes.

For Centering your code adsense ads,add the Center tag before and after your adsense code example:
 <div style="clear:both; margin:10px 0">
<center>
<!-- Add here the code of your ad -->
</center>
</div>
4th Step. Now when you create a new post,add this html tag inside your post where you want to display your adsense ads

 <!-- adsense -->
 Example:
<div> demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.</div>
<!-- adsense --><div> demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.  demo text.</div>

how to add adsense ads inside blogger post title or in middle

 Note:By default from this trick of add adsense ads anywhere inside the blogger post will be visible below post title unless you will not apply this html tag  <!-- adsense -->  inside your blogger post when your create it.

Also Read:

how to add Adsense Ads Middle post,Below Post Titles Anywhere In the Blogger blogspot post,add adsense in blogger post footed or in mid post tricks tips
In a previous post we saw how and where we can add adsense post in the blogger.However this metho...
SUMMARY

how to add Adsense Ads Middle post,Below Post Titles Anywhere In the Blogger blogspot post,add adsense in blogger post footed or in mid post tricks tips

You Might Also Like:

We hope this article helped you to learn Adsense Ads Middle/Below Titles/Anywhere Inside Blogger. If you have any question or any complication please don't hesitate to ask us.You can drop your message below in the comment box or you can Contact Us!. If you liked this article please join us on : Facebook | Twitter | Google+

SUBSCRIBE ARTICLES BY EMAIL

Post a Comment Blogger Disqus

0 Comments on "Adsense Ads Middle/Below Titles/Anywhere Inside Blogger" So Far
Out Of Topic Show Conversion CodeHide Conversion Code Featured Post

MARKUP FOR WRITING COMMENTS:
1. To Insert Code Length Use<i rel="pre">Code Here</i>
2. To Insert Short Codes Use<i rel="code">Code Here</i>
3. To Insert Quote Use<b rel="quote">Quote</b>
4. To Insert Image Use<i rel="image">Image URL</i>
5. To Insert Video Use<i rel="youtube">You Tube Url</i>

Note: You Can Also Convert Your Code Directly From The Conversion Box.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Please drop your comment according with the topic and feedback with hyperlinks may be removed.Thank you.
Regards:
Team Bloggersstand