Facebook 广告预算估算(reach estimate cpm)

Facebook ad budget estimate (reach estimate cpm)

我的任务是了解如何使用 Facebook 广告 api 来估算覆盖特定受众的预算。我相信我正在寻找估计的每日到达率或可能的交付估计值。我正在寻找类似 this one from here:

的回复
"data": {
      "users": 14600000,
      "bid_estimations": [
         {
            "unsupported": false,
            "location": 3,
            "cpa_min": 79,
            "cpa_median": 145,
            "cpa_max": 195,
            "cpc_min": 45,
            "cpc_median": 70,
            "cpc_max": 87,
            "cpm_min": 8,
            "cpm_median": 20,
            "cpm_max": 27
         }
      ],
      "estimate_ready": true
   }
}

到目前为止我的代码:

with open('secrets.json') as f:
    secrets = json.load(f)

FacebookAdsApi.init(
    secrets['app_id'],
    secrets['app_secret'],
    secrets['access_token']
)

me = AdAccountUser(fbid='me')

my_account = me.get_ad_account()

targeting_spec = {
    'geo_locations':{
        'countries':['US'],
    },
    'age_min': 20,
    'age_max': 40,
}

promoted_object = {
    'application_id':   secrets['app_id'],
    'page_id':          secrets['page_id']
}

params = {
    'promoted_object': promoted_object,
    'optimize_for': AdSet.OptimizationGoal.offsite_conversions,
    'targeting_spec': targeting_spec,
}

account_reach_estimate = my_account.get_reach_estimate(params=params)
print(account_reach_estimate)

但我收到以下缺少出价估算的回复:

[<ReachEstimate> {
    "estimate_ready": true,
    "users": 128000000
}]

总而言之,我正在从 reachstimate 寻找每千次展示费用出价估算值,但没有返回。

Ad Account Reachestimate seem to show the result you are getting. Using Ad Account Delivery Estimate 的示例给出了 bid_estimate 的响应:

account_delivery_estimate = my_account.get_delivery_estimate(params=params)

结果:

[<AdAccountDeliveryEstimate> {
    "bid_estimate": {
        "max_bid": 1998,
        "median_bid": 1536,
        "min_bid": 1242
    },
    "daily_outcomes_curve": [
        {
            "actions": 0,
            "impressions": 0,
            "reach": 0,
            "spend": 0
        }
    ],
    "estimate_dau": 75052199,
    "estimate_mau": 129000000,
    "estimate_ready": true
}]