Download advertisements as .csv file
Download advertisements as .csv file
INFO
GET https://client.adstat.pro/api/advertisement/telegram/{account_name}/create_xlsx
Example:
http
https://client.adstat.pro/api/advertisement/telegram/ga_dev/create_xlsx?limit=10&offset=0Query parameters:
| Parameter | Type | Description |
|---|---|---|
platform | Default | Always Telegram |
account_from | String | Required. Cabinet name |
advertisement_ids | Number | IDs of the advertisements to export |
limit | Number | Maximum number of advertisements in the response |
offset | Number | Offset in the result list |
Example successful response — downloaded file
File fields:
| Field | Type | Description |
|---|---|---|
id | Number | Unique advertisement identifier |
title | String | Advertisement title |
text | String | Advertisement text |
status | String | Current advertisement status |
views_per_users | Number | Daily views limit per user |
show_picturev | String | Show site/channel avatar |
promote_url | String | Channel/bot/site URL |
cpm_1000 | Number | CPM in euros |
promote_url_picture_id | String | Avatar path |
current_budget | Number | Advertisement budget |
target_langs | String | Channel languages for targeting |
target_topics_verbose | String | Included targeting topics (text labels) |
target_topics | Array string | Targeting topics |
exclude_target_topics_verbose | Array string | Excluded targeting topics (text labels) |
exclude_target_topics | String | Excluded topics |
target_channels_verbose | String | Target channel as t.me link text |
target_channels | Array string | Target channels |
exclude_target_channels_verbose | String | Excluded topics |
exclude_target_channels | Array string | Excluded channels |
ad_type | String | Ad type (e.g. "target_channels", target_users) |
target_countries | String | Target countries |
target_user_locations_verbose | String | Target locations (labels) |
target_user_locations | Array string | Target locations (with ids) |
website_name | String | Website name |
ad_info | Number | Advertisement info |
exclude_politic | String | Exclude political channels checkbox |
all_topics_interested_user | String | Target only users interested in all selected topics |
device | String | Device |
target_user_channels_verbose | Array string | Included channels without t.me |
exclude_target_user_channels_verbose | String | Excluded channels without t.me |
target_user_channels | String | Included channel ids with location set |
exclude_target_user_channels | Number | Excluded channel ids with location set |
button_type | String | Button label for the promoted ad link |
after_moderation_status | String | Status after moderation |
daily_budget | Number | Daily limit |
start_date | Array string | Ad start date |
end_date | Array string | Ad end date |
schedule | Array string | Schedule |
use_selected_timezone | String | Use specified timezone |
schedule_timezone | Number | Timezone offset in seconds |