AMP 电子邮件广告 - 不支持'amp-ad'组件



我们的公司具有常规文章和新闻页面的放大器页面版本。我们正在使用amp-ad组件在这些页面上显示广告。

我们还拥有带有广告位置的多个HTML新闻通讯产品。我正在研究Amp4email的POC,并且缺乏有关此货币化的文档。amp-ad标签不在电子邮件组件列表中。是否有有效的规格选项显示广告?可以使用AMP amp-img/或常规HTML a标签用于AMP电子邮件广告吗?

对我们来说,遵守规则以避免Google注册过程或其他未来问题的问题。

我尝试在电子邮件验证器中使用amp-ad标签,但无法验证。电子邮件操场输出包含相同的错误,但显示了广告!

<!doctype html>
<html ⚡4email>
<head>
  <meta charset="utf-8">
  <script async src="https://cdn.ampproject.org/v0.js"></script>
  <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
  <style amp4email-boilerplate>body{visibility:hidden}</style>
</head>
<body>
  <amp-ad data-loading-strategy="1" data-slot="/6001/sek.amp/amp_5" height="250"
          json='{"targeting":{"d":["news","sectors"],"t":["earnings","transcripts","has-audio","us","asset-management","financial","article"],"aid":"4256772","a":"sa-transcripts","cnt":["19","3","4","15","21","6","12","8","27","36","1","oil","14","fed1","etrfin","fed","taxes","fidelity_retirement","4152537","bny","ssga1","ssga2","ssga3","ssga6","191","jh1","fnk1","fnk2","port","nw1","fr1","fnk3","fnk4","loan","NYL1"],"prstock":"true","tickerbundle":["growth","value","dividend","large-cap","financials","zacks"],"pr":"amp","s":"amp"}}'
          type="doubleclick" width="300"></amp-ad>
</body>
</html>

验证器输出2个错误:

  • Custom JavaScript is not allowed.-关于头部的amp-ad脚本。
  • The tag 'amp-ad' is disallowed.

amp-email与AMP-HTML不同。Amp-Email中没有" AMP-AD"组件,因此不支持那里。
这是Amp-Email中所有可用组件的列表:https://amp.dev/documentation/components/?format=email

也许此AMP电子邮件代码示例将有所帮助-https://www.plumrocket.com/blog/2019/09/how-to-to-create-and-ande-and-and-and-test-test-test-amp-amp-for-电子邮件/?您可以实现类似于Live Preview中显示的横幅滑块。 AMP电子邮件中不支持Amp-ad组件。这是所有受支持的AMP电子邮件组件的列表-https://github.com/ampproject/amphtml/blob/blob/master/master/spec/email/amp-email/amp-email-components.md

最新更新