1

我正在编译一个类似的 URL

  https://graph.facebook.com/v2.5/<campaign id>/insights?since=2015-08-10&until=2015-11-13&time_increment=1&access_token=<valid token>

即使在 GRAPH 资源管理器中,此查询也会返回明显超出给定日期范围的数据。将某些奇怪的东西设置为“直到”日期会导致错误,但我没有让它以某种方式工作,结果在给定范围内。即我得到“2015-04-21”的行。

我错过了什么?

4

3 回答 3

0

尝试将 time_range 参数添加到请求中,例如:

&time_range[since]=2016-02-15&time_range[until]=2016-02-16
于 2016-03-03T13:59:05.310 回答
0

将洞察力作为一个对象而不是一个领域~

https://graph.facebook.com/v2.5/<campaign id>/insights/since=2015-08-10&until=2015-11-13&access_token=<valid token>
于 2016-06-02T17:03:27.403 回答
0
ad_account_id/ads?fields=insights.time_range({"since":"2017-11-01","until":"2017-11-23"}){ad_id,reach,ad_name,impressions,clicks}&breakdowns=publisher_platform

使用insights.time_range({"since":"2017-11-01","until":"2017-11-23"}). 它对我有用。

于 2017-11-24T14:13:09.367 回答