united_states = {
'xsi_type': 'Location',
'id': '2840'
}
english = {
'xsi_type': 'Language',
'id': '1000'
}
criteria = [united_states, english]
operations = []
for criterion in criteria:
operations.append({
'operator': 'ADD',
'operand': {
'campaignId': campaign_id,
'criterion': criterion
}
})
|
||||||
|
||||||