How to get a list of product catalogs from a business manager with development access?

I have a developer account and created the application in development mode, just for testing purposes. I also created a business manager at business.facebook.com and added my test application to it. I also have an account that is being added to the business manager. I also added an account identifier to my application under Advanced --> Advertising Accounts --> Authorized accounts .

However, when I use the Facebook APIs and install it to use the created application, then make a call to /v2.3/[BUSINESS_ID]/product_catalogs , I get the following error:

 "message": "(#275) Ad account cannot be determined for this request", 

If I call the account directly, in /v2.3/act_[adaccountId] , I can see the account information exactly.

If I create the product catalog myself in the business manager, then call the endpoint for detailed information on the product catalog in /v2.3/[product_catalog_id] , I get the following:

 "message": "(#200) The app is not whitelisted to use this API", 

If I go to directories for which I am an administrator, and for applications for which I am an administrator and use development access, why does he need whitelists?

+2
source share
1 answer

The problem here is, as you said, your application is in the Development Level for the Ads API. There are 3 levels to the ad API:

  • State of the art
  • Main level
  • Standard level

All of them are described in the documentation API Marketing Access Levels . To access any part of the business manager API, your application will need access to standard levels.

I would recommend that you follow the instructions in the documentation to advance up the levels, and when you think you're ready, you can apply for a Standard Access Level

+6
source

Source: https://habr.com/ru/post/983633/


All Articles