How to know which account was created by MCC ?

39 views
Skip to first unread message

xuantoi....@gmail.com

unread,
Sep 20, 2018, 6:25:56 AM9/20/18
to AdWords API and Google Ads API Forum
Hi, 

I got a problem with my database,
I need to know is any api get all accounts were created by api or get all accounts were link from existing  account

Thank you.

Milind Sankeshware (AdWords API Team)

unread,
Sep 20, 2018, 1:17:12 PM9/20/18
to AdWords API and Google Ads API Forum
Hi,

You can use the CustomerService.getcustomers() API call without specifying the client customer Id in the request header. This will return details of all the customers directly accessible by the user authenticating the call. Also, you can use the ManagedCustomerService.get API, which will give you all the accounts which are linked to your MCC account. Could you please elaborate your scenario so that I can assist you further?

Thanks,
Milind, AdWords API Team

xuantoi....@gmail.com

unread,
Sep 20, 2018, 11:32:58 PM9/20/18
to AdWords API and Google Ads API Forum
Hi Milind,

I know ManagedCustomerService.get API, but I need separate into 2 kind of account, the first is created by ManagedCustomerService.mute(), another is link by ManagedCustomerService.mutateLink()

Milind Sankeshware (AdWords API Team)

unread,
Sep 21, 2018, 1:59:37 PM9/21/18
to AdWords API and Google Ads API Forum
Hi,

With the ManagedCustomerService.get API, you will get all the accounts which are created and linked by mutate() and mutateLink() method. But, you won't be able to differentiate the account (from mutate() and mutateLink() method). Let me know if you have any further questions. 
Reply all
Reply to author
Forward
0 new messages