Hello,
I'm struggling with a problem here related to labels. I wanted to know if it is possible to add keywords with labels already attached to them, instead of having to add the keywords, get their IDs and them assign the label to them.
I tried to use the operand below on AdGroupCriterionService (basically I added a 'labelId' parameter to the operand I use to add keywords), but I'm getting a syntax error (using Python on my scripts).
keyword = {
'xsi_type': 'BiddableAdGroupCriterion',
'adGroupId': adgroup_dict_search_term['exact'],
'criterion': {
'xsi_type': 'Keyword',
'matchType': 'EXACT',
'text': search_term
},
'labelId': label_id
}
Does anyone know if it is possible to do what I want? If so, how? If not, there's a better way to do this than by adding the keywords, looking for their IDs among the older keywords in the campaign and then adding the labels?
Thanks for the attention, hope you can help me.
Danieel Leite