Set Ad State
set_ad_stateChange an ad's status by activating, pausing, or permanently archiving it.
Instructions
Activate, pause, or archive an ad. Archiving is permanent.
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": {
"ad_id": "<ad_id>",
"action": "<action>"
},
"name": "set_ad_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | Ad ID | |
| action | Yes |