是否允许多个 amp-ad 节点?
Are multiple amp-ad nodes allowed?
我有一个包含两个节点的 AMP 页面,但似乎只有一个可以呈现。
<amp-ad width="300" height="250" type="doubleclick" data-slot="[DFP Unit]"></amp-ad>
...a bunch of text...
<amp-ad width="300" height="250" type="doubleclick" data-slot="[Same DFP Unit as above]"></amp-ad>
是否不允许在一页中放置两个 amp-ad?也许我必须使用不同的单位名称?
如果您看一下 AMP 示例,例如:https://amp.theguardian.com/artanddesign/2010/oct/26/eames-furniture-team-charles-ray 您会发现一个页面上可以有任意数量的 amp-ads。想吃多少就吃多少。
我有一个包含两个节点的 AMP 页面,但似乎只有一个可以呈现。
<amp-ad width="300" height="250" type="doubleclick" data-slot="[DFP Unit]"></amp-ad>
...a bunch of text...
<amp-ad width="300" height="250" type="doubleclick" data-slot="[Same DFP Unit as above]"></amp-ad>
是否不允许在一页中放置两个 amp-ad?也许我必须使用不同的单位名称?
如果您看一下 AMP 示例,例如:https://amp.theguardian.com/artanddesign/2010/oct/26/eames-furniture-team-charles-ray 您会发现一个页面上可以有任意数量的 amp-ads。想吃多少就吃多少。