Google.Apis.Auth.OAuth2.Responses.TokenResponseException: Error:"unauthorized_client"

592 views
Skip to first unread message

Reports1

unread,
May 12, 2022, 11:14:02 PM5/12/22
to Google Ads API and AdWords API Forum
Having issues with Unauthorized_Client Google Ads API
I am trying to migrate from AdWords API to Google Ads API, using same Token and OAth2 credentials that I successful used in the past with Google AdWords API.
Any suggestions how to resolve?

Google Ads API Forum Advisor

unread,
May 13, 2022, 4:14:41 AM5/13/22
to report...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API team.

Moving forward to your concern, "Having issues with Unauthorized_Client Google Ads API", so our team can better check and investigate this issue, could you provide the complete request and response logs with request ID and request header generated on your end?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2asVeW:ref

Reports1

unread,
May 19, 2022, 2:53:31 AM5/19/22
to Google Ads API and AdWords API Forum
Google Ad API team,
I responded privately to the author, so far I did not get a response yet.
Appreciate any help you can provide.
I can resend to another API team member if needed.
Thanks

Google Ads API Forum Advisor

unread,
May 19, 2022, 10:49:08 PM5/19/22
to report...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for providing more details to your concern. I am also a member of the Google Ads API team and let me provide support to your concern.

Since you've mentioned that your credential is working with the AdWords API, then it is not needed to create a refresh token as you can reuse it in the Google Ads API. However, it appears that your client library is not recognizing some of the authentication parameters that you've set in your client library. With this, I would suggest configuring your client library by following this link. This document can also help you in your configuration.

Let me know how it goes after.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2asVeW:ref
Reply all
Reply to author
Forward
0 new messages