code: private static Budget createBudget(
        AdWordsServicesInterface adWordsServices, AdWordsSession session)
        throws RemoteException, ApiException {
      // Get the BudgetService.
      BudgetServiceInterface budgetService =
          adWordsServices.get(session, BudgetServiceInterface.class);
  
      // Create a budget, which can be shared by multiple campaigns.
      Budget sharedBudget = new Budget();
      sharedBudget.setName("Interplanetary Cruise #" + System.currentTimeMillis());
      Money budgetAmount = new Money();
      budgetAmount.setMicroAmount(50000000L);
      sharedBudget.setAmount(budgetAmount);
      sharedBudget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
  
      BudgetOperation budgetOperation = new BudgetOperation();
      budgetOperation.setOperand(sharedBudget);
      budgetOperation.setOperator(Operator.ADD);
  
      // Add the budget
      Budget budget = budgetService.mutate(new BudgetOperation[] {budgetOperation}).getValue(0);
      return budget;
    }
docs: Creates the budget.