Why I am not getting a reply? On Friday, July 15, 2022 at 11:03:13 AM UTC+5:30 Ajay.R wrote:
> Hi google ads team, > I am using Python library , How to assign an existing label for the > keyword. > I have tried this, > google_ads_client = self.google_ads_api_client(self.refresh_token, self > .login_customer_id) > agc_service = google_ads_client.get_service('AdGroupCriterionService') > agc_operation = google_ads_client.get_type('AdGroupCriterionOperation') > label_service = google_ads_client.get_service('LabelService') > > #update zero conversion keyword with labe 'paused by zc' > ad_group_criterion = agc_operation.update > ad_group_criterion.resource_name = agc_service.ad_group_criterion_path( > customer_id, ad_group_id, criterion_id) > ad_group_criterion.labels = label_service.label_path(customer_id, label_id > ) > google_ads_client.copy_from( agc_operation.update_mask, > protobuf_helpers.field_mask(None, ad_group_criterion._pb), > ) > > but not updating > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/3e74ffba-7c1a-4785-b495-6a652e82dad5n%40googlegroups.com.