direct_update_ad_text
Modify Yandex Direct text ads: change title, text, URL, image, and sitelinks. Use dry_run to preview updates and allow_write to apply them to the live cabinet.
Instructions
WRITE: ads.update TextAd Title/Title2/Text/Href/DisplayUrlPath/AdImageHash/SitelinkSetId. No ₽·— VPN. optional moderate_after. allow_write=true.
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": {
"ads": "<ads>"
},
"name": "direct_update_ad_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | Yes | ||
| dry_run | No | ||
| project | No | Ключ бренда из projects.json, либо all | unknown. Write: только ключ из projects.json (не all). | |
| allow_write | No | Must be true to mutate live cabinet. Without it tools return dry plan only. | |
| moderate_after | No |