direct.update_adgroups
Update existing ad groups in Yandex Direct by passing ad group objects that include their IDs and revised fields.
Instructions
Update ad groups in Yandex Direct.
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": {
"items": "<items>"
},
"name": "direct.update_adgroups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Ad group objects to update (must include Id). | |
| params | No | Raw Direct params override (advanced). | |
| account_id | No | Project profile id (resolves to Direct Client-Login and optional Metrica counter defaults). | |
| direct_client_login | No | Override Direct Client-Login for this call (agency multi-project support). |