Can you use *get()* on *ManagedCustomerService* w/ a selector that just asks for certain *Fields[]* to get all accounts? On Tue, Sep 6, 2016 at 2:47 PM Tejas Manohar <[email protected]> wrote:
> What's the actual method being used to get account hierarchy? I don't see > it listed here- > https://developers.google.com/adwords/api/docs/reference/v201607/ManagedCustomerService > > On Tue, Sep 6, 2016 at 2:43 PM 'Shwetha Vastrad (AdWords API Team)' via > AdWords API Forum <[email protected]> wrote: > >> Hi Tejas, >> >> I would recommend that you use ManagedCustomerService >> <https://developers.google.com/adwords/api/docs/reference/v201607/ManagedCustomerService> >> to >> get all the accounts accessible by the user authenticated in the request. >> You could use the GetAccountHierarchy >> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201607/accountmanagement/GetAccountHierarchy.java> >> Java >> example to get the account hierarchy under the current account. Example >> code in other languages is available here >> <https://developers.google.com/adwords/api/docs/clientlibraries>. >> >> Regards, >> Shwetha, AdWords API Team. >> >> -- >> -- >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> Also find us on our blog and Google+: >> https://googleadsdeveloper.blogspot.com/ >> https://plus.google.com/+GoogleAdsDevelopers/posts >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> >> You received this message because you are subscribed to the Google >> Groups "AdWords API Forum" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 a topic in the >> Google Groups "AdWords API Forum" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/adwords-api/uhbsu9rbTIM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> 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/55da0517-d25e-4c61-8699-7add7dae1eca%40googlegroups.com >> <https://groups.google.com/d/msgid/adwords-api/55da0517-d25e-4c61-8699-7add7dae1eca%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > > Best regards, > > Tejas Manohar > -- Best regards, Tejas Manohar -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/CAJU0XY5FGQSf04MDN44vibdP9d0Cpsr79Xfhy79uFC-Fm1pUeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
