Accidentally deleted Client ID and Secret

126 views
Skip to first unread message

Kelly Heavican

unread,
May 4, 2020, 12:23:00 AM5/4/20
to AdWords API and Google Ads API Forum
Hello , 

         I'm facing issue while running API s as follows: 

 
     1) I use googleads.yaml file to update the refresh token. It stopped working on April 28th 2020. So I downloaded Oauth2client using PIP and refrehed the token using get_refresh_token.py code. However this refresh token did not work. 
     2) So I have refreshed the developer token and created another client id and secret. and using this info I refreshed the token again. But it gave the same error as invalid token and keep giving me the previous developer token.
     3) So now I deleted the client id and secret and created new one. I refreshed the developer token too. Using this info I put the new refresh token too and updated yaml file .
     4) Now when I run the api code , it gives me the following error ('deleted_client: The OAuth client was deleted.', u'{\n  "error": "deleted_client",\n  "error_description": "The OAuth client was deleted."\n}')
     5) My question is my code is still sending the request using previous client is and secret although I have updated it in yaml file , where should I update the code in cache so that code will send the soap request with new developer token, refresh token cleint id and secret ? 


Message has been deleted

Google Ads API Forum Advisor Prod

unread,
May 4, 2020, 1:04:41 PM5/4/20
to otc...@oriental.com, adwor...@googlegroups.com
Hi Kelly,

Thank you for reaching out. Can you please provide your MCC id so that I can further investigate the developer token attached to your account? Additionally, can you provide the complete detailed request and response logs from the API for when you try to refresh the developer token? 

Thanks,
Danica Calusin, Google Ads API Team 

ref:_00D1U1174p._5004Q1zJw1f:ref

Google Ads API Forum Advisor Prod

unread,
May 4, 2020, 1:06:58 PM5/4/20
to otc...@oriental.com, adwor...@googlegroups.com
Please ensure you "Reply privately to author" to ensure that this information remains protected.

Thanks,
Danica, Google Ads API Team 

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