Facebook Marketing API广告见解 [英] Facebook Marketing API Ads Insights

查看:351
本文介绍了Facebook Marketing API广告见解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试通过营销应用程序访问我的广告/广告系列/广告帐户的所有见解(点击次数,展示次数等).我生成的令牌具有ads_managementads_readread_insightsmanage_pages的权限.

I'm currently trying to access, through my marketing app, all the insights of my ads/campaings/ads account (clicks,impressions,etc). The tokens I generate has permissions for ads_management,ads_read,read_insights and manage_pages.

尽管如此,我总是得到这个答案:

Nevertheless, I always get this answer:

{"data":[],"paging":{"cursors":{"before":"MAZDZD","after":"LTEZD"}}}

(发布

curl -G \
-d "fields=impressions" \
-d "access_token=my_access_token" \
"https://graph.facebook.com/v2.8/act_MyAccountNumber/insights"

然后在报告ID完成后使用报告ID进行获取

And then make a get using the report id, when the report id is completed)

我将我的帐户添加为该应用程序的管理员,并将其添加到授权广告帐户ID"列表中.

I added my account as admin of the app and also added it in the Authorized Ad Account IDs list.

我的应用程序具有开发级别的访问权限.

My app has development level access.

我做错了什么?

推荐答案

您确定最近有印象吗?
因为当尝试使用默认 date_preset 即30天:

Are you sure you had impressions recently?
Because I observe similar thing when try to access it with default date_preset that is 30 days:

> get "act_*****/insights", "impressions"
=> []
> get "act_*****/insights?date_preset=lifetime", "impressions"
=> ["11"]

这篇关于Facebook Marketing API广告见解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆