Create campaign (paused)
create_campaignCreates a paused OpenAI ads campaign with a set budget, targeting, and objective so you can review and activate it later without immediate spend.
Instructions
Create a campaign. It is ALWAYS created paused and spends nothing until activate_campaign. Budget is in the ad account currency (get_ad_account); daily is required for Maximize clicks/conversions. A product-feed (Shopping) campaign needs product_feed_id; its feed, objective and mode cannot change later. Daily minimums depend on the currency and OpenAI states them when it refuses. Identical requests return the same campaign (Idempotency-Key).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"budget_type": "<budget_type>",
"budget_amount": "<budget_amount>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| end_time | No | ISO 8601 | |
| countries | No | ISO 3166-1 alpha-2 codes, e.g. ["US"]. location_ids is preferred | |
| objective | No | Default clicks | |
| platforms | No | Omit for every platform | |
| start_time | No | ISO 8601; omit to start when activated | |
| budget_type | Yes | ||
| description | No | ||
| location_ids | No | Country, region or market ids from search_locations. An account can target only the countries OpenAI allows it; none are listed anywhere, a refusal says so | |
| budget_amount | Yes | Budget, in major units of the ad account currency, e.g. "50" or "12.50" | |
| product_feed_id | No | Feed id for a product-feed (Shopping) campaign | |
| excluded_location_ids | No | ||
| query_string_template | No | Tracking parameters, e.g. utm_source=chatgpt&utm_medium=cpc&utm_campaign={campaign_id}. Never oppref (OpenAI adds it) | |
| conversion_event_setting_id | No | Required for objective conversions (list_conversion_event_settings) |