Hi,
I got the below error
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: 
`POST https://www.googleapis.com/oauth2/v4/token` resulted in a `401 
Unauthorized` response:
{
  "error": "unauthorized_client",
  "error_description": "Unauthorized"
}

but when I try to run this
curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=MCC_refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

I runs successfully and gives me the access token.
but when try to download report it gives above error 'unauthorized_client'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/97b49335-fe7e-4099-a3be-abdd20c3b289%40googlegroups.com.

Reply via email to