How to place Ads in Blogger Blog Post

How to place Ads in Blogger Blog Post

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 gives 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 bit tricky or tricky part, you can place ads in Blogger posts using some trick.

Normally, to put an ad in Blogger, every post has to manually insert AdSense ad code, in which bloggers never have trouble, placement of an 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 a blogger like the above post, below post, the bottom of the post, and the middle of the post.

But how? In today’s article, we will tell you about this, How to put AdSense in the middle of Blogger Blog Post.

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 the 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, replace the above code with the below HTML 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>
Advertisement

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.

Conclusion:- 
Friends, here I have told you How to put Ads in the middle of Blogger Blog Post. 
I hope that you must have liked my Article, if you all liked this article, then share this article with all your friends also so that those people can also know that there is How to place Ads in Blogger Blog Post

Thank You

 
Good Luck!
Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *