Hi Dan,

Yes, you'll need to use two separate operations; one to create a Label 
<https://developers.google.com/adwords/api/docs/reference/v201702/LabelService.Label>
 and 
another one to apply the Label to your AdGroupAds 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.AdGroupAd>.
 
To associate an existing Label 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.Label.html>
 to 
an existing AdGroupAd 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.AdGroupAd.html>,
 
you need to use AdGroupAdService.mutateLabel 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.html#mutateLabel>
 with 
ADD operator. You can also associate an existing label during Ad creation 
by specifying the Label in the labels 
<https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.AdGroupAd#labels>
 field 
of the AdGroupAd.

Regards,
Shwetha, 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/01701930-0b77-411e-a37b-3c4459f45b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: Solution fo... Dan Hai
    • Re: Soluti... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to