yd_excluded_sites_update
Update the list of excluded sites for a Yandex Direct campaign by replacing the entire blocklist with new placements.
Instructions
Set excluded sites (blocked placements) for a campaign. Replaces entire list.
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_id": "<campaign_id>",
"sites": "<sites>"
},
"name": "yd_excluded_sites_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID | |
| sites | Yes | List of sites to exclude (e.g. ['games.yandex.ru', 'AdsNative', 'example.com']) | |
| client_login | No | Optional. Override Client-Login for this call (agency multi-account). |