No access to API (AuthorizationError.SERVICE_ACCESS_DENIED) but ManagerAccount with Basic Access and Admin

2018-08-17 Thread pandata
Dear all,

I am trying to get reports from the AdWords API with python and I always 
get rejected with the error SERVICE_ACCESS_DENIED which means that I am not 
authorized to use the service (e.g. ReportDefinitionService).
I am using the googleads.yaml  file for authentication and checked the 
credentials serveral times (client_id, client_secret, refresh_token, 
developer_token).
The account to which I have access to via browser is a manager account 
linked to one customer account. My mail address is granted for an admin 
role.
Via the manager account I got the developer token with Basic access.

I noticed that this problem occurred for some other persons but they solved 
the problem privately. Could you please help?

https://groups.google.com/forum/#!searchin/adwords-api/SERVICE_ACCESS_DENIED|sort:date/adwords-api/XWIfIDWqRgY/J5seJ8ipBQAJ

https://groups.google.com/forum/#!searchin/adwords-api/SERVICE_ACCESS_DENIED|sort:date/adwords-api/DCBs6c0wFQc/R1K7AhwGDAAJ


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/201c4f73-5f29-4591-b794-95e800c8be42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthorizationError.SERVICE_ACCESS_DENIED | python | manager account + admin role + dev_token enabled

2018-08-17 Thread pandata
Dear all,

I simply try to  download some reports or only show available report's 
attributes/metrics via the ReportDefinitionService.getReportFields in 
python3 using the googleads library.

The error occurs as GoogleAdsServerFault: 
[AuthorizationError.SERVICE_ACCESS_DENIED @ ]

I already checked:

   - access to *.yaml file with credentials in it (client_secret, 
   client_id, refresh_token, developer_token)
   - account is a manager account (access to setup>API center)
   - I (the user) have an admin role
   - the account got a developer token with "Basic Access"

I searched within this forum and the problem seems to be apparent to a few 
persons but it has been solved privately.

I receive the error with my own code and also with code provided from the 
example webpage:
https://developers.google.com/adwords/api/docs/samples/python/account-management#get-the-account-hierarchy-under-the-current-account

Could you please help? Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/fdd4bb4b-a585-4034-8744-b8aea4e7ddfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.