观众优化无法识别标签
Could not recognize the tag for the optimization of the audience
我已经为 facebbok 即时文章发布了我的 rss 提要。
当我在 Instant-Article 中测试我的 url --> Configuration --> debug feed rss 我看到任何文章都显示以下警告消息“无法识别用于优化受众的标签。使用新标签更新项目并重试”。
我正在使用 Facebook 受众网络,有一个活跃位置。
我设置了
<meta property="fb:use_automatic_ad_placement" content="true">
和
<figure class="op-ad"><iframe width="320" height="50" style="border:0; margin:0;" src="https://www.facebook.com/adnw_request?placement={my_id}&adtype={type}"></iframe>
</figure>
每篇文章。
在官方文档中,我没有找到与此消息相关的任何内容。
谁能告诉我哪里错了?
{my_id} 和 {type} 是否被替换为正确的值? {my_id} 应与您的 Audience Network 应用 ID 和展示位置 ID 一致,类型应为 "banner320x50".
我在 Facebook Instant Article documentation 中找到了解决方案:
我以这种方式将 op:tags
元传递给空:
<meta property="op:tags" content='@Model.GetTags()'>
但是 Model.GetTags()
给我的是空字符串,在更改此方法后错误立即消失。
我已经为 facebbok 即时文章发布了我的 rss 提要。 当我在 Instant-Article 中测试我的 url --> Configuration --> debug feed rss 我看到任何文章都显示以下警告消息“无法识别用于优化受众的标签。使用新标签更新项目并重试”。 我正在使用 Facebook 受众网络,有一个活跃位置。
我设置了
<meta property="fb:use_automatic_ad_placement" content="true">
和
<figure class="op-ad"><iframe width="320" height="50" style="border:0; margin:0;" src="https://www.facebook.com/adnw_request?placement={my_id}&adtype={type}"></iframe>
</figure>
每篇文章。 在官方文档中,我没有找到与此消息相关的任何内容。 谁能告诉我哪里错了?
{my_id} 和 {type} 是否被替换为正确的值? {my_id} 应与您的 Audience Network 应用 ID 和展示位置 ID 一致,类型应为 "banner320x50".
我在 Facebook Instant Article documentation 中找到了解决方案:
我以这种方式将 op:tags
元传递给空:
<meta property="op:tags" content='@Model.GetTags()'>
但是 Model.GetTags()
给我的是空字符串,在更改此方法后错误立即消失。