Hi,
Thank you for reaching out to Google Ads API Forum.
how can I just get active Ids?
>> Upon checking, ListAccessibleCustomers (https://developers.google.com/google-ads/api/reference/rpc/v13/CustomerService#listaccessiblecustomers) request does not have required request body. Additionally, as per this guide (https://developers.google.com/google-ads/api/docs/account-management/listing-accounts) it is is one of the few requests in the Google Ads API that does not require you to specify a customer ID in the request, and will ignore any supplied login-customer-id.
That said, you will have to do post-processing on each of the returned values from this method and check if it is active.
Regards,
![]() |
Google Ads API Team |