Hi, in the new google ads API (v1) I am successfully fetching the account trees associated with a refresh token in the following way:
2) Recursively query the customer_client_link view to get all the children resource names with the following query
SELECTcustomer_client_link.status
customer_client_link.client_customer
FROM
customer_client_link
WHERE
customer_client_link.status = 'ACTIVE'
It works fine but I also get cancelled accounts back. How can those be ignored? I tried with the customer_client_link.hidden = FALSE filter too but that didn't work (as it shouldn't since that's a different property), however there isn't a related customer state property to filter on.
In comparison, the adwords api's
ManagedCustomerService get method ignores cancelled accounts by default.