【问题标题】:AMP emails ads - 'amp-ad' component is unsupportedAMP 电子邮件广告 - 不支持“amp-ad”组件
【发布时间】:2019-05-22 09:19:51
【问题描述】:

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

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

遵守规则对我们来说很重要,以避免 AMP 电子邮件的 Google 注册过程出现问题或其他未来问题。

我尝试在the email validator 中使用amp-ad 标记,但验证失败。 email playground 输出包含相同的错误,但显示了广告!

<!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. - 关于 head 中的 amp-ad 脚本。
  • The tag 'amp-ad' is disallowed.

【问题讨论】:

  • 我投票结束这个问题,因为它是关于货币化而不是技术问题。
  • 我认为 StackOverflow 不是问这种问题的好地方——电子邮件的货币化取决于你的商业模式。也就是说,AMP 也允许常规电子邮件中允许的所有内容,Gmail 文档中没有任何内容表明我相信其他内容。无论您使用何种模型来通过现有电子邮件获利,都应该适用于 AMP 驱动的电子邮件。
  • 我没有将此作为业务问题,而是作为技术问题提出。我会尝试改写 - 不支持amp-ad。可以使用amp-img 和html 锚标签在amp 电子邮件中显示常规广告吗?
  • 对不起,我还是不明白这个问题。如果这适用于非 AMP HTML 电子邮件,我不明白为什么它不适用于 AMP 电子邮件?

标签: amp-html amp-email


【解决方案1】:

AMP-email 与 AMP-html 不同。 AMP 电子邮件中没有“amp-ad”组件,因此那里不支持它。
以下是 AMP 电子邮件中所有可用组件的列表:https://amp.dev/documentation/components/?format=email

【讨论】:

    【解决方案2】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多