create_ad
Create a Telegram ad campaign targeting channels, bots, search, or users with specified budget, schedule, and audience settings.
Instructions
Create an ad. Gram cabinets allow channels, bots, search, and users (geo). EUR too.
Always create on_hold. Budget "0" cannot go to review. IDs are semicolon-separated.
Search ads: do not pass text/picture/media.
Empty strings are stripped and not sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | Yes | ||
| bots | No | ||
| text | No | ||
| langs | No | ||
| media | No | ||
| title | Yes | ||
| active | No | on_hold | |
| budget | No | 0 | |
| button | No | ||
| device | No | ||
| topics | No | ||
| picture | No | ||
| channels | No | ||
| schedule | No | ||
| countries | No | ||
| locations | No | ||
| user_langs | No | ||
| audience_id | No | ||
| only_crypto | No | ||
| promote_url | Yes | ||
| schedule_tz | No | ||
| target_type | No | channels | |
| user_topics | No | ||
| daily_budget | No | 0 | |
| only_politic | No | ||
| website_name | No | ||
| activate_date | No | ||
| user_channels | No | ||
| exclude_crypto | No | ||
| exclude_topics | No | ||
| search_queries | No | ||
| views_per_user | No | 1 | |
| deactivate_date | No | ||
| exclude_politic | No | ||
| conversion_event | No | ||
| exclude_channels | No | ||
| intersect_topics | No | ||
| schedule_tz_custom | No | ||
| exclude_user_topics | No | ||
| exclude_user_channels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||