deleted_client - but it wasn't deleted at all..

49 views
Skip to first unread message

Gustavo Barreto Nakahara

unread,
Jul 19, 2019, 1:56:04 PM7/19/19
to AdWords API and Google Ads API Forum
Hi,

I don't know what else can I do.
  • Read all related threads;
  • A client WAS NOT deleted at first time;
  • Re-generated OAuth client a dozen times;
  • Called the local support phone;
  • Sent direct e-mail to googleadsa...@google.com

None of the above seem to have a working solution. I need to get this working

So, I have an API which was working fine until a few months ago and all of a sudden came up with the following error:

PHP Fatal error:  Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `401 Unauthorized` response:
{
  "error": "deleted_client",
  "error_description": "The OAuth client was deleted."
}

I'm absolutely sure NOTHING was changed in my company's account;

Is there any clue from anyone?

Google Ads API Forum Advisor Prod

unread,
Jul 22, 2019, 2:09:41 AM7/22/19
to adwor...@googlegroups.com
Hi Gustav,

Thank you for reaching out.

I can see that my colleague, Ben, is already assisting you on another thread. You may continue your discussion in your original thread instead for better tracking.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UEFSNR:ref

Gustavo Barreto Nakahara

unread,
Jul 22, 2019, 11:18:55 PM7/22/19
to AdWords API and Google Ads API Forum
Hi Dan,

I don't see the other thread, nor received any notification in my e-mail... seems like it has been deleted..

Would you please point me to that thread or help me on this one?

Google Ads API Forum Advisor Prod

unread,
Jul 23, 2019, 10:06:38 PM7/23/19
to adwor...@googlegroups.com
Hi Gustavo,

My apologies for the delayed response. You're using the AdWords API, which is perfectly fine, I was just curious for reference.

Based on the logs you shared it appears as though something is changing in the OAuth client, which is managed via the developer console here, I'm guessing that's the site you've been logging into to re-create this client when it gets deleted, is that right?

Do you know if another process or individual has access to the client and may be deleting it unknowingly? If not, and if you think it's an error with the developer console, you should reach out to their support team as those clients are totally separate from our API and we don't have access to those resources here. You can contact support by clicking on the main menu button in the top-left corner of the screen and selecting "Support"

Hope that helps.

Gustavo Barreto Nakahara

unread,
Aug 5, 2019, 3:22:31 PM8/5/19
to AdWords API and Google Ads API Forum
Took a while but i've figured out.

Actually the issue is with the AdWords API..
Something happened server side that blocked my access to the Adwords API.. because I started using the new Ads API with the same client id and it's all working fine now.

It's all good.
Thanks

Em sexta-feira, 19 de julho de 2019 14:56:04 UTC-3, Gustavo Barreto Nakahara escreveu:
Hi,

I don't know what else can I do.
  • Read all related threads;
  • A client WAS NOT deleted at first time;
  • Re-generated OAuth client a dozen times;
  • Called the local support phone;
Reply all
Reply to author
Forward
0 new messages