maton google-ads campaign create
maton google-ads campaign create [flags]
Create a campaign by POSTing a single create operation to customers/{id}/campaigns:mutate. New campaigns default to PAUSED — pass –status ENABLED to start serving immediately.
–budget-id is the numeric campaign budget ID; the resource name is built for you (customers/{id}/campaignBudgets/{budgetId}).
Options
-
--budget-id <string> - Numeric campaign budget ID (required)
-
--channel <string> - Advertising channel type: SEARCH, DISPLAY, VIDEO, SHOPPING, PERFORMANCE_MAX, etc. (required, e.g. SEARCH/DISPLAY/PERFORMANCE_MAX)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-c,--customer-id <string>- Google Ads customer ID (required)
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-
--name <string> - Campaign name (required)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--status <string> (default "PAUSED") - Initial status: ENABLED, PAUSED
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-
--login-customer-id <string> - Manager account ID for MCC access (forwarded as login-customer-id header)
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton google-ads campaign create -c 1234567890 --name "Launch" --channel SEARCH --budget-id 5555
$ maton google-ads campaign create -c 1234567890 --name "Launch" --channel SEARCH --budget-id 5555 --status ENABLED