direct_set_group_negatives
Manage Yandex Direct ad group negative keywords by merging or replacing phrase lists, helping refine search targeting and reduce irrelevant impressions.
Instructions
WRITE: adgroups.update NegativeKeywords. mode=merge|replace. allow_write=true + project.
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": {
"phrases": "<phrases>"
},
"name": "direct_set_group_negatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| dry_run | No | ||
| phrases | Yes | ||
| project | No | Ключ бренда из projects.json, либо all | unknown. Write: только ключ из projects.json (не all). | |
| adgroup_id | No | ||
| adgroup_ids | No | ||
| allow_write | No | Must be true to mutate live cabinet. Without it tools return dry plan only. |