RE: What is the best way to get list of non-mcc accounts?

2019-04-22 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Alex, I was able to receive an update from the engineering team, the team is aware of this and is currently looking into how to improve this. In the meantime, you can collect the customer IDs from the customer_client and then issue a separate request to retrieve the corresponding customer

RE: What is the best way to get list of non-mcc accounts?

2019-04-08 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Alex, Upon further investigation, the result appearing in the query you are using is indeed correct. The result should return all accounts (including sub-MCC and client accounts). However, there is no field to determine whether the customer_client

RE: What is the best way to get list of non-mcc accounts?

2019-04-08 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Alex, If you are running this query in the root MCC account, then it should return all accounts under that MCC account (including sub-MCC's and client accounts under the sub-MCC account). Upon replication, I was able to get all the accounts of my root MCC hierarchy. However, the

Re: What is the best way to get list of non-mcc accounts?

2019-04-05 Thread Alexander Belozerov
Hi Dannison, Thank you for your message, Could you please help with the query? When i do something like this with my master MCC: 'SELECT customer_client.client_customer, customer.manager FROM customer_client' I get customer.manager = true for all accounts. So this particular query doesn't

RE: What is the best way to get list of non-mcc accounts?

2019-04-04 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Alex, You could use a filter for the field customer.manager and set this to *FALSE* to return only client accounts in your query. Let me know if this helps. Regards, Dannison Google Ads API Team

What is the best way to get list of non-mcc accounts?

2019-04-04 Thread Alexander Belozerov
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