I am trying to setup a class for managing google ads accounts (i.e. create 
sub accounts under a manager, edit their settings etc.) However I keep 
getting this error when I try and create a new user

"User doesn't have permission to access customer. Note: If you're accessing 
a client customer, the manager's customer id must be set in the 
'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
"

I am using the manager accounts login id in the yaml file as well as the 
managers client-id , secret, and refresh token. With this manager account I 
was successful in linking an already existing account to it, however I 
created two new sub accounts (where I am the owner) through the dashboard, 
and when I use  customer_service.list_accessible_customers I only see the 
one pre-existing account that I linked and not the two other accounts which 
I created and own.

Why is it that through the dashboard I can create users, but for some 
reason I dont have permission to create users through the python API. This 
is a link to the method I'm using

https://developers.google.com/google-ads/api/docs/account-management/create-account

What I have is word for word the same except I set currency and time zone 
for my own area and I exclude tracking_url_template and final_url_suffix.

I am using GoogleAdsClient.load_from_storage as my client if that matters, 
up until now I have only been using google ads api for editing ads on one 
account  (creating camapigns, ad groups, deleting and creating budgets 
etc.) so I dont know if there is supposedly a different client that I must 
be using for making manager level requests.

Kindly Help

Qumars R.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aeba155f-3233-4c6a-8005-9783b86921aen%40googlegroups.com.

Reply via email to