Hello Chirag,

The AdWords API Account Hierarchy code sample uses the
ManagedCustomerService.get() operation which returns all the accounts that
meet the criteria. The equivalent to this would be GetCustomerClientRequest
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.GetCustomerClientRequest> which
will return the accounts under a manager account. If you're looking to get
the accounts list of accounts that are directly accessible via your OAuth
credentials by issuing a CustomerService.ListAccessibleCustomers
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerService> request.
This will return all the accounts directly accessible by the user
authenticating the call.

Let me know if you have any other questions.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/1a0kjgo000000000g4jcra0009u1voz68mj2dpg74o30c1g68r30cpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • ListAcc... cv
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... cv
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... cv
          • ... cv
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
              • ... cv
                • ... Darshan Pradhan
                • ... cv
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... cv
    • Re... Costantin

Reply via email to