BiddingStrategyConfiguration biddingConfig = new BiddingStrategyConfiguration();
ManualCpmBiddingScheme manualCpm = new ManualCpmBiddingScheme();
biddingConfig.setBiddingScheme(manualCpm);
campaign.setBiddingStrategyConfiguration(biddingConfig);
BudgetServiceInterface budgetService = user.getService(AdWordsService.V201306.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);