Edit campaign settings
update_campaignChange a campaign's name, description, schedule, targeting, or tracking template without touching its status or budget; targeting you omit stays unchanged.
Instructions
Change name, description, schedule, targeting or tracking template. Never changes status or budget (use pause_campaign, activate_campaign, set_budget). Targeting you do not mention is kept as it is.
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": {
"campaign_id": "<campaign_id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| end_time | No | ISO 8601, or null to clear | |
| countries | No | ISO 3166-1 alpha-2 codes, e.g. ["US"]. location_ids is preferred | |
| platforms | No | Omit for every platform | |
| start_time | No | ISO 8601, or null to clear | |
| campaign_id | Yes | Campaign id | |
| 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 | |
| excluded_location_ids | No | ||
| query_string_template | No |