Thanks Peter,
yes, as your suggest first we get label from customer_label resource and
use the label(customers/{customer_id}/labels/{label_id}) value to map
resource_name in label resource to get label.name. we got the value as we
want.
On Tuesday, January 25, 2022 at 10:52:50 AM UTC+8 adsapi wrote:
> Hi Hao,
>
> In my earlier response, I recommended that customer_label
> <https://developers.google.com/google-ads/api/fields/v9/customer_label>
> (*Represents
> a relationship between a customer and a label.*) report so that this may
> return the applied label to the customer_id specified in your API request.
>
> The customer_client.applied_labels
> <https://developers.google.com/google-ads/api/fields/v9/customer_client#customer_client.applied_labels>
> (*The resource names of the labels owned by the requesting customer that
> are applied to the client customer.*) that you then responded to me,
> refers to the labels *owned* by the requesting customer but not
> necessarily the label applied to that customer.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2UikHa:ref
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/52428f83-b6ee-4c37-81ca-2de950ee558an%40googlegroups.com.