Facebook 营销 API、获取见解字段和营销对象字段

Facebook Marketing API, Get Insights Fields and Campaign Object Fields

我想知道是否有人找到了一种方法来结合 daily_budget、lifetime_budget 等活动对象字段 + date_preset =this_month&time_increment=1?

图表 API Explorer INSIGHT:

act_NUMBER/insights?fields=account_id,account_name,campaign_id,campaign_name,buying_type,account_currency,spend,reach&date_preset=this_month&time_increment=1&level=campaign

我找到了一种结合洞察力从活动对象提取开始的方法,但无法获得每日结果。这就是我从 Insights 开始的原因。

图形 API 资源管理器对象:

CAMPAIGN_ID?fields=account_id,status,configured_status,daily_budget,lifetime_budget,budget_remaining,spend_cap,objective,buying_type,insights{account_name,campaign_id,campaign_name,buying_type,account_currency,reach,spend}&date_preset=this_month&time_increment=1&level=campaign

找到了我的问题的答案

CAMPAIGN_ID?fields=account_id,status,configured_status,daily_budget,lifetime_budget,budget_remaining,spend_cap,objective,buying_type,insights.date_preset(this_month).time_increment(1).fields(account_name,campaign_id,campaign_name,buying_type,account_currency,reach,spend)

更改内容:

insights.date_preset(this_month).time_increment(1).fields(account_name,campaign_id,campaign_name,buying_type,account_currency,reach,spend)