Hi Alexandr, To set the label to ad, you can use AdGroupAdService.mutatelabel <https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupAdService#mutatelabel> API call. Please find the attached sample request and response log for AdGroupAdService. Please refer to code below:
operations = [
{
'operator': 'ADD',
'operand': {
'adGroupId': adGroup_Id,
'labelId': label_id,
'adId' : ad_Id
}
}
]
Give a try and let me know if you are facing an issue. Also, please share
the SOAP request and response. You can use 'Reply privately to author'
option while responding.
Thanks,
Milind, AdWords API Team
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 and Google Ads 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/8105bee2-a587-4193-b4d5-1127dff56f86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
AddLabelToAd_log
Description: Binary data
