Step by step instructions to Place Adsense Ads In Middle of The Post in Blogger-Any Template Work Around Method

0
2


Putting adsense advertisements in center of the considerable number of posts will give a high CTR which in the long run builds income. In word press, There are altered modules accessible for setting promotions in center of the posts. Yet, in the event of blogger it is some what dubious part to put adsense promotions in center of the considerable number of posts. We have built up a content which can put adsense promotions in the middle of the post precisely amidst the substance. The technique for putting adsense advertisements in center of the posts in blogger is shared beneath.

Place Adsense Ads Automatically In Middle of All The Posts In Blogger: 

Pursue The beneath procedure to put adsense advertisements in Middle of the considerable number of posts naturally in blogger.

Stage 1: 

Login to Your Blogger Account

Go to Template >Edit HTML

Stage 2: 

Scan For Below Code in your layout.

You will get different codes like above code. You need to choose the second code which is like above code with the end goal to make the content work legitimately.

Stage 3: 


 <div id='jobmiddlenew'>   
<data:post.body/> </div>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style> #addcodemiddle{display: none;} </style>
<div id='addcodemiddle'> Place Your Ad Code Here </div>
<script type='text/javascript'> var str1=document.getElementById(&quot;jobmiddlenew&quot;).innerHTML; var str2=str1.length; var str3=str2/2; var substr = str1.substring(str3, str2); var n = substr.search(&quot;&lt;br&gt;&quot;); if(n&lt;0) { n = substr.indexOf('.'); if(n&lt;0) { n=0; } var firsthalf = str1.substring(0, str3+n+1); var secondhalf = str1.substring(str3+n+1, str2); } else { var firsthalf = str1.substring(0, str3+n+4); var secondhalf = str1.substring(str3+n+4, str2); } var addcode=&quot;<center>&quot;+document.getElementById(&quot;addcodemiddle&quot;).innerHTML+&quot;</center><br/>&quot;; var newbody=firsthalf+addcode+secondhalf; var strnew=document.getElementsByClassName(&quot;post-body entry-content&quot;); strnew[0].innerHTML=newbody; document.getElementById(&quot;addcodemiddle&quot;).innerHTML=&quot;&quot;; </script>
</b:if>


Supplant The above Code With The Below Code.

Stage 4 

Supplant The Place Your Ad Code Text With Your Adsense Ad Code in the above code and spare your layout.

On the off chance that you are confronting any sort of issue, do tell us in your remarks. Upbeat Blogging

LEAVE A REPLY

Please enter your comment!
Please enter your name here