Hi, Also https://developers.google.com/google-ads/api/docs/query/interactive-gaql-builder This Query builder not giving any fields which can be relate to resource customer_client.
$query = 'SELECT customer_client.resource_name, customer_client.client_customer, customer_client.level, customer_client.hidden, customer_client.level FROM customer_client'; On Friday, 15 March 2019 12:51:29 UTC+5:30, cv wrote: > > Hello Bharani, > > As I have sent you message via Reply Privately to Author, I have given you > details what I am getting with CustomerService.ListAccessibleCustomers > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerService> > and > with ManagedCustomerService.get(). > > Please let me know If I am doing something wrong. > > Thanks, > > On Thursday, 14 March 2019 23:15:50 UTC+5:30, googleadsapi-forumadvisor > wrote: >> >> 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/ >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> >> Was your question answered? Please rate your experience with us by taking >> a short survey. >> If not -- reply to this email and tell us what else we can do to help. >> >> Take Survey >> <https://support.google.com/google-ads/contact/survey_transactional?caseid=2-1709000026033&hl=en&ctx=1> >> >> 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/8600d0c1-e8be-4409-9004-653e528bbd24%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.