Hello there,
Ive got a tree-like mcc structure, such as that mcc of multiple levels on 
top of each other.

What is the best way to get a list of non-mcc customer ids in order to be 
able to query stats for them (it is not possible to query for mcc account)?


This code return all accounts under master mcc including mcc:
query = SELECT customer_client.client_customer FROM customer_client
response = ga_service.search(customer_id = MASTER_MCC, query = query)

I wonder what is the best way to get non-mcc accounts on all levels?

Thanks,
Alex

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b579b039-4785-404c-909e-251d5ae755a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • What is... Alexander Belozerov
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Alexander Belozerov
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to