Hi Jason,
Thank you for reaching out to us. I see that you're trying to test the API using a test account. I see that you currently have a
developer token with test account level access. This means that it can be used to call accounts that are test accounts. Could you make sure you've done the following below?
1. Have you followed
these steps to create a test account and manager test account?
2. Are you using our
client libraries? They all have examples preset to easily access the API.
3. Have you set up your
client credentials for your account? Make sure that your user has been given correct access to the account you're trying to access. You can see if you have correct access by logging into the account you want to access in the UI, and then click "Tools and Settings" > "Setup" > "Account Access", and check if your email address is set under "Users".
4. Have you obtained your
refresh token?
For the errors you're encountering, you can see what they mean below.
1. "
Developer token not approved" means that you're using your test account level developer token to access production level accounts (not test accounts). You should make sure you're either making calls to test accounts or upgrade your developer token to
basic level access.
2. "
User Permission Denied" means that the link between the manager and client account was removed or that your OAuth credentials are for a user who does not have access to the client customer ID specified or any of its manager accounts. For this issue, could you provide me with your request and response logs for where this error occurs?
Let me know if you have further questions.
Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5004Q1zrcQA:ref