Warm tip: This article is reproduced from serverfault.com, please click

facebook-我如何才能获得完全符合目标ID的受众群体规模?

(facebook - How can i get audience size of exactly target ID?)

发布于 2020-12-01 02:52:32

我有一个这样的图facebook url

https://graph.facebook.com/v8.0/act_ad_account_id/targetingsuggestions?targeting_list=[{'type':'interests','id':123456}]&access_token=my_access_token

但是此url不能完全响应我想要的目标ID信息,它总是返回具有多个目标ID的数据列表(甚至没有我想要搜索的ID)

Questioner
igris
Viewed
0
Matteo 2020-12-01 15:40:44

广告帐户Targetingsuggestions端点检索对于给定的目标规格的建议。

如果已经有了ID,则可以在端点中简单地使用ID,例如:

https://graph.facebook.com/v8.0/<interest_id>

例如:

curl -i -X GET \
 "https://graph.facebook.com/v8.0/6003584163107?access_token=<token>"


{
  "id": "6003584163107",
  "name": "Advertising",
  "audience_size": 547950040,
  "path": [
    "Interests",
    "Business and industry",
    "Advertising"
  ],
  "description": "",
  "topic": "Business and industry"
}