RE: 401 Unauthorized when I try to access with old developer ads.properties file

32 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2021, 11:27:24 PM3/30/21
to bharg...@gmail.com, adwor...@googlegroups.com
Hi Bhargav,

Thank you for posting your concern.

I would like to inform you that I am going to delete your initial post as it contains generated logs on your end. Let me post the body of your concern here on my reply.

Moving forward, the old production developer token can still be used in the API request of Google Ads API. However, it appears that there is an issue with setting up the Oauth2 credential based on the error. With this, I would suggest following this guide and skip Obtain Your Developer Token step as you already have a developer token.

If the issue persists, please provide the following details via Reply privately to author option to further investigate:
Also, I noticed that you are still using v3 API version which was sunset already, with this, I would suggest upgrading to the newest version.

"I am new to google ads api, old developer in our company has setup the developer token, client ID, client secret from his google account. As the old developer left now if I use his ads.properties file in my local to create an api it says 401 Unauthorized. So I have requested a MCC account and created a new developer token, client id and client secret from the google developer console. When I try to apply for basic access it says our organization has already an approved developer token. I do not have the old account details, how do I continue. Please help and please see the logs below , this is when I use old developer's ads.properties details."

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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