3

在 Facebook Marketing API 中,如何通过演示标准的组合获得估计的受众规模?我应该使用哪个端点以及如何编写 html 获取请求?

例如,我想知道居住在美国、年龄在 14-35 岁之间、女性、对{棒球、...}感兴趣的人的受众规模有多大

我在此页面上看到: https ://developers.facebook.com/docs/marketing-api/targeting-search/v2.9

您可以在一个特定的兴趣范围内获得受众规模,但我想知道多种条件下的受众规模。

这是我试图从 API 获得的数字

4

3 回答 3

2
var geoLocation = ["USA", "MA", "FR"];
var adAccountId = act_12354891531684;
var age = [18, 65];


https://graph.facebook.com/v3.3/'+adAccountId+'/reachestimate?fields=users,estimate_ready,unsupported&targeting_spec={"geo_locations":{"countries":'+geoLocation+'},"age_min":'+age[0]+',"age_max":'+age[1]+'}&access_token=XXXXxxx

这可能会有所帮助

于 2019-08-17T08:36:08.553 回答
0

完成这项工作!

https://graph.facebook.com/v2.10/act_ADACCOUNTID/delivery_estimate?access_token=ACCESSTOKEN&optimization_goal=POST_ENGAGEMENT&targeting_spec= {“geo_locations”:{“location_types”:[“home”,“recent”],“countries”:[” US"]},"age_min":18,"age_max":65,"publisher_platforms": ["facebook"],"facebook_positions": ["feed"],"device_platforms": ["mobile","desktop"] ,"targeting_optimization":"none","flexible_spec": [{"interests": [{"id":"6003107902433","name":"Association football (Soccer)"},{"id":"6003087413192" ,"名称":"棒球"}]}]}

于 2018-01-12T22:46:52.017 回答
0

对于您正在寻找的数字,正确的端点实际上是 /reachestimate 并通过与 delivery_estimate 一样的定位规范。

https://developers.facebook.com/docs/marketing-api/reference/ad-account/reachestimate/

于 2018-11-17T11:53:45.917 回答