archive_campaigns
Archive Yandex Direct campaigns to read-only state with preserved stats. Confirm with true after suspending; dry-run previews changes.
Instructions
Archive campaigns (they become read-only, stats preserved).
Campaign must be suspended first. Archived campaigns cannot be unarchived via API.
Args: campaign_ids: List of campaign IDs to archive. confirm: False (default) shows dry-run plan; True archives.
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_ids": "<campaign_ids>"
},
"name": "archive_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_ids | Yes | ||
| confirm | No |