Hi John, 

The error NOT_ADS_USER 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER>
 means 
that the credentials used for authorizing the API call do not belong to a 
user who has an AdWords account. Could you confirm if you followed all the 
steps listed 
<https://developers.google.com/adwords/api/docs/guides/authentication#oauth2_service_accounts>
 in 
the guide? Also, note that you need to specify the service account email id 
and the actual path to the key file as described in this 
<https://github.com/googleads/googleads-python-lib/wiki/API-access-using-own-credentials-(server-to-server-flow)>
 guide. 

Is there a specific reason why you are trying to use the OAuth setup using 
service accounts? We recommend this approach only if you need domain 
specific features like impersonation. In all other cases we strongly 
recommend using installed app or web flows 
<https://developers.google.com/adwords/api/docs/guides/authentication#determine_your_app_type>.
 
If you are concerned about manually accepting the prompt while setting up 
OAuth, please note that it is a one time operation. Once the prompt is 
accepted, no manual intervention is required. By saving the refresh token, 
you can make your code renew the access token for every subsequent API 
calls.

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c30cd326-7a04-4d4b-9b2a-2f921db14dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [Python]... john
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to