> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Create campaign budget

> Create a shared Google Ads campaign budget.

Use `googleAds.createCampaignBudget` to create a shared Google Ads campaign budget.

## Example

```ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { googleAds } from "automate.ax/google-ads"

export default automation("Create campaign budget", () => {
  onDashboardRun({ title: "Create campaign budget" })

  googleAds.createCampaignBudget({
    customerId: "1234567890",
    name: "Brand daily budget",
    amountMicros: "50000000",
  })
})
```

## Inputs

Set `customerId`, `name`, and either `amountMicros` for a daily budget or `totalAmountMicros` with `period: "CUSTOM_PERIOD"` and `explicitlyShared: false`. Micros are strings; one million equals one account currency unit. `deliveryMethod` defaults to `STANDARD`. All customer-scoped actions accept optional `loginCustomerId` for manager-account access and a named Google account binding.

## Output

Returns the created campaign-budget resource name.
