Hi Team, 

We are getting a 401 response with an "authenticationError": "NOT_ADS_USER" 
when trying to listAccessibleCustomers. We are using the OAuth web flow and 
we see the call work for some of our users but not for others. 

We have one user who ensures us that he has a working Google Ads account 
and yet we get the response mentioned above. 

When we check his refresh token against 
https://www.googleapis.com/oauth2/v3/token we get a valid access token and 
the confirmation of the "https://www.googleapis.com/auth/adwords"; scope as 
a response. 

The call not only fails on our Java backend, but also when we try it via 
postman to the following endpoint: 
https://googleads.googleapis.com/v11/customers:listAccessibleCustomers

Here's the response body of that call, which is identical to what we see in 
our Java backend: 
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected 
OAuth 2 access token, login cookie or other valid authentication 
credential. See 
https://developers.google.com/identity/sign-in/web/devconsole-project.";,
"status": "UNAUTHENTICATED",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authenticationError": "NOT_ADS_USER"
},
"message": "User in the cookie is not a valid Ads user."
}
],
"requestId": "fHp6fvgWp3u627Da-Cv1uQ"
}
]
}
}

Any help is much appreciated! 
Dylan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9505d506-a97f-4519-bdeb-2cfa27540fcbn%40googlegroups.com.
  • NO... Dylan
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to