OpenAI Ads (Beta): Set status
openai_ads_set_statusBETA — Kampagne, Anzeigengruppe oder Anzeige in OpenAI Ads pausieren oder aktivieren. Liest danach zurück: status_before, status_after, verified. object_type: campaign, ad_group oder ad. status: active oder paused (Archivieren ist unumkehrbar und bewusst nur im Ads Manager möglich). Aktivieren startet echte Auslieferung mit Kosten. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).
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": {
"object_type": "<object_type>",
"object_id": "<object_id>",
"status": "<status>"
},
"name": "openai_ads_set_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| object_id | Yes | ||
| workspace | No | ||
| object_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||