Ad-Library-API-Script-Repository
Ad-Library-API-Script-Repository copied to clipboard
Application doesn't have permission for this
Is this an access token issue or something else? Can someone help out? My ID is confirmed too.
{"error":{"message":"Application does not have permission for this action","type":"OAuthException","code":10,"error_subcode":2332002,"is_transient":false,"error_user_title":"Authorization and login needed","error_user_msg":"To access the API, you'll need to follow the steps at facebook.com\/ads\/library\/api.","fbtrace_id":"AdnFHKk6D9J0eBf10RJY3FU"}}%
Do we need to give any specific permissions? I tried ads_read and ads_management.
This looks like your ID confirmation might not have gone through? Try double checking Facebook.com/ID (found from the Ad Library API home page).
The requirement is documented in the ad library api page. (https://www.facebook.com/ads/library/api)
You issue seems to be an access token issue.
are you able to make a successful query in this UI tool? https://developers.facebook.com/tools/explorer/
If yes, then you can copy that access token. If not, then double check steps mentioned in the ad library api page.
If the issue still exists, probably submit a bug report to the https://developers.facebook.com/support/bugs/
I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE I WAS FACING THIS ISSUE AND WHAT I DID TOOK 5 MINTS TO SOLVE