Hi Orzorc,
When you perform an AdGroupCriterionService.get()
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#get>,
you will have the labels
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService.AdGroupCriterion#labels>
populated,
if there is a label set for that criterion. To add or remove the label to
the criterion, the only option is to use the
AdGroupCriterionService.muateLabel()
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#mutatelabel>.
If you are trying to model a new AdGroupCriterion instance from the
existing one and remove the already present label in that instance, you
could try passing any empty Label array. For instance, in Java you could do
something as given below :
biddableAdGroupCriterion.setLabels(new Label[]{});
Let me know if you have further questions.
Thanks,
Milind, AdWords API Team
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c7fabf23-4621-4488-812b-4af24732c76a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.