【问题标题】:Some of your locations overlap. Try removing a location. (Facebook marketing API)您的某些位置重叠。尝试删除位置。 (Facebook 营销 API)
【发布时间】:2021-06-17 15:56:34
【问题描述】:

在 Facebook Marketing API 中,尝试根据国家、州和城市估算受众规模。 例如,我想知道居住在印度(“country_code”:“IN”)、Maharashtra(“region_id”:“1735”)、Navi Mumbai(“key”:“2677331”)的人们的受众规模有多大。 我正在尝试的http请求是

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."

我想根据国家、州和城市获取受众规模。有什么我遗漏的吗?

【问题讨论】:

    标签: facebook-graph-api ads facebook-ads-api facebook-marketing-api


    【解决方案1】:

    您应该只提供您希望定位的最具体的位置,在本例中为新孟买市 ("key": "2677331")。相反,如果您希望针对整个马哈拉施特拉邦地区,请提供该内容,并且仅提供该内容。印度也是如此。

    因此,如果您只定位城市,您的请求应如下所示:

    act_{account_id}/reachestimate?fields=users,estimate_ready&targeting_spec={"geo_locations": { "cities": [ { "key" : "2677331" } ] } }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多