Hi there,
@AdsAPI
I am trying to set up my first Ads campaign from the API, but I am encountering some issues.
I have a developer account,
Ads Api permissions,
an active app with proper permission.
I have authenticated on Postman by setting up the required keys on the Environment, but when I try to retrieve my account Id, I get an 401 error:
“code”: " UNAUTHORIZED_ACCESS",
“message”: “This request is not properly authenticated”
What could be the problem? I have already generated a new set of keys and replaced into the Environment, but still the same issue persist. I am a newbie so your help would be appreciated.
Thanks
Hello,
Thanks for reaching out. It seems like there is an issue on Postman itself. Could you instead try using twurl to retrieve the relevant data?
E.g. twurl -H ads-api.twitter.com "/11/accounts/<account_id>" | jq .