Update ad
tg_update_adEdit existing Telegram ads by updating only specified fields, pausing or resuming delivery, and validating changes with a dry run before submission.
Instructions
Edit an existing advertisement. Only provided fields change. Use is_paused to pause or resume. Set submit_for_review: true to move a ready_for_review ad into review after editing. Changing cpm or budget requires the same currency precision rules as creation. Use dry_run: true to validate without calling the API. Requires confirm: true and TG_ADS_MODE=write.
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_id": "<ad_id>"
},
"name": "tg_update_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | No | ||
| text | No | ||
| ad_id | Yes | ||
| title | No | ||
| button | No | ||
| confirm | No | ||
| dry_run | No | ||
| photo_id | No | ||
| schedule | No | ||
| video_id | No | ||
| is_paused | No | ||
| account_id | No | ||
| promote_url | No | ||
| show_userpic | No | ||
| website_name | No | ||
| activate_date | No | ||
| additional_info | No | ||
| deactivate_date | No | ||
| website_photo_id | No | ||
| include_targeting | No | ||
| submit_for_review | No | ||
| daily_budget_limit | No | ||
| conversion_event_id | No | ||
| impression_frequency | No |