Pause or stop an ad campaign
ads_campaign_pause[writes flayr data · write scope] Pauses a live ad campaign on its ad network so it stops spending (action: "pause" or "stop"; both leave it paused). To approve and switch on a proposed campaign use ads_campaign_approve. Confirm with the user first.
(Wraps POST /api/v2/ads/campaigns/{id}/pause.)
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": {
"id": "<id>"
},
"name": "ads_campaign_pause"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| action | No | stop = a pause you mean as final; the network shows paused either way. | pause |
| brandId | No | A brand id (GET /api/v2/brands) or "personal"; default: the key owner's active brand. A brand-bound key is always pinned to its brand; any other value is 403. | |
| idempotencyKey | No | Retrying with the same key never runs the change twice. |