How to get the name of a CustomerLabel?

21 views
Skip to first unread message

Oliver

unread,
Jan 10, 2022, 7:41:23 AM1/10/22
to AdWords API and Google Ads API Forum
Hi,

Apologies if I am missing something very obious but according to this:

the only info we can get about a customer label is its resource name (which gives us only the ID).  The attributes customer_label.label and customer_label.resource_name seem to give the same info which is the resource name.  We verified this by testing it.

How do we get the actual name of the label in this case?

Oliver

Google Ads API Forum Advisor

unread,
Jan 10, 2022, 1:14:47 PM1/10/22
to oliver....@gmail.com, adwor...@googlegroups.com

Hi Oliver,

Thank you for reaching out to the Google Ads API support team.

With regard to your concern about getting the name of the label, you can use the label resource via label.name field. Please let me know if you have any further question.

Thanks,

Google Logo
Nirmita Patel
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q2UiM5R:ref

Oliver

unread,
Jan 10, 2022, 2:17:46 PM1/10/22
to AdWords API and Google Ads API Forum
Yes, this worked.

Thanks!

Reply all
Reply to author
Forward
0 new messages