How to put Ads in the middle of Blogger Blog Post?



Blogger blog post middle AdSense Ads


Placement of AdSense ad in Blogspot blog is a bit difficult but if you do some care then it becomes easy. How to put Ads in every blogger post? I have already told about, in today's article, I will tell you how to add ads to the blogger blog post in the middle.

Adding ads in the middle of a blog post give a high CTR, which also earns more. So let's know how to place AdSense Ads in Between (Middle) of Post in Blogger?

There are many plugins for placing ads in WordPress posts, but placing ads in the Blogspot blog is a quite difficult or tricky part, you can place ads in Blogger posts using some trick.

Normally, to place an ad in Blogger, every post has to manually insert AdSense ad code, in which bloggers never have trouble, placement of the ad in the post every time makes the mind worse.

If you adopt some tips & tricks, then you can advertise together in all posts of bloggers like above post, below post, bottom of the post, and middle of the post.

But how? In today's article, we will tell you about this, how to put AdSense ads in the middle of blogger's posts?

How to put AdSense Ads in Blogger Blog post Middle?


The middle of post ads you insert with the method mentioned here will automatically show in all the posts of blogger blog. That is, you will not have to add ad code to the post again and again.

Step 1:

First, you go to blogger.com and login on the blogger dashboard.
• Now go to Theme >> Edit HTML.

Step 2:

• Now search below code in template code.

<DATA: POST.BODY />

You will find many codes similar to the above code. You have to choose the second code.

Step 3:

Now the above code has to be replaced with the below code.

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

In this, do not forget to replace Place Your Ad Code Here with your AdSense Ads Code. Then save the code by clicking on the Save theme.

In this way, you can put AdSense ads in the middle of all the posts of your blog. If you have any problem with this, then you can tell by commenting below.

If you want, you can place AdSense ads in the following paragraph, before paragraph using this method.

If you like this information, then share it with other bloggers on social media.


Post a comment

2 Comments

  1. How to include 2,3 ads on blogger middle post

    ReplyDelete
    Replies
    1. Copy the ads code and past it on your article in html section okk

      Delete

If you have any doubts, please let me know