无法识别优化受众群体的代码

时间:2016-05-18 15:24:54

标签: facebook facebook-instant-articles

我已经为facebbok即时文章发布了我的RSS订阅源。 当我在 Instant-Article - >中测试我的网址时配置 - > 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}&amp;adtype={type}"></iframe>
</figure>

每篇文章。 在官方文档中,我没有发现与此消息相关的任何内容。 有人能说我哪里错了吗?

2 个答案:

答案 0 :(得分:0)

{my_id}和{type}是否替换为正确的值? {my_id}应与您的受众群体应用ID和展示位置ID保持一致,且类型应为&#34; banner320x50&#34;。

答案 1 :(得分:0)

我在Facebook Instant Article documentation找到了解决方案: 我以这种方式传递op:tags元空:

<meta property="op:tags" content='@Model.GetTags()'>

但是Model.GetTags()给了我空字符串,在此方法更改后,错误立即消失。