RE: "error": "unauthorized_client", "error_description": "Unauthorized"

2022-08-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Will, To debug authentication access issues you while bypassing client library issues you may try generating a refresh tokek ny following our OAuth Playground guide. and add a scope of 'https://www.googleapis.com/auth/userinfo.email' besides the Ads API scope of 'https://www.googleapis.com/a

RE: "error": "unauthorized_client", "error_description": "Unauthorized"

2022-08-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Will, Did you place all your credentials created with OAuth Desktop and Web Application Flows in placeholders in google_ads_php.ini without extra spaces? Is the google_ads_php.ini file in the home directory? Regards, Aryeh Google Ads API Team ref:_00D1U1174p._5004Q2dmQ1K:ref -- -- =~=~=~

Re: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-18 Thread Google Ads API Forum Advisor
Hi Nobuyoshi, Thank you for providing updates to our team. I can see that you are using a third-party tool, with this, I am afraid that we wouldn't be able to provide support if issue was encountered there. However, that third-party tool should also performing the steps discussed here on its b

Re: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-17 Thread Nobuyoshi Shimmen
Hi, I just checked the accessToken with the following url `https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=` and found out the scopes are somehow different than normal ones. We are going to dig into this. Thanks for your time. Best, 2021年8月18日水曜日 11:00:45 UTC+9 Nobuyoshi Shimmen: >

Re: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-17 Thread Nobuyoshi Shimmen
Hi again, We are using the same client credentials but still we got this error: AuthenticationError.OAUTH_TOKEN_INVALID I dumped out the content of request and response where I replaced some confidential info with xxx We are using this package `https://pkg.go.dev/golang.org/x/oauth2` to genera

Re: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-17 Thread Nobuyoshi Shimmen
Hi, I was wrong. We're not using the sale credentials. Sorry for taking your time. Thanks, 2021年8月18日水曜日 9:57:50 UTC+9 Nobuyoshi Shimmen: > Thanks for your response. > > Yes, we are using the same client credentials(clientId, clientSecret). > > Best, > > 2021年8月18日水曜日 2:59:59 UTC+9 adsapi: > >>

Re: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-17 Thread Nobuyoshi Shimmen
Thanks for your response. Yes, we are using the same client credentials(clientId, clientSecret). Best, 2021年8月18日水曜日 2:59:59 UTC+9 adsapi: > Hi, > > Are you using the same client when authorizing in the application and when > updating the token on the server? I recommend double checking the cl

RE: { "error": "unauthorized_client", "error_description": "Unauthorized" }

2021-08-17 Thread Google Ads API Forum Advisor
Hi, Are you using the same client when authorizing in the application and when updating the token on the server? I recommend double checking the client credentials. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2LnpzF:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: "error": "unauthorized_client", "error_description": "Unauthorized"

2016-10-03 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi, Were you able to follow these steps to generate your refresh token? Please ensure you are using the correct client ID in your properties file. One thing to note when