Tutorial

  • Android
  • Blogger
  • Pendidikan
  • Printer
  • Komputer
  • MedSos
  • On this post-Admin will share to friends beginner bloggers how to add or change the number of ad units that appear in the banner ad type link Google Adsense. So the number of link type ad units can be adjusted according to each taste. Like Contohny there Admin Change the number of AD unit links that previously there are only 4 ad units now have appeared 10 link ad units.



    There are two ways to change the number of ads on the ad banner of Link Ads, the first for you non AMP template users usually link ad code when created like the following:

     
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Tautan Responsif -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-xxxxxxxxxxxxxxx"
         data-ad-slot="xxxxxxxxxxxx"
         data-ad-format="link"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    

    The ad that appears with the code above will automatically adjust to the available space when the area is automatically narrowed the number of link ad units in Banner Ads will be slight, but if the available space is wide enough then the number His ads are also many.

    The problem is not all areas that we install have a large area or space, while we want to install a link ad banner with a large number of ad units if using the default code   of course it will never be applied.

    Therefore we need to change the settings of the responsive ads to the manual so that the number of ads that appear in one unit banner link ads can match the wishes. How to manually resize the ad banner as follows:

     
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Tautan Responsif -->
    <ins class="adsbygoogle"
         style="display:block;height:250px"
         data-ad-client="ca-pub-xxxxxxxxxxxxxxx"
         data-ad-slot="xxxxxxxxxxxx"
         data-ad-format="link"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    

    Note the style code = "Display: Block " means the display of the banner of the ad in the restrict following space available or commonly called responsive. Kiti only needs to add the ad banner size after the code, for example, to display 5 rows of ads to style = "Display: block; height: 250px " So the number of link ad units will adjust the space by 250px.

    The second is for you AMP template users, can change the number of AD units of type link to multiple rows in one AdSense link ad banner simply by resizing the ad banner on the height code as shown in the following figure:

    Change size of the ad banner as desired can be more than 250px by following the size of the banner of Google AdSense ads that exist at the moment.

    Such a tutorial how to change the number of AD link units manually follow the width or size of the ad banner as you wish.

    Artikel Terkait:
    Bagi Anda yang ingin mendapatkan notifikasi update setiap harinya silahkan bergabung WhatsApp Group Gabung Sekarang
    Comment Sekarang