The OAuth client was deleted error

54 views
Skip to first unread message

Kajal Baviskar

unread,
Apr 8, 2024, 5:13:19 AM4/8/24
to Google Ads API and AdWords API Forum

Hello team, 

I tried testing the Google Ads API with the code snippet provided in official documentation of Google Ads API but I consistently receiving an error message which says "google.auth.exceptions.RefreshError: ('deleted_client: The OAuth client was deleted.', {'error': 'deleted_client', 'error_description': 'The OAuth client was deleted.'})". Could you please help us with this.



Google Ads API Forum Advisor

unread,
Apr 8, 2024, 9:17:11 AM4/8/24
to kajal1....@gmail.com, adwor...@googlegroups.com
Hi,

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

By reviewing your concern, I understand that you are getting a deleted_client error. This error indicates that the OAuth client was deleted. This might be because the developer didn’t properly register their app with Google. I would suggest you check Troubleshoot Sign in with the Google help center article for the troubleshooting steps which can be followed when you have sign-in issues.

I would suggest to re-generate the OAuth credentials (client ID and secret) if possible. After regenerating those credentials, generate a new refresh token and retry your API request. Additionally you can refer to the Set up a Google API Console project documentation for more information.

I hope this helps. Kindly get back to us if you have any further queries.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tOvHT:ref" (ADR-00230308)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages