Skip to content

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=0

Query parameters:

ParameterTypeDescription
platformDefaultAlways Telegram
account_fromStringRequired. Cabinet name
advertisement_idsNumberIDs of the advertisements to export
limitNumberMaximum number of advertisements in the response
offsetNumberOffset in the result list

Example successful response — downloaded file

File fields:

FieldTypeDescription
idNumberUnique advertisement identifier
titleStringAdvertisement title
textStringAdvertisement text
statusStringCurrent advertisement status
views_per_usersNumberDaily views limit per user
show_picturevStringShow site/channel avatar
promote_urlStringChannel/bot/site URL
cpm_1000NumberCPM in euros
promote_url_picture_idStringAvatar path
current_budgetNumberAdvertisement budget
target_langsStringChannel languages for targeting
target_topics_verboseStringIncluded targeting topics (text labels)
target_topicsArray stringTargeting topics
exclude_target_topics_verboseArray stringExcluded targeting topics (text labels)
exclude_target_topicsStringExcluded topics
target_channels_verboseStringTarget channel as t.me link text
target_channelsArray stringTarget channels
exclude_target_channels_verboseStringExcluded topics
exclude_target_channelsArray stringExcluded channels
ad_typeStringAd type
(e.g. "target_channels", target_users)
target_countriesStringTarget countries
target_user_locations_verboseStringTarget locations (labels)
target_user_locationsArray stringTarget locations (with ids)
website_nameStringWebsite name
ad_infoNumberAdvertisement info
exclude_politicStringExclude political channels checkbox
all_topics_interested_userStringTarget only users interested in all selected topics
deviceStringDevice
target_user_channels_verboseArray stringIncluded channels without t.me
exclude_target_user_channels_verboseStringExcluded channels without t.me
target_user_channelsStringIncluded channel ids with location set
exclude_target_user_channelsNumberExcluded channel ids with location set
button_typeStringButton label for the promoted ad link
after_moderation_statusStringStatus after moderation
daily_budgetNumberDaily limit
start_dateArray stringAd start date
end_dateArray stringAd end date
scheduleArray stringSchedule
use_selected_timezoneStringUse specified timezone
schedule_timezoneNumberTimezone offset in seconds