RE: How to update labels?

84 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 26, 2022, 8:17:22 PM1/26/22
to ivs...@precisdigital.com, adwor...@googlegroups.com
Hi,

Thank you for posting your concern.

You are correct that the AdGroupLabelOperation only has create and remove operations so it is not possible to update. However, if you want to use different label names at ad group labels and you want to apply it on specific ad groups, then you can create an ad group label instead and set it on the labels[] field of AdGroup using update AdGroupOperation.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2VPhdQ:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jan 27, 2022, 10:57:56 AM1/27/22
to ivs...@precisdigital.com, adwor...@googlegroups.com
Hi Linn,

I recommend looking through this guide on labels. We do not have a code sample specifically for updating ad group labels. You can update using LabelService.MutateLabels.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2VPhdQ:ref
Reply all
Reply to author
Forward
0 new messages