adParamOperation2.setOperator(Operator.SET);
AdParamOperation[] operations = new AdParamOperation[] {adParamOperation1, adParamOperation2};
// Set ad parameters.
AdParam[] adParams = adParamService.mutate(operations);
// Display ad parameters.
for (AdParam adParam : adParams) {
System.out.println("Ad parameter with ad group id \"" + adParam.getAdGroupId()
+ "\", criterion id \"" + adParam.getCriterionId() + "\", insertion text \""