v1

latestOpenAPI 3.1.02026-07-26400501584.0 KB
Cabinet Admin Campaigns

Create New Campaign

Create a new advertising campaign.

post/cabinet/admin/campaigns

Request body

namestring required
start_parameterstring required
bonus_type'balance' | 'subscription' | 'none' | 'tariff' required
is_activeboolean
balance_bonus_kopeksinteger
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable
tariff_duration_daysinteger nullable
partner_user_idinteger nullable

Response

Successful Response

idinteger required
namestring required
start_parameterstring required
bonus_type'balance' | 'subscription' | 'none' | 'tariff' required
is_activeboolean required
balance_bonus_kopeksinteger
balance_bonus_rublesnumber
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable
tariff_duration_daysinteger nullable
partner_user_idinteger nullable
partner_namestring nullable
created_byinteger nullable
created_atstring date-time required
updated_atstring date-time nullable
deep_linkstring nullable
web_linkstring nullable