Получение списка мобильных блоков
Request
GET
https://partner.yandex.ru/api/mobile/adunit
Partner API
Query parameters
Name |
Description |
filter |
Type: MobileAdUnitFilter Параметры фильтрации мобильных блоков |
pageable |
Type: Pageable Параметры постраничного вывода |
MobileAdUnitFilter
Параметры фильтрации мобильных блоков
Name |
Description |
appIds |
Type: integer<int64>[] Идентификаторы приложений, на которых ищем блоки Unique items: |
status |
Type: AdUnitStatus[] Статусы искомых блоков Enum: Default: Unique items: |
Pageable
Параметры постраничного вывода
Name |
Description |
page |
Type: integer<int32> Номер страницы (zero-based) Default: Min value: |
size |
Type: integer<int32> Размер страницы Default: Min value: Max value: |
AdUnitStatus
Type |
Description |
Enum: |
Responses
200 OK
OK
Body
application/json
{
"data": [
{
"applicationId": 0,
"caption": "string",
"createDate": "2022-12-29T18:02:01Z",
"editable": false,
"id": "string",
"status": "UNKNOWN",
"strategy": {
"type": "string"
},
"type": "string"
},
{
"applicationId": 0,
"caption": "string",
"createDate": "2022-12-29T18:02:01Z",
"editable": false,
"id": "string",
"status": "UNKNOWN",
"strategy": {
"type": "string"
},
"type": "string",
"currencyType": "string",
"currencyValue": 0
},
{
"applicationId": 0,
"caption": "string",
"createDate": "2022-12-29T18:02:01Z",
"editable": false,
"id": "string",
"status": "UNKNOWN",
"strategy": {
"type": "string"
},
"type": "string"
},
{
"applicationId": 0,
"caption": "string",
"createDate": "2022-12-29T18:02:01Z",
"editable": false,
"id": "string",
"status": "UNKNOWN",
"strategy": {
"type": "string"
},
"type": "string"
},
{
"applicationId": 0,
"caption": "string",
"createDate": "2022-12-29T18:02:01Z",
"editable": false,
"id": "string",
"status": "UNKNOWN",
"strategy": {
"type": "string"
},
"type": "string"
}
],
"warnings": [
"string"
]
}
Name |
Description |
data |
Type: (AppOpenMobileAdUnit or RewardedMobileAdUnit or BannerMobileAdUnit or NativeMobileAdUnit or InterstitialMobileAdUnit)[] |
warnings |
Type: string[] Список предупреждений, возникших в ходе выполнения операции |
AppOpenMobileAdUnit
Name |
Description |
applicationId* |
Type: number Идентификатор приложения |
id* |
Type: string Идентификатор блока Min length: Pattern: |
type* |
Type: string Тип блока или тип операции над ним |
caption |
Type: string Описание Min length: Max length: |
createDate |
Type: string<date-time> Дата создания блока |
editable |
Type: boolean Допустимость редактирования |
status |
Type: AdUnitStatus Enum: |
strategy |
Type: MaxRevenueStrategy or MinCpmStrategy or MinCpmVStrategy or MinECpmStrategy Стратегия управления рекламным трафиком, пороги CPM |
RewardedMobileAdUnit
Name |
Description |
applicationId* |
Type: number Идентификатор приложения |
currencyType* |
Type: string Название внутренней валюты приложения Min length: Max length: |
currencyValue* |
Type: number Сумма вознаграждения за просмотр во внутренней валюте приложения Min value: Max value: |
id* |
Type: string Идентификатор блока Min length: Pattern: |
type* |
Type: string Тип блока или тип операции над ним |
caption |
Type: string Описание Min length: Max length: |
createDate |
Type: string<date-time> Дата создания блока |
editable |
Type: boolean Допустимость редактирования |
status |
Type: AdUnitStatus Enum: |
strategy |
Type: MaxRevenueStrategy or MinCpmStrategy or MinCpmVStrategy or MinECpmStrategy Стратегия управления рекламным трафиком, пороги CPM |
BannerMobileAdUnit
Name |
Description |
applicationId* |
Type: number Идентификатор приложения |
id* |
Type: string Идентификатор блока Min length: Pattern: |
type* |
Type: string Тип блока или тип операции над ним |
caption |
Type: string Описание Min length: Max length: |
createDate |
Type: string<date-time> Дата создания блока |
editable |
Type: boolean Допустимость редактирования |
status |
Type: AdUnitStatus Enum: |
strategy |
Type: MaxRevenueStrategy or MinCpmStrategy or MinCpmVStrategy or MinECpmStrategy Стратегия управления рекламным трафиком, пороги CPM |
NativeMobileAdUnit
Name |
Description |
applicationId* |
Type: number Идентификатор приложения |
id* |
Type: string Идентификатор блока Min length: Pattern: |
type* |
Type: string Тип блока или тип операции над ним |
caption |
Type: string Описание Min length: Max length: |
createDate |
Type: string<date-time> Дата создания блока |
editable |
Type: boolean Допустимость редактирования |
status |
Type: AdUnitStatus Enum: |
strategy |
Type: MaxRevenueStrategy or MinCpmStrategy or MinCpmVStrategy or MinECpmStrategy Стратегия управления рекламным трафиком, пороги CPM |
InterstitialMobileAdUnit
Name |
Description |
applicationId* |
Type: number Идентификатор приложения |
id* |
Type: string Идентификатор блока Min length: Pattern: |
type* |
Type: string Тип блока или тип операции над ним |
caption |
Type: string Описание Min length: Max length: |
createDate |
Type: string<date-time> Дата создания блока |
editable |
Type: boolean Допустимость редактирования |
status |
Type: AdUnitStatus Enum: |
strategy |
Type: MaxRevenueStrategy or MinCpmStrategy or MinCpmVStrategy or MinECpmStrategy Стратегия управления рекламным трафиком, пороги CPM |
MaxRevenueStrategy
Не ограничивает стоимость показа
Name |
Description |
type* |
Type: string Тип стратегии |
MinCpmStrategy
Порог определяет стоимость тысячи видимых показов
Name |
Description |
mincpm* |
Type: number Значение порога |
type* |
Type: string Тип стратегии |
MinCpmVStrategy
Порог определяет стоимость тысячи видимых показов (Deprecated)
Name |
Description |
mincpm* |
Type: number Значение порога |
type* |
Type: string Тип стратегии |
MinECpmStrategy
Порог определяет стоимость тысячи показов (Deprecated)
Name |
Description |
mincpm* |
Type: number Значение порога |
type* |
Type: string Тип стратегии |
Strategy
Стратегия управления рекламным трафиком
Name |
Description |
type* |
Type: string Тип стратегии |
No longer supported, please use an alternative and newer version.