gpt4 book ai didi

facebook - 如何检索展示位置的名称(Facebook Audience Network)

转载 作者:行者123 更新时间:2023-11-30 05:19:27 25 4
gpt4 key购买 nike

通过 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}/{PLACEMENT_ID}

但这里的 token 不是您的用户 token ,来自文档:

A user access token with Atlas API capability is required.

但 Atlas 页面听起来已被删除。

我找到了一种从“https://business.facebook.com/pub/property/?business_id=”的响应中获取 token 的方法{bussiness_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

enter image description here

关于facebook - 如何检索展示位置的名称(Facebook Audience Network),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39850479/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com