你不能直接营销分析评论,也没有反应。
我认错。如果您有权访问ad_account见解,则可以使用Marketing API直接获取帖子的评论。感谢@ lamxung55
比方说,你有和123000000
ad_id如果你有ads_management
或ads_read
权限的道理,你可以对营销API如
/123000000?fields=creative.fields(effective_object_story_id),insights.fields(actions)
这将请求给你effective_object_story_id
这是帖子的object_id
({page_id}_{post_id}
),并且其洞察包括按动作类型细分的动作。例如:
{
"creative": {
"effective_object_story_id": "456000000_789000000",
"id": "123000000"
},
"insights": {
"data": [
{
"actions": [
{
"action_type": "comment",
"value": "12"
},
{
"action_type": "like",
"value": "2"
},
{
"action_type": "post",
"value": "3"
},
{
"action_type": "post_reaction",
"value": "29"
},
{
"action_type": "video_view",
"value": "558"
},
{
"action_type": "page_engagement",
"value": "604"
},
{
"action_type": "post_engagement",
"value": "602"
}
],
"date_start": "2017-08-14",
"date_stop": "2017-08-20"
}
],
"paging": {
"cursors": {
"before": "xxx",
"after": "xxx"
}
}
}
}
的effective_object_story_id
(所以,POST_ID)是456000000_789000000
。
然后,您可以查询后加入summary=true
作为参数的comments
边缘。此端点是公众普遍的帖子(不过,它不会对非公开岗位工作)
/456000000_789000000/comments?summary=true
将与像
{
"data": [
<LOTS OF COMMENTS HERE>
],
"paging": {
<PAGING LINKS>
},
"summary": {
"order": "chronological",
"total_count": 50,
"can_comment": true
}
}
对象这意味着后已经有50点意见作出回应,其中12个是通过付费行动完成的。
非常感谢你的详细答案。我们可以简单地使用此语法来获得广告评论:... adset_id/insights?fields = actions。 – lamxung55
你可能是对的,我明天会看看。上次我尝试的操作分解是误导性的,并且与页面仪表板上的值不匹配。 在构建报告时,必须确保指标一致,并且您通常需要深入了解指标,以了解指标何时是有效的结果,以及可能计入重复的人的结果,还是需要查看故事中的评论是你的帖子的一部分。 – amenadiel
@ lamxung55我站好了。根据您的建议,实际上,您可以检索与总发表评论不同的付费评论。 – amenadiel