Hello Yang, 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 instead. Below is the example search query for your reference. You could use this sample program in Java and replace the query. Code samples in other languages can be found here. Search Query:"SELECT customer_client.resource_name, customer_client.client_customer, customer_client.level, customer_client.hidden FROM customer_client" Please give it a try and let me know if you have any further questions. Regards, Sai Teja, Google Ads API Team ref:_00D1U1174p._5001U8LWWE:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/_AA78000000000000000000000000000000000000000000000PUQXJG00MLLaAIsaRdKAFL1Mz-7gxA%40sfdc.net.