Thanks you mean i could use customer_client.applied_labels to get label resource name like 'customers/9293907848/labels/3064162226' and then use label report 'label.resource_name <https://developers.google.com/google-ads/api/fields/v9/label#label.resource_name>' = 'customers/9293907848/labels/3064162226' to get label.id and label.name?
is there anyway we could pull label report on manager account to get all the accounts label is and label name, and use attribute resource customer.id in label report to mapping the account list ? On Monday, January 17, 2022 at 11:24:17 PM UTC+8 adsapi wrote: > Hi Hao, > > You can get the label contents by pulling a label report > <https://developers.google.com/google-ads/api/fields/v9/label> on manager > account 9293907848 <(929)%20390-7848>. 'label.resource_name > <https://developers.google.com/google-ads/api/fields/v9/label#label.resource_name>' > > matches 'customers/9293907848 <(929)%20390-7848>/labels/3064162226 > <(306)%20416-2226>'. > > My team came back to me that: > > 'UNKNOWN > <https://developers.google.com/google-ads/api/reference/rpc/v9/DeviceEnum.Device> > > ' - it's used for unrecognized values, which is potentially caused by newer > versions of the API overlapping with older versions of our generated > protobufs. > > 'UNSPECIFIED' is included because it's a convention of protobuf > <https://developers.google.com/protocol-buffers/docs/style#enums> for the > 0 value to have this name. It's not really used explicitly and it's not > something you should need to think about. > > > Regards, > > [image: Google Logo] > Aryeh Baker > 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 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ca50c2ba-250f-49d4-ab50-2926ebb42c4an%40googlegroups.com.