CampaignTargetOperation[] operations = new CampaignTargetOperation[] {languageTargetOperation,
geoTargetOperation, networkTargetOperation};
// Set campaign targets.
CampaignTargetReturnValue result = service.mutate(operations);
// Exclude generated fields and test objects.
if (result != null && result.getValue() != null) {
for (TargetList testList : result.getValue()) {
if (testList.getTargetListType().equals("LanguageTargetList")) {
languageTargetList.setTargetListType(testList.getTargetListType());
for (LanguageTarget languageTarget : languageTargetList.getTargets()) {
languageTarget.setTargetType(((LanguageTarget) ((LanguageTargetList) testList)