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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00d12gjui00000008ma98i0007ebdew6smjie9l64o30c1g68qj4cpj%40mail.gmail.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