AMP - 展示 adsense 测试广告
AMP - show adsense test ads
我正在设置 AMP。我还想在其中添加 Adsense 广告。我不想违反 Adsense 的政策,因此,在设置 AMP 新闻网站时展示 Adsense 测试广告的最佳方式是什么?
文档中没有关于它的注释。
在examples
文件夹中,有一个广告处于测试模式:
<h2>AdSense ad 2</h2>
<amp-ad width=300 height=250
type="adsense"
data-ad-client="ca-pub-2005682797531342"
data-ad-slot="7046626912"
data-adtest="on">
</amp-ad>
https://github.com/ampproject/amphtml/blob/master/examples/adsense.amp.html#L38
AdSense/配置
https://github.com/ampproject/amphtml/blob/master/ads/google/adsense.md
当你想禁用测试模式时,我认为你应该完全删除data-adtest="on"
我正在设置 AMP。我还想在其中添加 Adsense 广告。我不想违反 Adsense 的政策,因此,在设置 AMP 新闻网站时展示 Adsense 测试广告的最佳方式是什么? 文档中没有关于它的注释。
在examples
文件夹中,有一个广告处于测试模式:
<h2>AdSense ad 2</h2>
<amp-ad width=300 height=250
type="adsense"
data-ad-client="ca-pub-2005682797531342"
data-ad-slot="7046626912"
data-adtest="on">
</amp-ad>
https://github.com/ampproject/amphtml/blob/master/examples/adsense.amp.html#L38
AdSense/配置
https://github.com/ampproject/amphtml/blob/master/ads/google/adsense.md
当你想禁用测试模式时,我认为你应该完全删除data-adtest="on"