launch_ad
Submit a Telegram ad for review by creating it on-hold, setting the budget, and sending targeting in one call. Returns the failed step, avoiding manual create, edit, and review calls.
Instructions
Create on_hold, add budget, submit for review. Does not activate.
Spends `budget` (default 1 Gram) and sends targeting to review. Not go-live.
Returns each step so you can see which one failed. Prefer this over calling
create_ad + edit_ad + send_target_to_review by hand.
Safe targeting subset vs create_ad: topics, exclude_*, locations, user_langs/user_topics.
Do not send langs together with specific channel IDs (platform Target invalid);
langs is dropped in that case. Full field set remains on create_ad.
confirm: required unless TG_ADS_WRITE_GATE=open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | Yes | ||
| bots | No | ||
| text | No | ||
| langs | No | ||
| media | No | ||
| title | Yes | ||
| budget | No | 1 | |
| topics | No | ||
| confirm | No | ||
| channels | No | ||
| countries | No | ||
| locations | No | ||
| user_langs | No | ||
| audience_id | No | ||
| promote_url | Yes | ||
| skip_review | No | ||
| target_type | No | channels | |
| user_topics | No | ||
| daily_budget | No | 0 | |
| exclude_crypto | No | ||
| exclude_topics | No | ||
| search_queries | No | ||
| exclude_politic | No | ||
| exclude_channels | No | ||
| exclude_user_topics | No | ||
| exclude_user_channels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||