I apologise in advance if this question has been asked elsewhere or if it's a stupid question, but I'm desperate!
My goal
Create a POC which connects to a facebook sandbox ad account and tests what features are exposed in the API, such as uploading new video ads or creating ad campaigns.
The problem
I am following facebooks own getting started example for connecting with nodejs:
https://developers.facebook.com/docs/business-sdk/getting-started/#js
When i try to read from the AdAccount i get the following error:
(#278) Reading advertisements requires an access token with the extended permission ads_read
Under Marketing API -> Settings, it is possible to submit a request to be granted access. I think..? This part confuses me a lot.
In order for me to grant my access token the right to make calls requiring the ads_read
permission, a human person at facebook must first grant me the right to grant this right to my access token?? (Please tell me if I got this wrong, it feels like that has to be wrong).
Chicken and the Egg?
As part of this proces i have to provide detailed instructions on reproducing the required need for permissions and a screencast of the process.
However all i have at this point is the sample code provided by facebooks example. And i don't plan on developing anything for this until i can at least get their sample working, which i can't without being granted access to ads_read
it would seem.
I must have misunderstood something
It seems obvious that i must have misunderstood something, but what?
- Am i not supposed to follow the example from facebook called getting started? I that not the right example for getting started?
- Or am I trying to unlock the permission in the wrong place?
- Is the error just misleading?
- Or should i just complete the submission steps for ads_read and provide an empty screencast and say I'm just getting started?
Any help, clues, or link to guides that address this issue would be greatly appreciated. (Again i apologise if this question is very basic but I'm at the end of my rope here, thanks in advance)