Add AdSense code in AMP HTML Blogger Template
22.49
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
Kode untuk menampilkannya (contoh unit iklan ukuran 300x250)
Layouts that support:
For other sizes please adjust. When the ad unit responsive, please add the layouts.
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, responsiveFor other sizes please adjust. When the ad unit responsive, please add the layouts.
