direct_register_project_campaign
Register a Yandex Direct campaign into a local project by pinning its campaign ID to a project key in projects.json. Preview with dry_run; commit with allow_write.
Instructions
WRITE local: pin campaign_id into projects.json under project key. No Direct API. allow_write=true (or dry_run).
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": {
"project": "<project>",
"campaign_id": "<campaign_id>"
},
"name": "direct_register_project_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| project | Yes | ||
| allow_write | No | Must be true to mutate live cabinet. Without it tools return dry plan only. | |
| campaign_id | Yes |