Ad Units

How to adding ad units on Blogger Layout.

Usually when retrieving code from the Adsense dashboard, you will be provided with several lines of code to copy, because adsbyGoogle.js script has been activated before, so make sure not to copy the script again, just copy it starting from the <ins> tag.

For more details, take a look at the following code example:

<script async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0000000000000000' crossorigin='anonymous'></script>
<!-- Display ad --> <ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-0000000000000000' data-ad-slot='0000000000' data-ad-format='auto' data-full-width-responsive='true'></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>

Do not copy the code marked in the red box.

We provide a special slot/widget in each theme to place ads manually, if you use automatic ads then you can skip this section, the ad widget can also be hidden if you don't want to use it.

  1. On Blogger dashboard, click Layout, you will find some widgets with different colors.
  2. Edit one of these widgets, click icon and a new pop-up menu will appear:
    Adsense Ad Units
  3. Paste the ad code copied earlier into the Content field, or click the switch button on 'Show this widget' to hide/show the widget.
  4. Click Save and wait a while for the ad to appear, in some cases the ad can appear immediately sometimes it takes a few hours for the ad to appear fully.

Biasanya ketika mengambil kode dari dasbor Adsense, Anda akan diberikan beberapa baris kode untuk disalin, karena script adsbyGoogle.js sudah diaktifkan sebelumnya, jadi pastikan untuk tidak 'menyalin' script tersebut lagi, cukup salin saja mulai dari tag <ins>.

Untuk lebih jelasnya, perhatikan contoh kode berikut ini:

<script async src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0000000000000000' crossorigin='anonymous'></script>
<!-- Display ad --> <ins class='adsbygoogle' style='display:block' data-ad-client='ca-pub-0000000000000000' data-ad-slot='0000000000' data-ad-format='auto' data-full-width-responsive='true'></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>

Jangan menyalin kode yang ditandai dalam kotak merah.

Kami menyediakan slot/widget khusus di setiap tema untuk penempatan iklan secara manual, jika Anda menggunakan iklan otomatis maka Anda dapat melewati bagian ini, widget iklan juga dapat disembunyikan jika Anda tidak ingin menggunakannya.

  1. Pada dashboard Blogger, klik Layout, Anda akan menemukan beberapa widget dengan warna yang berbeda.
  2. Edit salah satu widget tersebut, klik ikon dan menu pop-up baru akan muncul:
    Unit Iklan Adsense
  3. Tempelkan kode iklan yang telah disalin sebelumnya ke dalam kolom Konten, atau klik tombol switch pada 'Tampilkan widget ini' untuk menyembunyikan/memunculkan widget.
  4. Klik Simpan dan tunggu beberapa saat hingga iklan muncul, dalam beberapa kasus iklan dapat langsung muncul, terkadang butuh beberapa jam hingga iklan muncul sepenuhnya.