需要帮忙。
我尝试从https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/ads-management/v2.3
创建的帐户。批准者为phone
。
创建了企业帐户、广告帐户、应用程序等。
像这样将应用程序链接到广告帐户https://developers.facebook.com/docs/marketing-api/access#standard_accounts
。
现在我尝试创建产品目录。我一直收到同样的错误:
The app is not whitelisted to use this API
我尝试调用 api 来创建/列出/管理产品目录。
当我这样做时,用户界面也是如此 - 我可以创建产品目录和提要。
但通过 API - 所有时间错误。
我不明白它需要什么?
现在尝试创建产品集:
GET /<product_catalog ID>/product_sets/?
access_token=<my access token from app with full rights get from exploer>
{
"error": {
"message": "(#200) The app is not whitelisted to use this API",
"type": "OAuthException",
"code": 200
}
}
尝试创建相同的:
POST : /v2.3/<product_catalog ID>/product_sets/?access_token=<my access token from app with full rights get from exploer>&name=my new prod set
{
"error": {
"message": "(#275) Ad account cannot be determined for this request",
"type": "OAuthException",
"code": 275
}
}
那么我需要进行哪些更改才能使其发挥作用?
有什么办法可以让api调用正常工作吗?
附注
我猜设置有问题 - 我在 SDK 中运行单元测试 - 也有同样的情况。我已经读过有关游戏应用程序的问题 - 但我的应用程序 - 不是游戏,所以我无法在我的情况下使用解决方案。
如果有人了解白名单 API 的需求 - 请帮忙!
谢谢。
希望这对其他人有帮助:我还尝试通过开发中的 API 创建产品目录,并得到“该应用程序未列入使用此 API 的白名单”。
我通过创建一个解决了这个问题admin系统用户,并生成访问令牌business_management
允许。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)