How To Install Google Adsense Ads At The Beginning, In The Middle And At The End Of Articles Or Posts - UTAMA ONE

This blog is intended to share information and knowledge

Sunday, April 11, 2021

How To Install Google Adsense Ads At The Beginning, In The Middle And At The End Of Articles Or Posts


Google Adsense



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




Table of contents
  1. What is Google Adsense?
  2. Google Adsense Work Mechanism
  3. How To Install Google Adsense Ads At The Beginning, In The Middle And At The End Of Articles Or Posts
  4. Important Notes
  5. 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 at the Beginning, in the Middle, and at the End of Articles or Posts


Now, I will explain how to put google adsense ads at the beginning, in the middle, and at the end of the article (posting) at once. Please follow below steps:



Step 1: Create a Google Adsense Ad Unit and Get the Code


The first step to Installing Google Adsense Ads at the beginning, in the middle, and at the end of articles or posts is to create a Google Adsense ad unit. Here are the steps to create a Google Adsense ad and get the code:



  1. Login to Google Adsense
  2. First, how to install Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to log in to your Google Adsense account.



  3. Create Google Adsense Ad Units
  4. Second, how to install Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to create a Google Adsense ad unit.



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



  5. Get Google Adsense Ad Code
  6. Third, how to install Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to get the Google Adsense ad unit code.



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



  7. Create Google Adsense Ads Again
  8. Fourth, how to put Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to re-create 2 Google Adsense ads.



    After you create 1 Google Adsense ad entitled "Post Initial Ad", you must create 2 more Ads according to the tutorial above. And don't forget to name / headline: "Ad in the middle of a post" and "End post ad".




Step 2: Place the Adsese Ad Code to Your Blog


The final step to Installing Google Adsense Ads at the beginning, in the middle, and at the end of articles or posts is to attach the Google Adsense ad code to your blog. Here's how:



  1. Go to Blogger
  2. First, how to install Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to log into your Blogger account.



  3. Place the Google Adsense Ad Code
  4. Second, how to install Google Adsense ads at the beginning, in the middle, and at the end of articles or posts, is to install the Google Adsense ad code.



    Click the "Themes" menu, then click "Edit HTML". Next, 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 style="margin-bottom:15px;">
      <center>
      AD 1
      </center>
      </div>
      <div expr:id='&quot;post1&quot; + data:post.id'/>
      <div class='googlepublisherads' style='margin:20px 0'>
      <center>
      AD 2
      </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> 
      <div style="margin-top:15px">
      <center>
      AD 3
      </center>
      </div>


  5. Click "Save HTML".


To test whether your Adsense ad code has been installed correctly, see your blog or website. If the ad code has been installed correctly, the ad will automatically appear at the beginning, in the middle, and at the end of your post. If your Adsense ad hasn't appeared, try waiting for about 1 hour and then revisiting your blog or website.



Important Notes


See Important notes below:


  1. Replace "AD 1" with the Adsense Ad code for the beginning of the posting.

  2. Replace "AD 2" with the Adsense ad code for the middle of the post.

  3. Replace "AD 3" with the Adsense ad code for at the end of the post.



Tips


Here are some tips for placing Google Adsense ads at the beginning, in the middle, and at the end of articles or posts.


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

  • If an ERROR occurs when placing the Google Adsense ad code, you must first PARSE the Google Adsense ad code.



Thus an explanation of How to Install Google Adsense Ads at the Beginning, in the Middle, and at the End of Articles or Posts.




See also:

May be useful. .



No comments:

Post a Comment