Facebook graph api 您的某些位置重叠。尝试删除一个位置。(Facebook营销API)
在Facebook营销API中,试图根据国家、州和城市获得估计的受众规模。 例如,我想知道居住在印度(“国家代码”:“in”)、马哈拉施特拉邦(“地区id”:“1735”)、孟买海军(“键”:“2677331”)的观众人数有多大。 我正在尝试的http请求是Facebook graph api 您的某些位置重叠。尝试删除一个位置。(Facebook营销API),facebook-graph-api,ads,facebook-ads-api,facebook-marketing-api,Facebook Graph Api,Ads,Facebook Ads Api,Facebook Marketing Api,在Facebook营销API中,试图根据国家、州和城市获得估计的受众规模。 例如,我想知道居住在印度(“国家代码”:“in”)、马哈拉施特拉邦(“地区id”:“1735”)、孟买海军(“键”:“2677331”)的观众人数有多大。 我正在尝试的http请求是 https://graph.facebook.com/v10.0/ad_acc_d/reachestimate?fields=users,estimate_ready&targeting_spec={"geo_locati
https://graph.facebook.com/v10.0/ad_acc_d/reachestimate?fields=users,estimate_ready&targeting_spec={"geo_locations": { "countries": [ "IN" ], "regions": [ { "key" : "1735" } ], "cities": [ { "key": "2677331"} ] } }
当我使用graph api explorer点击请求时,它说
"error_user_title": "Locations can't be used",
"error_user_msg": "Some of your locations overlap. Try removing a location."
我想根据国家、州和城市确定观众人数。有什么我遗漏的吗?您应该只提供您希望瞄准的最具体的位置,在本例中,是孟买纳维市(
“key”:“2677331”
)。相反,如果你想把整个马哈拉施特拉地区作为目标,那么就只提供这一点。印度也是如此
因此,如果您只针对城市,您的请求应如下所示:
act_{account_id}/reachestimate?fields=users,estimate_ready&targeting_spec={"geo_locations": { "cities": [ { "key" : "2677331" } ] } }