SOAP request and error AuthenticationError.OAUTH_TOKEN_INVALID

17 views
Skip to first unread message

YouTube Advertising

unread,
Jan 30, 2020, 7:20:06 AM1/30/20
to AdWords API and Google Ads API Forum
Good afternoon!
I test the request through postman, I attached 2 photos 1- the body of the request 2- this is the request itself and the values ​​in the header.
I get AuthenticationError.OAUTH_TOKEN_INVALID

When trying to call getCustomer ();

but the token is valid. What do i do?2gog_6.png

1gog_6.png


Google Ads API Forum Advisor Prod

unread,
Jan 30, 2020, 3:02:29 PM1/30/20
to one.sta...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to us. I see that you’re encountering the OAUTH_TOKEN_INVALID error. Can I confirm with you that you’ve filled in your developer token in the correct spot and that it’s the correct access token associated with your account? You should be able to get your developer token when you log into your manager account in the Google Ads UI, then click “Tools & Settings” > “Setup” > “API Center”, and it should list your developer token there. Please also make sure you’ve correctly obtained and put in your refresh token and OAuth credentials, as OAuth2 access expires after a limited time. For more information on OAuth credentials, you can see here. Let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team



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