Delete ad
tg_delete_adPermanently delete a Telegram ad once it has been inactive for 10 minutes and has no remaining budget. Requires confirmation and write mode enabled.
Instructions
Permanently delete an advertisement. Telegram requires the ad to be inactive for at least 10 minutes and to have no remaining budget. 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_delete_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| confirm | No | ||
| account_id | No |