direct_update_ad_href
Update landing page and UTM links for Yandex Direct text ads in bulk. Specify ad IDs with new hrefs; writes require explicit write permission and may trigger moderation.
Instructions
WRITE: update TextAd Href (landing/UTM) for ads. ad_hrefs=[{ad_id, href}]. allow_write=true. May need moderate after.
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": {
"ad_hrefs": "<ad_hrefs>"
},
"name": "direct_update_ad_href"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| project | No | Ключ бренда из projects.json, либо all | unknown. Write: только ключ из projects.json (не all). | |
| ad_hrefs | Yes | ||
| allow_write | No | Must be true to mutate live cabinet. Without it tools return dry plan only. | |
| moderate_after | No |