Facebook Ads API错误 - 未启用使用 [英] Facebook Ads API Error - Not enabled for usage
问题描述
所以我一直在尝试创建一个使用Facebook Ads API来获取广告费用和统计信息的应用程序。我已经创建了一个应用,并将我的广告帐户ID添加到应用设置,但仍然收到错误:
So I have been trying to create an app that uses the Facebook Ads API to get ad costs and stats. I have created an app and added my ad account ids to the app settings but still get the error:
"error":{"message":"(#274) The ad account is not enabled for usage in Ads API. Please add it in developer.facebook.com -> application -> settings -> advanced -> advertising accounts -> Ads API. Account XXXXXXXXXXXXX not enabled for application XXXXXXXXXXXXX.","type":"OAuthException","code":274}}
任何理想为什么它仍然会给我这个错误?或者我可以通过这个步骤。
Any idear why it would still be giving me this error? Or how I can get through this step.
推荐答案
在开发模式下使用Ads API时,您需要指定AdAccounts您将在开发者控制台中使用。
When using the Ads API in development mode, you need to specify the AdAccounts you are going to use in the developer console.
有关详细信息,请参阅以下指南:
https://developers.facebook.com/docs/reference/ads-api/access#standard_accounts
See the following guide for more details: https://developers.facebook.com/docs/reference/ads-api/access#standard_accounts
这篇关于Facebook Ads API错误 - 未启用使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!