How To Install Google Adsense Ads In The Middle Of Articles Or Posts - UTAMA ONE

This blog is intended to share information and knowledge

Monday, April 12, 2021

How To Install Google Adsense Ads In The Middle Of Articles Or Posts


Google Adsense



Hi, bestfriend. . Today, I will discuss How to Install Google Adsense Ads in the Middle of Articles or Posts.




Table of contents
  1. What is Google Adsense?
  2. Google Adsense Work Mechanism
  3. How To Install Google Adsense Ads In The Middle Of Articles Or Posts
  4. Tips


What is Google Adsense?


The following is an explanation of what is Google Adsense.



Google AdSense is a joint advertising program through the Internet media hosted by Google. Through the Google AdSense advertising program, website or blog owners who have registered and been approved for membership are allowed to post ad units whose form and material have been determined by Google on their web pages. The owner of the website or blog will get revenue in the form of profit sharing from Google Adsense for every ad that is clicked by site visitors, which is known as the pay per click (ppc) system or pay per click.



Google Adsense Work Mechanism


Here is the Google Adsense Mechanism.



Google AdSense provides a way for site owners to monetize their blog content. AdSense works by matching ad appearance to your site based on blog content and visitors. These advertisements are created and paid for by advertisers who want to promote their products. Since advertisers pay for different ads at different prices, the amount you earn will not be the same.



How To Install Google Adsense Ads In The Middle Of Articles Or Posts


To get the maximum income from Google Adsense ads, we must place ads in strategic locations. One of the strategic locations for placing Google Adsense ads is in the middle of our posts or articles. Here is How to Install Google Adsense Ads in the Middle of Blogger Articles or Posts.



Step 1: Create a Google Adsense Ad Unit


The initial step to placing Google Adsense ads in the middle of articles or posts is to create a Google Adsense ad unit.



  1. Login to your Google Adsense account
  2. First, How to Install Google Adsense Ads in the Middle of Articles or Posts, is to login to your Google Adsense account.



  3. Select Ad Units
  4. Second, how to place Google Adsense ads in the middle of articles or posts, is to choose an ad unit.



    Click Menu, then Click "My Ads", and then click "Ad Units". Next, Click "New Ad". Then you select "InArticle Ads".



  5. Edit Ad Units and Get the Code
  6. Third, How to Install Google Adsense Ads in the Middle of Articles or Posts, is to edit the ad unit and get the code.



    After selecting the ad type. Then you have to make arrangements according to your wishes. And don't forget, give a name / title for the ad, for example: "Post Middle Ad". Then Click "Save and Get Code". Next, Copy the "Ad Code" that you get. Then, you first save the "ad code" in a safe place.




Step 2: Place the Adsese Ad Code to Your Blog


The last step to Installing Google Adsense Ads in the Middle of Articles or Posts is to install the adsense ad code that has been obtained on your blog. Here are the steps:



  1. Log in to your Blogger account
  2. First, How to Install Google Adsense Ads in the Middle of Articles or Posts, is to Login to your Blogger Account.



  3. Select the Edit HTML Menu
  4. Second, How to Install Google Adsense Ads in the Middle of Articles or Posts, is to click "Theme", then click "Edit HTML".



  5. Paste the Adsense Ad Code
  6. Third, How to Install Google Adsense Ads in the Middle of Articles or Posts, is to paste or install the Google Adsense ad code.



    Look for the code <data:post.body/>. Usually the code is more than one, and you can choose the code that is the last. Replace Code <data:post.body/> with the code below:



      <div expr:id='&quot;post1&quot; + data:post.id'/>
      <div class='googlepublisherads' style='margin:20px 0'>
      <center>
      AD HERE
      </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>


    Note: Replace "AD HERE" with your Google Adsense ad code,



  7. Click Save HTML


To test whether your "Adsense Ad Code" has been installed correctly, see your blog or website. If the "Adsense Ad Code" has been installed correctly, then "Adsense Ads" will automatically appear in the middle of your posts. If your "Adsense Ads" have not appeared, try to wait about 1 hour and look again at your blog.



Tips


Before you want to put the Adsense ad code on your blog or website, you should "Backup" first "Your Theme / Template" to avoid unwanted things.



If an ERROR occurs when installing the GOOGLE ADSENSE AD CODE in the Blog template, you must first PARSE the GOOGLE ADSENSE AD CODE.




Thus an explanation of How to Install Google Adsense Ads in the Middle of Articles or Posts.




See also:

May be useful. .



No comments:

Post a Comment