def BuildCampaignCriterionOperations(campaign_operations):
 criterion_operations = [{'xsi_type': 'CampaignCriterionOperation', 'operand': {'xsi_type': 'NegativeCampaignCriterion', 'campaignId': campaign_operation['operand']['id'], 'criterion': {'xsi_type': 'Keyword', 'matchType': 'BROAD', 'text': 'venus'}}, 'operator': 'ADD'} for campaign_operation in campaign_operations]
 return criterion_operations

def BuildCampaignCriterionOperations ( campaign_operations ) : criterion_operations = [ { 'xsi_type' : 'CampaignCriterionOperation' , 'operand' : { 'xsi_type' : 'NegativeCampaignCriterion' , 'campaignId' : campaign_operation [ 'operand' ] [ 'id' ] , 'criterion' : { 'xsi_type' : 'Keyword' , 'matchType' : 'BROAD' , 'text' : 'venus' } } , 'operator' : 'ADD' } for campaign_operation in campaign_operations ] return criterion_operations
builds the operations needed to create negative campaign criterion .