gpt4 book ai didi

Facebook Ads Api Request fails with #273 requires user to be admin

转载 作者:行者123 更新时间:2023-11-30 05:23:17 24 4
gpt4 key购买 nike

我正在尝试使用 Graph Api Explorer 查询 Facebook Ads API。我有两个关联的广告帐户(如果我查询 /me/adaccounts/,我会看到两个)一个是我自己的,另一个我只是管理员而不是所有者。

问题出在我不是所有者的那个上。如果我使用 /act_<ACT_ID/stats 查询我的 Adaccount如果我查询我得到的其他帐户,我会得到返回统计信息的正常响应:

(#273) This Ads API call requires the user to be admin of the ad account. User <MY_USER_ID> not admin on ad account <ACT_ID>.",

我可以在 Facebook Adsmanager 中看到两个 Adaccounts 都正常。

我为获得响应所做的是:

  • 创建 Facebook 应用
  • 在 developer.facebook.com -> myApp -> settings -> advanced -> advertising accounts -> Ads API 下添加 Adaccount。账号
  • 打开 GraphExplorer ( https://developers.facebook.com/tools/explorer/ )
  • 选择我创建的应用
  • 获取AccessToken(ads_management, ads_read)
  • 转到网址 me/adaccounts/
  • 如果我点击我的 adaccount 它会工作如果我点击另一个我得到 #273 错误

如果有人能指出正确的方向,我不明白我做错了什么,我将不胜感激。

最佳答案

这可能是因为您的广告帐户不活跃或信誉不佳。此外,如果您的广告帐户访问级别处于开发级别,则可能会出现这些类型的错误。请仔细阅读文档中提到的内容 here如果您将帐户升级到基本或标准访问级别,这将得到解决。

在开发访问级别上,仅建议端到端工作流。以下文字摘自 facebook 文档。

The development access level is designed for development purposes and is ideal for people who are just starting to build out their tool. In this level, you would not yet have customers using your tool. This level is open to all developers, and is intended to build out end-to-end workflows on the API before you get full permissions.

Facebook 错误报告中也报告了类似的问题。你可以看到线程 here

关于Facebook Ads Api Request fails with #273 requires user to be admin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28429695/

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