【问题标题】:Facebook Insights API doesnt return the breakdown parameter passed to the request urlFacebook Insights API 不返回传递给请求 url 的细分参数
【发布时间】:2022-08-19 19:50:52
【问题描述】:

我正在尝试从 Facebook Insights API 中提取广告统计信息。我们一直在使用 API 提取数据,但我们需要细分我们在 IOS 和 Android 平台上的营销支出。

Facebook Graph API Explorer 中的 URL:act_XXXX/insights?level=campaign&breakdown=device_platform&fields=spend, clicks, impressions&time_range={\"since\":\"2022-08-01\",\"until\":\"2022-08-10\"}(为安全起见,已删除广告系列 ID 和广告系列名称字段)

我的问题是我指定的任何细分参数,我看不到响应的细分。上述请求的结果如下:

{
  \"data\": [
    {
      \"spend\": \"8174.08\",
      \"clicks\": \"5623\",
      \"impressions\": \"80958\",
      \"date_start\": \"2022-08-01\",
      \"date_stop\": \"2022-08-10\"
    }
  ],
  \"paging\": {
    \"cursors\": {
      \"before\": \"MAZDZD\",
      \"after\": \"MwZDZD\"
    }
  }
}

我究竟做错了什么?在 Insight API 的开发人员文档中,响应正文中还会返回指定的细分 https://developers.facebook.com/docs/marketing-api/insights/breakdowns#insights-api-breakdowns。

我提前感谢您的帮助。


更新: 我自己解决了。 故障参数应该是故障:)

    标签: facebook facebook-graph-api facebook-ads-api facebook-insights


    【解决方案1】:

    有什么解决办法吗?否则是否有可能获得故障(device_platform)?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-19
      • 2021-10-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多