prepare_telegram_ad_publish
Prepare creating an ad in Telegram Ads through its API. The ad is created paused. cpm and daily_budget_limit are in the Telegram account's currency. Changes nothing: stores a preview_id (15 min, single use) to show, then execute_prepared_change.
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": {
"account_id": "<account_id>",
"title": "<title>",
"promote_url": "<promote_url>",
"cpm": "<cpm>",
"reason": "<reason>"
},
"name": "prepare_telegram_ad_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | Yes | CPM bid in the account currency. | |
| text | No | Ad text, up to 160 characters. | |
| title | Yes | Ad name in the account, up to 128 bytes. | |
| button | No | Button for a website ad. | |
| reason | Yes | Why, with numbers (shown to the approver). | |
| placement | No | channel_post, bot_banner, search_result or video_banner. | |
| account_id | Yes | ADS Beast ad account id. | |
| promote_url | Yes | @username, t.me link, bot or website. | |
| website_name | No | Site name for an external link. | |
| language_codes | No | Channel languages, up to 8. | |
| daily_budget_limit | No | Daily limit in the account currency. |