Create an OpenAI Ads campaign
openai_ads_create_campaignCreates a campaign in one OpenAI Ads account. dryRun (default true) creates nothing and returns the plan with irreversible, the choices that cannot be changed after creation (the budget is a LIFETIME spend limit, not a daily budget; biddingType is fixed; without conversionEventSettingIds the campaign ignores conversions), and warnings for what is missing; dryRun: false creates it. New campaigns are created paused unless status is active, which starts spending real money. budget is in the account currency, at least 1. locationIds come from openai_ads_geo_lookup, conversionEventSettingIds from openai_ads_conversion_event_settings. startTime and endTime are Unix seconds, rounded down to the hour in the account time zone.
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": "<budget>"
},
"name": "openai_ads_create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Campaign name, 3 characters min. | |
| budget | Yes | Lifetime spend limit, in the account currency (not per day). | |
| dryRun | No | true (default): returns the plan, creates nothing. | |
| status | No | paused (default) or active (serves and spends right away). | paused |
| endTime | No | ||
| accountId | No | Fezola accountId of the OpenAI Ads account (type openai_ads in list_accounts or openai_ads_list_accounts). Optional when only one is connected. | |
| startTime | No | ||
| biddingType | No | impressions, clicks or conversions (default). Fixed after creation. | conversions |
| description | No | ||
| locationIds | No | ||
| conversionEventSettingIds | No |