Hello,

I'm trying to authenticate to the Google Ads API with a service account. 

But I have this error:

 errors {
  error_code {
    authentication_error: NOT_ADS_USER
  }
  message: "User in the cookie is not a valid Ads user."


I followed these steps : 

- Get a dev token and create a test account
- Use php google library 
- Create service account (get the JSON file)
- Delegate domain-wide authority with scope 
(https://www.googleapis.com/auth/adwords)

The user who had generated the dev token is an admin in our google ads 
account.

As soon as I try to make a request with the production or test customer id 
I get this error.

Thanks for your help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a085932a-f11d-44e1-8c82-9fc7df061419n%40googlegroups.com.

Reply via email to