Perfect, thank you very much. I'll be checking it out.
El viernes, 2 de febrero de 2024 a las 1:47:14 UTC-6, Google Ads API Forum Advisor escribió: > Hi, > > Thank you for getting back to us. > > You can use CustomerService.ListAccessibleCustomers > <https://developers.google.com/google-ads/api/reference/rpc/v15/CustomerService#listaccessiblecustomers> > method > to get the list of accounts associated with a manager account. The > list_accessible_customers will return only the accounts that can be > directly accessible via the credentials that are used in the API call. Your > credentials might be having access to only top level manager account, hence > it is resulting that account only. > > In order to get the hierarchy of the accounts you have to use > Customer_client resource and have to perform search query. > > Search Query:"SELECT customer_client.id, > customer.id,customer_client.status,customer.status > FROM customer_client WHERE customer_client.id='{customer_client.id}'" > > You can try making a request using the Method: customers.googleAds.search > <https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.googleAds/search> > . > > Also, you can use Query Builder > <https://developers.google.com/google-ads/api/fields/v14/customer_search_term_insight_query_builder> > to > create your query and Query Validator > <https://developers.google.com/google-ads/api/fields/v14/query_validator> to > validate your query. > > > > This message is in relation to case "ref:!00D1U01174p.!5004Q02rX2AQ:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/ac15e02d-dc21-472a-a52a-291c3b819d42n%40googlegroups.com.