Address: Lipsum Street Lorem
Way PO 60009 Dolor/ALASKA

Phone: +1 234 56 78

Fax: +1 876 54 32

E-Mail: amp@mobius.studio

Add AdSense code in AMP HTML Blogger Template

To bring up the AdSense code on the template, you should've been there is JavaScript for AdSense. This code is actually support for various ad service providers. However, I will only give the tutor about Google AdSense.

This code must be in the tag head.

<script async='async' custom-element='amp-ad' src='https://cdn.ampproject.org/v0/amp-ad-0.1.js'/>

Kode untuk menampilkannya (contoh unit iklan ukuran 300x250)

<amp-ad width="300" height="250"
type="adsense"
data-ad-client="ca-pub-2005682797531342"
data-ad-slot="7046626912">
</amp-ad>

Layouts that support: fill, fixed, fixed-height, flex-item, nodisplay, responsive
For other sizes please adjust. When the ad unit responsive, please add the layouts.

Disqus Comments