adParam2.setCriterionId(keywordId);
adParam2.setInsertionText("$40");
adParam2.setParamIndex(2);
// Create operations.
AdParamOperation adParamOperation1 = new AdParamOperation();
adParamOperation1.setOperand(adParam1);
adParamOperation1.setOperator(Operator.SET);
AdParamOperation adParamOperation2 = new AdParamOperation();
adParamOperation2.setOperand(adParam2);
adParamOperation2.setOperator(Operator.SET);
AdParamOperation[] operations = new AdParamOperation[] {adParamOperation1, adParamOperation2};
// Set ad parameters.
AdParam[] adParams = adParamService.mutate(operations);