direct.hf.set_campaign_geo
Set geographic targeting (RegionIds) for all ad groups in a Yandex Direct campaign at once. Preview changes with dry_run or apply to update multiple ad groups.
Instructions
Human-friendly: set geo (RegionIds) for all ad groups in a campaign.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "direct.hf.set_campaign_geo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| dry_run | No | ||
| account_id | No | Project profile id (resolves to Direct Client-Login and optional Metrica counter defaults). | |
| region_ids | No | ||
| campaign_id | No | ||
| campaign_name | No | ||
| direct_client_login | No | Override Direct Client-Login for this call (agency multi-project support). |