How can I get a list of all Client accounts using the Google Adwords API?

74 views
Skip to first unread message

neleme...@gmail.com

unread,
May 11, 2016, 10:54:39 AM5/11/16
to AdWords API Forum
I'm using Java as my language and am looking for a way to list all of the Client accounts under my Manager account on Google Adwords.

Could anyone give me any ideas as to how to do this? I've looked for some code examples but only found one on StackOverflow with a broken link.

Many thanks!

Joyce Lava

unread,
May 11, 2016, 11:44:16 AM5/11/16
to AdWords API Forum
Hi,

You need to declare your manager account ID as the clientCustomerId in the ads.properties configuration file. Then, you need to run the GetAccountHierarchy in the Java client library.

Thanks,
Joyce, AdWords API Team
Reply all
Reply to author
Forward
0 new messages