Hi, Im trying to add a label to a adGroup usnig this code
def AddLabel(AdIDs,LabelID): ad_group_ad_service = ADWORDS_CLIENT.GetService('AdGroupAdService', version='v201509') operations = [] for AdID in AdIDs: operations += [{ 'operator': 'ADD', 'operand': { 'xsi_type': 'AdGroupAdLabel', 'adGroupId': AdID['AdGroupID'], 'adId':AdID['TextAdID'], 'labelId': LabelID, } }] ad_group_ad_service.mutate(operations) but keep having this error: suds.WebFault: Server raised fault: 'Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ns1:adId'. One of '{"https://adwords.google.com/api/adwords/cm/v201509":ad, "https://adwords.google.com/api/adwords/cm/v201509":experimentData, "https://adwords.google.com/api/adwords/cm/v201509":status, "https://adwords.google.com/api/adwords/cm/v201509":approvalStatus, "https://adwords.google.com/api/adwords/cm/v201509":trademarks, "https://adwords.google.com/api/adwords/cm/v201509":disapprovalReasons, "https://adwords.google.com/api/adwords/cm/v201509":trademarkDisapproved, "https://adwords.google.com/api/adwords/cm/v201509":labels, "https://adwords.google.com/api/adwords/cm/v201509":forwardCompatibilityMap}' is expected. ' Anyone know how to do this? Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ff54e195-7fac-4ad8-b030-35c931d05770%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.