I'm a bit stuck. My account has access to multiple accounts. One of them is 
a manager account which manages 2 accounts. I want to get the data for one 
of those accounts under the manager account. 

In the yaml file I set the login_customer_id of this manager account and I 
did the Oauth successful. When running list_accessible_customers I see all 
accounts including the manager account. Then when querying the client_id to 
get data from the account under the manager account I get 
PERMISSION_DENIED error:

*Error with message "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 can get data for the accounts I have direct access to, just the error 
when trying to get data for the indirect access through the manager. The 
login_customer_id is set correct. Also I double checked that I query the 
client_id and have the manager id in the yaml.

Any suggestions on what I'm doing wrong here?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1045029e-9316-4675-8e70-8a25d64ba745n%40googlegroups.com.
  • PE... Sven van Munster
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Sven van Munster
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to