campaigns

Создать рекламную кампанию

Changed on

Создание новой рекламной кампании.

post/campaigns

Request

Request body

namestring required
start_parameterstring required

Start parameter для deep-link (уникальный)

bonus_type'balance' | 'subscription' | 'none' | 'tariff' required

Тип бонуса кампании: balance (баланс), subscription (пробная подписка), none (без награды), tariff (тариф)

balance_bonus_kopeksinteger
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable

ID тарифа для выдачи

tariff_duration_daysinteger nullable

Длительность тарифа в днях

is_activeboolean

Response

Successful Response

idinteger required
namestring required
start_parameterstring required
bonus_type'balance' | 'subscription' | 'none' | 'tariff' required

Тип бонуса кампании: balance (баланс), subscription (пробная подписка), none (без награды), tariff (тариф)

balance_bonus_kopeksinteger required
balance_bonus_rublesnumber required
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable
tariff_duration_daysinteger nullable
tariff_namestring nullable
is_activeboolean required
created_byinteger nullable
created_atstring date-time required
updated_atstring date-time required
registrations_countinteger

Changes