RE: Google Ads API Insufficient authentication scopes error

2021-06-22 Thread Google Ads API Forum Advisor
Hello, Thanks for reaching out. The PERMISSION_DENIED error is usually due to one of the following: you are authenticating as a manager, but did not specify that manager account ID in the login-customer-ID in the request header the email used to create the OAuth credentials does not have the

Re: Google Ads API Insufficient authentication scopes error

2021-06-20 Thread 'Daniel Chen' via AdWords API and Google Ads API Forum
Hi Sriram, Are you using restful API or client libraries? I have tried the restful API and get the reports successfully. Some notes might be helpful for you: 1) The clientCustomerId is a long value, not a string, without "-" 2) Need to pass the login-customer-id=6642246847 if the account is marin

Google Ads API Insufficient authentication scopes error

2021-06-19 Thread Sriram Sivaraman
Hello, I am trying to use the Google Ads API to try and get reports from Google ADs. I am using the code similar to this. https://developers.google.com/google-ads/api/docs/reporting/example I also have a basic access to the Google Ads Account. Everytime I run the script to get reports I get the