HI there.
I've been able to load the GetAccountHierarchy.php from the google-ads-php 
examples in my Laravel project and this give us exactly the same error that 
we having with our own implementation so I don't know if its the project 
setup or something on google ads dashboard that we are missing.
(I don't know anything about the dashboard, I just have access to it but I 
don't know what are these customer IDs, all I know is that the first one is 
besides my account name on the dashboard)

No manager customer ID is specified. The example will print the hierarchies 
of all accessible customer IDs: 
9041980792 3671659527 1929340578 7821601052 7937053070 1005147807 
6657894778 2694978425 3513492613 3408336391 4075542191 
ApiException was thrown with message '{ "message": "The caller does not 
have permission", "code": 7, "status": "PERMISSION_DENIED", "details": [ { 
"@type": 
"type.googleapis.com\/google.ads.googleads.v14.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "authorizationError": "USER_PERMISSION_DENIED" 
}, "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"
 
} ], "requestId": "lQuy1mibTE_F1iUMw5o4hA" } ] }'. 

If this comes from this example it should work right? So what I'm missing 
is to set some kind of access in some account?
Is it possible for someone to tell me what kind of permission am I missing?
In advance, thanks for the patience.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/ebb58ae2-7883-403e-8d88-09675460d993n%40googlegroups.com.

Reply via email to