Adding Matched Content Ad

How to add Matched Content ads on template

Sering disebut juga iklan konten terkait akan menampilkan kumpulan artikel yang sesuai dengan postingan Anda, iklan ini biasanya diletakkan di bagian bawah postingan.

Mengaktifkan Slot Iklan

  1. Pergilah ke Editor HTML tema, di dashboard Bloger klik Tema
  2. klik icon pada tombol Sesuaikan
  3. pilih Edit HTML.

Pada halaman editor HTML tema, temukan kode seperti di bawah ini dan hapus tag comment <!-- --> untuk mengaktifkannya:

<!--[ Matched content ad ]-->
<!--<b:include cond='data:view.isPost and !data:view.isPreview' data='post' name='post-relatedAd'/>-->

Menambahkan Unit Iklan Adsense

Selanjutnya untuk menambahkan iklan Adsense Anda, carilah kode seperti ini:

<!--[ Matched content Ad ]-->
<b:includable id='post-relatedAd'>
  <div class='relatedPosts'>
    <!--[ Matched content Ad ]-->
          
    <!--<ins class='adsbygoogle'/>
    <script>...</script>-->
          
  </div>
</b:includable>

Lalu ganti bagian yang ditandai pada kode tersebut dengan kode iklan milik Anda.

Often called related content ads, they will display a collection of articles that match your post, these ads are usually placed at the bottom of the post.

Activating Ad Slots

  1. Go to the theme's HTML Editor, in Blogger dashboard click Themes
  2. click icon on the Customize button
  3. select Edit HTML.

On theme's HTML editor page, find the code as below and remove the <!-- --> comment tag to enable it:

<!--[ Matched content ad ]-->
<!--<b:include cond='data:view.isPost and !data:view.isPreview' data='post' name='post-relatedAd'/>-->

Adding Adsense Ad Units

Next to add your Adsense ads, look for code like this:

<!--[ Matched content Ad ]-->
<b:includable id='post-relatedAd'>
  <div class='relatedPosts'>
    <!--[ Matched content Ad ]-->
          
    <!--<ins class='adsbygoogle'/>
    <script>...</script>-->
          
  </div>
</b:includable>

Then replace the marked part of the code with your own ad code.


Posting Komentar

To avoid SPAM, all comments will be moderated before being displayed.