Hello ,

I am using the .net version of the code to fetch all Clients at all levels 
using the query below
            const string query = @"SELECT
                                    customer_client.client_customer,
                                    customer_client.level,
                                    customer_client.manager,
                                    customer_client.descriptive_name,
                                    customer_client.currency_code,
                                    customer_client.time_zone,
                                    customer_client.id,
                                    customer_client.resource_name
                                FROM customer_client
                                WHERE
                                    customer_client.level <= 3";
Successfully i get a list but it is flat with all clients at different 
levels.
My issue is i need to hierarchically create a tree with different levels. I 
need to know the clients that have level 2 is linked to which client on 
level1.

I tried using CustomerClientLink but if i provide a customer ID other than 
Login_CustomerId it throws USER_PERMISSION_DENIED exception. (FYI- this was 
not the behaviour with V2 version as i was previously using.) Please advise.

Thank you,
Vinitha.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/51ba19e2-55b5-44fb-af79-fa8b411b7155n%40googlegroups.com.

Reply via email to