Is there any way to get all the accounts under the test account?

21 views
Skip to first unread message

mahesh sidhu

unread,
Apr 21, 2016, 9:17:56 AM4/21/16
to AdWords API Forum
Hi,

I need to get all the sub accounts in the test accounts. I am able to get the campaign records of the sub accounts when I pass the customer id separately.

Please help me on this.

Thank you
Mahesh S

Shwetha Vastrad (AdWords API Team)

unread,
Apr 21, 2016, 3:00:32 PM4/21/16
to AdWords API Forum
Hi Mahesh,

You can use ManagedCustomerService to get accounts under a manager account. Please have a look at the GetAccountHierarchy Java example, which gets the account hierarchy under an account. Client libraries in other languages can be found here.

Cheers,
Shwetha, AdWords API Team.

mahesh sidhu

unread,
Apr 22, 2016, 6:15:35 AM4/22/16
to AdWords API Forum
Hi Swetha,

Thanks for guiding me. Its working. 

Thank you
Mahesh S
Reply all
Reply to author
Forward
0 new messages