API error - 'deleted_client' - The OAuth client was deleted

31,314 views
Skip to first unread message

mi...@chaseandcoadvertising.co.uk

unread,
Apr 14, 2015, 8:52:50 AM4/14/15
to adwor...@googlegroups.com
Hi 

I'm new to the Google Adwords API and so far have managed to get the refresh token by running 'GetRefreshToken.php' via the command line. 

However, when trying out one of the recommended examples - GetCampaigns.php I get the following error - 

An error has occurred: {

  "error" : "deleted_client",

  "error_description" : "The OAuth client was deleted."

}

Has anyone else had this problem? 

Thanks



Danial Klimkin

unread,
Apr 14, 2015, 10:19:17 AM4/14/15
to adwor...@googlegroups.com
Hello,


It looks like your OAuth client on the console (https://console.developers.google.com/) got deleted.

You need to restore (if possible) or re-create it.


-Danial, AdWords API Team.

mi...@chaseandcoadvertising.co.uk

unread,
Apr 15, 2015, 6:53:52 AM4/15/15
to adwor...@googlegroups.com
Hi Danial,

Thanks, I re-created the client and that's now resolved.

However I've now come across a new problem which is -

QuotaCheckError.INCOMPLETE_SIGNUP

From looking at the documentation it suggests that this is because my developer token hasn't yet been approved and I am using production credentials to test against, or that I haven't yet confirmed the terms and conditions when setting up the billing info on the test MCC account.

The thing is I am using the test credentials. None of the production credentials are being used apart from the developer token, and I did agree to the terms, but it's still giving this error?

Cheers

Miles



Danial Klimkin

unread,
Apr 15, 2015, 7:01:42 AM4/15/15
to adwor...@googlegroups.com
Hello Miles,


Did you accept T&C for the production MCC account? As the token "belongs" to it, it needs to be signed for this MCC regardless of which account you use it for.


-Danial, AdWords API Team.

mi...@chaseandcoadvertising.co.uk

unread,
Apr 15, 2015, 7:53:37 AM4/15/15
to adwor...@googlegroups.com
Hi Danial,

I have setup billing and agreed to terms on the production MCC also but still getting the error.

Thanks

Danial Klimkin

unread,
Apr 15, 2015, 8:19:03 AM4/15/15
to adwor...@googlegroups.com
Hello Miles,


What is the MCC account CID? (e.g. 123-456-7890)


-Danial.

mi...@chaseandcoadvertising.co.uk

unread,
Apr 15, 2015, 8:36:37 AM4/15/15
to adwor...@googlegroups.com
Hi Danial,

The Client ID is 233-490-7032

Thanks

Danial Klimkin

unread,
Apr 15, 2015, 9:06:52 AM4/15/15
to adwor...@googlegroups.com
Hello,


I was referring to the production MCC you've requested the token for. The ID you supplied is a non-MCC test account.


-Danial, AdWords API Team.

mi...@chaseandcoadvertising.co.uk

unread,
Apr 15, 2015, 9:27:10 AM4/15/15
to adwor...@googlegroups.com
Sorry, wrong one - 

production MCC: 789-225-9302

test MCC: 842-480-1224

Thanks

Danial Klimkin

unread,
Apr 15, 2015, 11:13:36 AM4/15/15
to adwor...@googlegroups.com
Hello,


This account doesn't have API T&C accepted. Please reach out to the review team for instructions on how to sign it.



-Danial, AdWords API Team.

mi...@chaseandcoadvertising.co.uk

unread,
Apr 15, 2015, 12:04:47 PM4/15/15
to adwor...@googlegroups.com
Thanks for your help Danial, I've have made a request.

I must be missing something because following the instructions, it says simply click the gear icon > billing >preferences, but I only see Billing Summary, not Billing, and it just refreshes the page. 

The closest I found was to setup a client, then go into billing and add a payment method. I thought by agreeing to the terms presented there, that was what was required. 

Will await their response, thanks 

Danial Klimkin

unread,
Apr 16, 2015, 10:58:20 AM4/16/15
to adwor...@googlegroups.com
Hello,


The billing flow has changed just this Tue as we no longer require billing information for the API access.

The reviews team should be able to assist you in this case.


-Danial, AdWords API Team.

Ravi Aadepu

unread,
Jun 1, 2016, 1:24:25 PM6/1/16
to AdWords API Forum
I have re-created new project and updated the client id and client secret but still i am getting same error 

Error: deleted_client

The OAuth client was deleted.


Please help me


Thanks in advance

Ravi.

Danial Klimkin

unread,
Jun 3, 2016, 8:39:16 AM6/3/16
to AdWords API Forum
Hello Ravi,


Please start a new thread on the forum instead of answering an unrelated thread.

Thank you.


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages