Hi can we get the "DescriptiveName" in same Query? On Friday, 8 February 2019 04:14:22 UTC+5:30, googleadsapi-forumadvisor wrote: > > Hello, > > To get the account hierarchy via Google Ads API beta, you could use the > customer_client > <https://developers.google.com/google-ads/api/docs/fields/customer_client> > resource. > Through which you can get only the resource name, level, Boolean value of > hidden status and Client_customer details of the accounts under your > manager account. To get these details the OAuth credentials used to make > the API call should be of manager account and the CleintCustomerId passing > in the header should be of manager account. Below is the sample query for > your reference. > > Query in DotNet format below: > Query = @"SELECT > customer_client.resource_name, > customer_client.client_customer, > customer_client.level, customer_client.hidden, > customer_client.level > FROM customer_client", > CustomerId = customerId.ToString() > > Please let me know if you have any further questions. > > Regards, > Sai Teja, 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=7-9951000025233&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 [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 and Google Ads 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/4d6de4e6-9688-4368-b75c-c87665d7db0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
