Re: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-23 Thread Google Ads API Forum Advisor Prod
Hi Jia, Could you please verify your credentials by using the OAuth doctor? This tool will help you determine if your OAuth2 credentials are configured correctly, and if they are ready to make API calls. It will also guide you through fixing any OAuth2 problems it detects and verify the correct

Re: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-23 Thread jia Jimmy
After followed Quickstart guide, I'm still meeting the same error, here's my trial: # 1) got specified credentials flow = google_auth_oauthlib.flow.Flow.from_client_secrets_file( CLIENT_SECRETS_FILE, scopes=SCOPES, state=state)

Re: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-23 Thread jia Jimmy
Thanks for your replying, Nikisha. What I'm confused is that I can get a credentials object with refresh_token in the earlier steps, for refresh_token will automaticly generate access_token, then I could initialize a client onject. Am I right? # refresh_token Got in earlier steps # client_id

RE: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-22 Thread Google Ads API Forum Advisor Prod
Hi Jia, Thank you for reaching support. With regards to your concern, it looks like you have sent invalid authentication credentials while making call to API. This is the reason you are getting StatusCode.UNAUTHENTICATED error. Could you please verify if the correct credentials are used while m