Hello Team,

I'm trying to retrive list of accounts (hierarhy of customers) from google 
ads but receive error on request:
    "message": "The caller does not have permission",
    "code": 7,
    "status": "PERMISSION_DENIED",
    "details": [
        {
            "@type": "google.ads.googleads.v6.errors.googleadsfailure-bin",
            "data": "<Unknown Binary Data>"
        },
        {
            "@type": "grpc-status-details-bin",
            "data": "<Unknown Binary Data>"
        },
        {
            "@type": "request-id",
            "data": "s8s0RCFzVEtXONYgQQd8Cw"
        }
    ]

I went through auth process under Manager account and receive access token.
This account has many accounts.
When I call listAccessibleCustomers 
<https://developers.google.com/google-ads/api/docs/account-management/listing-accounts>
 it 
returns ID of current manager account for what I received access token.
When I call getCustomer 
<https://developers.google.com/google-ads/api/reference/rpc/v6/CustomerService#google.ads.googleads.v6.services.CustomerService.GetCustomer-table>
 
to receive info about customer with ID that received from 
listAccessibleCustomers 
<https://developers.google.com/google-ads/api/docs/account-management/listing-accounts>
 it 
returns error above.

Please advice

Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e991c2f7-45e5-41a5-b15f-3609b4607cd6n%40googlegroups.com.

Reply via email to