Is there a way to get the descriptive_names without making a separate call 
for each customer_client? I have approximately 200 client accounts under a 
manager account, and that's a lot of API calls to get the names of them.

On Saturday, February 9, 2019 at 5:52:40 AM UTC+11, 
googleadsapi-forumadvisor wrote:
>
> Hello Anand,
>
> Descriptive name for the customer is not available in the customer_client 
> <https://developers.google.com/google-ads/api/docs/fields/customer_client> 
> resource. 
> You have to make another API call to the customer 
> <https://developers.google.com/google-ads/api/docs/fields/customer> resource. 
> You could use the available customer fields in the customer 
> <https://developers.google.com/google-ads/api/docs/fields/customer> resource 
> and can pass each customer Id to get the respective details of that 
> customer. Below is the sample search query to fetch the customer details 
> via customer resource.
>
> Query in DotNet format given below:
> Query = @"SELECT
>                   customer.resource_name,
>                   customer.descriptive_name,
>                   customer.id, 
>                   customer.test_account,
>                   customer.tracking_url_template FROM customer",
>                   CustomerId = customerId.ToString() //Pass the customer 
> Id that you found on the resource name earlier.
>
> 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/c7dcc262-abb6-4fca-b764-f5d43fea94ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • custome... Anand Sumo
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Anand Sumo
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... heath
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to