Error "Account has been deleted"

3,010 views
Skip to first unread message

Dev Guia Fácil

unread,
Mar 3, 2020, 6:42:22 AM3/3/20
to AdWords API and Google Ads API Forum
Hi! 

After deleting my old google account, the following message appeared in my email:
  • Erro: Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Account has been deleted" }
  • Code: 400
  • Arquivo: /var/www/intranet/application/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
  • Linha: 111
  • Data: 03/03/2020 08:30:02

Well, i created another account and updated my oauth2 token with the new account, but it had no effect, 
what can i do to solve my problem?

Google Ads API Forum Advisor Prod

unread,
Mar 3, 2020, 2:39:53 PM3/3/20
to adwor...@googlegroups.com

Hello,

Thank you for reaching out. Could you please confirm whether the MCC account associated with the customer against which you are trying to make the API calls was deleted on your end? If yes, I recommend you to generate a new OAuth2 credentials by selecting a new user with admin/standard access from the new manager account. The guide includes the "Configure and use a client library" section which has a step-by-step guide in generating the refresh token depending on the client library that you are using. If you are still facing issues, please share the complete request and response logs along with the email address used to generate the OAuth2 credentials for me to investigate this further on our end.

P.S. Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



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