使用 Facebook Audience Network API,我有展示位置 ID,但没有展示位置名称
https://graph.facebook.com/v2.7/XXX/app_insights/app_event/?period=daily&event_name=fb_ad_network_imp&aggregateBy=COUNT&breakdowns[0]=placement&access_token=XXX
{
"time": "2016-09-21T07:00:00+0000",
"value": "36785",
"breakdowns": {
"placement": "176682892738688"
}
},
API 文档参考:
https://developers.facebook.com/docs/atlas-api/reference/api/placements/v2.11#readplacements
API请求:
https://graph.facebook.com/{API_VERSION}/{PLACMENT_ID}
但是这里的令牌不是您的用户令牌,来自文档:
需要具有 Atlas API 功能的用户访问令牌。 但阿特拉斯页面听起来被删除了。
我找到了一种从“https://business.facebook.com/pub/property/?business_id={business_id}&property_id={property_id}”的响应中获取令牌的方法
回复摘要str:
"require":
[
[ "WebApiApplication", "init",
[ "ReactRenderer", "PubXRootContainer.react",
"__inst_d496507d_0_0", "__elem_a588f507_0_0"
],
[ "{TARGET TOKEN}", "{ids}",{ "__m": "ReactRenderer" },
"constructAndRenderCompone