Place Ads inside the Blog Post with 3 Simple Processes!

Place Ads inside the Blog Post with 3 Simple Processes!

Place Ads inside the Blog Post with 3 Simple Processes!
Bring the Ads inside the blog post with Three Simple Processes!

Google AdSense is the best platform for any online expert or blogger to earn from their website.

With Google Adsense, you can easily earn from your blog website by displaying the Interesting Place Ads.

However, whether or not you earn from your blog depends on the ads placement on your blog.

You must ensure that the ads placement is complete so that your ads does not cause any visitor problems.

Because if it is a visitor's problem then they will definitely come out of your blog site.As a result, you will lose everything.

In terms of Responsive Ads Placement and Revenue, we often think about blog posts.

So that visitors click on the ads inside your blog post and your revenue will increase.

And today in this post I have discussed three simple processes by which you can add Google Adsense Ads inside the blog post.

After searching all over the internet I found quite a few interesting results.

Many of which are of no use. They have said that using too much HTML CSS code will speed your blog down speed loading.

This is very simple to do if you end up watching this blog post. There are three processes, so anyone process will work for you.



  Process-1 

<b: if cond = 'data: blog.pageType == "item"'>
 <div id = 'adsense-content' style = "display: block; text-align: center"> ADSENSE CODE HERE </div> </b>:
 <div id = 'adsense-target'> <data: post.body /> </div>
 <script type = 'text / javascript'>
 function insertAfter (addition, target) {
 var parent = target.parentNode;
 if (parent.lastChild == target) {
 parent.appendChild (addition);
 } else {
 parent.insertBefore (addition, target.nextSibling);
 }
 }
 var adscont = document.getElementById ("adsense-content");
 var target = document.getElementById ("adsense-target");
 var linebreak = target.getElementsByTagName ("br");
 if (linebreak.length> 0) {
 insertAfter (adscont, linebreak [0]);
 }
 </script>


If the above HTML code is copied you will need to change some of these codes.

The first thing you need to do is place your AdSense ad code in this section 'ADSENSE CODE HERE'

Since you want to place an ads placement inside a blogger's post, you can add any of the responsive ad's code from the 'In-article ads' option.

Or if you want 300 * 280 ads of this size placement within the blog post will get good revenue and 'CTR'.


Bring the Ads inside the blog post with Three Simple Processes!


Once the above ad placement is done correctly, then you need to change another thing's and this is 'discount, linebreak [0]'.

Here linebreak [0] means how many paragraphs of your blog post you want to put inside your desired ads blog post.

That means if you want to put the number 10 in the middle then change it to 'linebreak [10]'.  Then your ads will show up in the tenth paragraph of the blog post.

Now go to the theme of your blog and click on Edit HTML form here.  Then find '<data: post.body/>' by searching.

You will find this in your blog's HTML code two to three times.  But you have to replace it a second time.


  Place Ads inside the Blog Post with 3 Simple Processes!


The second time you replace '<data: post.body/>', replace the above code with it. That is, '<data: post.body/>' removes it and put the code above.

Then after waiting for some time visit your blog and you can see inside your blog post, you have been able to add ads properly.


If the above process doesn't work for you, try using the second one.

But I 100% guarantee that the above process must work for you.  If you act as I have described.




  Process-2




DIV EXPR: ID = '& QUOT; POST1 & QUOT;  + DATA: POST.ID '/>
 <DIV CLASS = 'GOOGLEPUBLISHERADS' STYLE = 'MARGIN: 20PX 0'>
 <CENTER>
 [PUT AD CODE]
 </CENTER>
 </DIV>
 <DIV EXPR: ID = '& QUOT; POST2 & QUOT;  + DATA: POST.ID '> <DATA: POST.BODY /> </DIV>
 <SCRIPT TYPE = 'TEXT / JAVASCRIPT'>
 VAR OBJ0 = DOCUMENT.GETELEMENTBYID (& QUOT; POST1 <DATA: POST.ID /> & QUOT;);
 VAR OBJ1 = DOCUMENT.GETELEMENTBYID (& QUOT; POST2 <DATA: POST.ID /> & QUOT;);
 VAR S = OBJ1.INNERHTML;
 VAR T = S.SUBSTR (0, S.LENGTH / 2);
 VAR R = T.LASTINDEXOF (& QUOT; & LT; BR&GT; & QUOT;);
 IF (R&GT; 0) {OBJ0.INNERHTML = S.SUBSTR (0, R); OBJ1.INNERHTML = S.SUBSTR (R + 4);}
 </SCRIPT>

Delete 'PUT AD CODE' and replace your AdSense code.

Then go to Blogger's HTML Editing option, search '<data: post.body />' and place the edited code above.

Then save the theme of your blog respectively. And you got to show the ad inside the blog post.



  Process-3


This process will work 100% on any Blogger template.  And the codes are too small so your blog's loading speed will not be affected.

And your blog's Ads CTR will be greatly enhanced.  At the same time, your blog will increase revenue.



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

Just one thing has to be changed from the codes and everything else remains the same.

In this section 'Place Your Ad Code Here', it places its ad code in AdSense.  And then find '<data: post.body/>' from your blog's edit HTML.

If you find it a few times, then you can place the open-edited code below the second result.  Then save the template.

Then you're done.  I like to describe three processes that people can use if one of them doesn't work.

Due to which you do not have to visit or search any other blogs Ads Inside Blog Post.

So thank you so much for being with us.

0 Response to "Place Ads inside the Blog Post with 3 Simple Processes!"

Post a Comment