Campaign campaign = new Campaign();
campaign.setBudget(new Budget(BudgetBudgetPeriod.DAILY, new Money("USD", 1000000L),
BudgetBudgetDeliveryMethod.STANDARD));
campaign.setStatus(CampaignStatus.PAUSED);
campaign.setBiddingStrategy(new ManualCPC());
CampaignReturnValue crv =
campaignService.mutate(new CampaignOperation[] {new CampaignOperation(Operator.ADD, null,
null, campaign)});
campaign = crv.getValue()[0];
campaignTargetService.mutate(new CampaignTargetOperation[] {new CampaignTargetOperation(
Operator.SET, null, new NetworkTargetList(campaign.getId(), null,
new NetworkTarget[] {new NetworkTarget(null, NetworkCoverageType.GOOGLE_SEARCH)}))});