Hello Brijesh,
The error usually occurs when you're using the incorrect set of OAuth
credentials. Could you check if you have provided the correct client
credentials (client Id, client secret) and the OAuth token? If you are not
sure, you could try generating a new refresh token by following the
instructions provided here
<https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)>
.
To validate the credentials that you're using, you could also try the CURL
request provided below and see if you are able to generate the access
tokens. If the credentials are correct, you should get an access token for
the below request.
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
Please give this a try and let me know how it goes.
Regards,
Bharani, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/ug1g8nreqo00000080bt0m0011u4sox74mj8dpi60o30c1g68r3cchn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.