campaign.setBiddingStrategyConfiguration(biddingConfig);
BudgetServiceInterface budgetService = user.getService(AdWordsService.V201309.BUDGET_SERVICE);
// Create budget.
Budget budget = new Budget();
budget.setName("Interplanetary Budget #" + System.currentTimeMillis());
budget.setPeriod(BudgetBudgetPeriod.DAILY);
budget.setAmount(new Money(null, 50000000L));
budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
// Add budget.
BudgetOperation budgetOperation = new BudgetOperation();
budgetOperation.setOperand(budget);
budgetOperation.setOperator(Operator.ADD);
BudgetReturnValue budgetReturnValue =
budgetService.mutate(new BudgetOperation[] {budgetOperation});
// Set the budget to the campaign.
Budget createdBudget = new Budget();
createdBudget.setBudgetId(budgetReturnValue.getValue(0).getBudgetId());
campaign.setBudget(createdBudget);
// Set the campaign network options to Search and Search Network.
NetworkSetting networkSetting = new NetworkSetting();
networkSetting.setTargetContentNetwork(false);