Hi,
I got the account level hierarchy through customer_clien 
<https://developers.google.com/google-ads/api/fields/v5/customer_client>.
I use customer_client.hidden property to filter hidden accounts.
But I found that the customer_client.hidden property of the sub-manager 
account was false, which led me to query the incomplete account hierarchy.
What should I do to filter hidden accounts correctly and find out the 
complete account hierarchy?

This is the sql query:

$query = 'SELECT customer_client.level,customer_client.hidden,'
. ' customer_client.manager,customer_client.descriptive_name,'
. ' customer_client.id FROM customer_client WHERE customer_client.level <= 
1 AND customer_client.hidden=true'; 

Many thanks,


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/04f3b944-45cb-4fbe-9ae1-aa9cb8be7c19n%40googlegroups.com.

Reply via email to