在Google AMP上复兴广告



我正在通过Google AMP教程,我也对这个问题进行了一些研究,没有运气。

我们正在使用Revive Ad Server在我们的网站上渲染文本和图像广告。看来Revive可能与AMP不兼容,但我不确定。有谁知道如何将REVIVE与Google AMP集成?这是Google为添加广告(DoubleClick(提供的示例代码。

<amp-ad
  width="300"
  height="250"
  type="doubleclick"
  data-slot="/35096353/amptesting/image/static">
</amp-ad>

是的,您可以在AMP页面中使用Revive Server在AMP页面上使用广告,请确保您使用的是Sandbox设置,如果您使用的是iframe标签,并且还可以通过SSL(HTTPS(提供广告。我们使用广告插入器和WordPress放大器。像魅力一样工作。

<iframe id='a9ca6757' name='a9ca6757' src='https://<YOURDMAIN>/delivery/afr.php?n=a9ca6757&amp;zoneid=101&amp;target=_blank&amp;cb=764566425' frameborder='0' scrolling='no' width='300' height='250' sandbox="allow-forms allow-popups allow-scripts allow-top-navigation allow-same-origin"><a href='https://<YOURDMAIN>/delivery/ck.php?n=af3707ff&amp;cb=764566425' target='_blank'><img src='https://<YOURDMAIN>/delivery/avw.php?zoneid=101&amp;cb=764566425&amp;n=af3707ff' border='0' alt='' /></a></iframe>

最新更新