Facebook营销API选择字段 [英] Facebook Marketing API Select Fields
问题描述
我想在这个营销api电话中获得只有非正式的转换:
https://graph.facebook.com/ ?V2.8 /< ad_id> /见解字段=行动{ ACTION_TYPE:{ offsite_conversion}}&安培; =的access_token<令牌GT;
但我得到动作中的所有字段。任何想法我在做错什么?
可以使用参数:过滤 / p>
https://graph.facebook.com /v2.8/ ad_id /见解?
& fields = actions& action_breakdowns = action_type
& filters = {{字段:action_type,operator:CONTAIN,value:offsite_conversion.fb_pixel_complete_registration}]& access_token = 令牌
i want to get only offiste conversions within this marketing api call:
https://graph.facebook.com/v2.8/<ad_id>/insights?fields=actions{"action_type":{"offsite_conversion"}}&access_token=<token>
but i get all fields in "actions". any idea what i'm doing wrong?
You can use parameter:"filtering"
https://graph.facebook.com/v2.8/ad_id/insights?
&fields=actions&action_breakdowns=action_type
&filtering={{"field":"action_type","operator":"CONTAIN","value":"offsite_conversion.fb_pixel_complete_registration"}]&access_token=token
这篇关于Facebook营销API选择字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!