get_ads_by_id
Retrieve selected Telegram ads by ID to inspect their details, with an option to include targeting settings; supports 1–100 IDs and defaults to the configured account.
Instructions
Get selected ads by their IDs.
Accepts 1 to 100 IDs. Ad IDs are unique within an account. Set return_target to include targeting settings.
Omitted account_id uses TELEGRAM_ADS_ACCOUNT_ID if set, otherwise the token owner's account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_ids | Yes | ||
| account_id | No | ||
| return_target | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||