delete_ad
Delete an ad from your Telegram Ads campaigns. Requires ad ID and a two-step confirmation hash to prevent accidental removal.
Instructions
Delete an ad. Two-step: first call without confirm_hash; pass the returned hash to confirm.
confirm: TG_ADS_WRITE_GATE (danger). confirm_hash is the platform hash, not the gate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| confirm | No | ||
| confirm_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||