Hi, I am trying to connect to google ads account using oauth credentials 
but its giving this error - 
google.auth.exceptions.RefreshError: ('unauthorized_client: Unauthorized', 
{'error': 'unauthorized_client', 'error_description': 'Unauthorized'})

I have followed every step mentioned in the authorization guide (
*https://developers.google.com/google-ads/api/docs/oauth/overview* 
<https://developers.google.com/google-ads/api/docs/oauth/overview>) but 
still it isn't resolved - 

request - curl \

  --data "grant_type=refresh_token" \

  --data 
"client_id=271223269790-0bhptd0kiqehr12dbm817g99uir2gr56.apps.googleusercontent.com"
 
\

  --data "client_secret=GGOCSPX-_4XMD3chB6Nf5ysuU4zY1UVotv41" \

  --data 
"refresh_token=1//0gHUcpgnaEGcTCgYIARAAGBASNwF-L9IrmuwAa4uF0_qA5F9kiYp95vhe0BYsWXrK11P7u-V4I1DjaRcC7QZhTwANEZLxRI0pevg"
 
\

  https://www.googleapis.com/oauth2/v3/token

response - {

  "error": "invalid_client",

  "error_description": "Unauthorized"}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e7ea650f-1750-4e65-8111-dd112556646fn%40googlegroups.com.
  • Un... Sidhant Gaba
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to