After some digging, I got what I needed by hitting 

https://googleads.googleapis.com/v5/customers/<manager 
customer>/googleAds:search

with this query:

SELECT customer_client.descriptive_name, customer_client.client_customer, 
customer_client.resource_name, 
customer_client.id FROM customer_client LIMIT 100

Hope that helps?
On Monday, November 30, 2020 at 12:18:44 PM UTC-7 Steve Wilcox wrote:

> I'm working on a similar issue where listAccesbleCustomers does not show 
> the same customer IDs that are available when I log into to Ads and review 
> the linked accounts.
> The only rational explanation I can think of is that the account I got the 
> token for is NOT the manager account (and thus the token does not give 
> access to the same list of accounts).
>
> On Friday, November 27, 2020 at 12:20:48 PM UTC-7 [email protected] 
> wrote:
>
>> 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 [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/94e18cb0-5a39-4cba-9fbf-b390d899e1d6n%40googlegroups.com.

Reply via email to