Hi,
We are trying to access a user's AdSense report, the user has allowed us to access his AdSense & AdWords and we have the refresh token, we call the "OAuth2.refreshAccessToken" to get access token, it is OK. Then we use the access token to call AdSense API, the API version we are using is v1.4, and language is Nodejs.
When we trying to call adsense.adClients.list(...), it returns
{ [Error: Invalid Credentials]
code: 401,
errors:
[ { domain: 'global',
reason: 'authError',
message: 'Invalid Credentials',
locationType: 'header',
location: 'Authorization' } ] }
Our code works well for other users' refresh token, but for this user it always failed with above error, how it happens and how can we fix it?
Thanks,