Facebook 广告 Api:你能以 15 分钟为间隔获取 CPI 的时间序列吗?

Facebook Ads Api: Can you Get Timeseries of CPI in 15 minutes intervals?

我刚刚开始玩 API,这是我第一次尝试使用 facebook 广告 api。我正在查看文档,可以了解如何提取所有每次操作成本数据。现在,我对特定广告系列、广告集和广告的 CPI(每次安装成本)数据非常感兴趣,间隔为 15 分钟。

有谁知道当前的 API 是否可行?

您可以通过 Ads Insights Api 获取报告统计数据: https://developers.facebook.com/docs/marketing-api/insights/v2.5

如您所述,您可以通过在请求中请求 cost_per_action_type 字段来获取每次安装成本数据。

例如,调用 v2.5/<AD_SET_ID>/insights?fields=['cost_per_action_type']

将移动应用安装费用作为响应的一部分

{
  "data": [
    {
      "cost_per_action_type": [
       {
         "action_type": "mobile_app_install",
         "value": ...
       }
    ],
    "date_start": ...,
    "date_stop": ...
  }
}

只要您在 api 速率限制内,您就可以自行决定拨打 api 个电话:https://developers.facebook.com/docs/marketing-api/api-rate-limiting