【发布时间】:2016-08-13 17:39:17
【问题描述】:
我已在我的网站中实现了 Google AMP 页面,但发生了一些异常情况。广告代码如下:
<amp-ad
width="300"
height="250"
type="adsense"
data-ad-client="{{ site.owner.google.ad-client }}"
data-ad-slot="{{ site.owner.google.ad-slot3 }}"
layout="responsive">
<div fallback>Ad blocked</div>
</amp-ad>
当我从移动设备或使用较小屏幕(使用浏览器的开发者工具)访问该页面时,会显示广告,但在普通桌面上没有显示任何内容,尽管广告应该在的空间是保留。
【问题讨论】:
标签: amp-html