The OAuth client was deleted on its own? I'm sure I didn't delete it.

828 views
Skip to first unread message

scor...@gmail.com

unread,
Jun 16, 2017, 5:06:43 AM6/16/17
to AdWords API Forum

Hi, I experienced a weird thing, the API Credential - OAuth 2.0 Client ID I added for our AdWords application just got deleted on it's own. I created a new set a couple days ago and it was working fine, enabling us to download AdWords reports, but then early this morning we got bombarded by this error message: Failed to refresh access token. { "error" : "deleted_client", "error_description" : "The OAuth client was deleted." }

When I checked my added credential, it was gone. I already re-created the OAuth Client ID and generated our RefreshToken for .NET so it's OK now. But I want to know what may have caused it to be deleted on its own? Is there even a remote possibility of this happening? Or did I missed any requirements that may have caused it to expire? But it should have at least notify me... right?

To give a little background:

We used to use a different email where our OAuth Client ID credential was created into but that email was deleted and so we created a new gmail account to use. A couple of days ago we set-up this new gmail with the the OAuth 2.0 Client ID (Installed App type same as before), and was generated a RefreshToken for .NET using the latest library's generator (adwords_dotnet_lib_v21.1.0). That email is given a Read-Only access in our AdWords MCC (just like the previous email had) that enables us to query reports, and so our app was working again like before until I got that error this morning.

Again, it's fixed now, but I want to know possible reasons of it getting lost on its own so I know what to do (if there is something I can do).


Thank you in advance! ^__^

Shwetha Vastrad (AdWords API Team)

unread,
Jun 16, 2017, 11:54:37 AM6/16/17
to AdWords API Forum
Hi,

Glad to hear that you were able to recreate the OAuth2 credentials and continue using AdWords API to download reports. My guess is that a user with access to the API project may have deleted the credentials mistakenly. You could consider contacting Google API Console help for more details.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages