code: private static Long createBudget(AdWordsServicesInterface adWordsServices, AdWordsSession session)
        throws RemoteException, ApiException {
      // Get the BudgetService.
      BudgetServiceInterface budgetService =
          adWordsServices.get(session, BudgetServiceInterface.class);
  
      // Create the campaign budget.
      Budget budget = new Budget();
      budget.setName("Interplanetary Cruise App Budget #" + System.currentTimeMillis());
      Money budgetAmount = new Money();
      budgetAmount.setMicroAmount(50000000L);
      budget.setAmount(budgetAmount);
      budget.setDeliveryMethod(BudgetBudgetDeliveryMethod.STANDARD);
  
      // Universal app campaigns don't support shared budgets.
      budget.setIsExplicitlyShared(false);
      BudgetOperation budgetOperation = new BudgetOperation();
      budgetOperation.setOperand(budget);
      budgetOperation.setOperator(Operator.ADD);
  
      // Add the budget
      Budget addedBudget = budgetService.mutate(new BudgetOperation[] {budgetOperation}).getValue(0);
      System.out.printf(
          "Budget with name '%s' and ID %d was created.%n",
          addedBudget.getName(), addedBudget.getBudgetId());
      return addedBudget.getBudgetId();
    }
docs: Creates the budget for the campaign.
  
  @return the new budget.