Разработчикам

Синхронизация кук

Входящие запросы на синхронизацию кук

Пример запроса:

https://sync.dmp.melvad.com/match/0?ssp_id=0&user_id={user_id}&rt={REDIRECT_TO_ENCODE_URL}
&gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_XXXXX}&sub_field1=&sub_field2=&sub_field3=&sub_field4=&sub_field5=

, где

  • {user_id} - идентификатор пользователя SSP
  • {REDIRECT_TO_ENCODE_URL} - URL, на какой необходимо перенаправить запрос (делается 302 редирект), обязательно передается в encode
  • ${GDPR} - принимаются значение 0 или 1, согласно документации CMP API v2
  • ${GDPR_CONSENT_XXXX} - согласие пользователя на обработку его данных, согласно документации CMP API v2
  • sub_field1, sub_field2, sub_field3, sub_field4, sub_field5 - необязательные параметры, в которые можно передать свое значение, если необходимо передать его в URL перенаправления
  • %7B%7Bsub_field1%7D%7D, %7B%7Bsub_field2%7D%7D, %7B%7Bsub_field3%7D%7D, %7B%7Bsub_field4%7D%7D, %7B%7Bsub_field5%7D%7D - необязательные encode макросы, которые размещается в URL перенаправления, если необходимо пробросить значение из соответствующих параметров "sub_field1..5"

Поддерживаемые форматы рекламы в формате OpenRTB стандарта (версия OpenRTB 2.5)

Баннерная реклама

Полноэкранное объявление

Пример запроса

{
   "id": "o37du34ajfj34h",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "pdsu2389fdfj34",
         "secure": 1,
         "banner": {
            "w": 375,
            "h": 667,
            "format": [
               {
                  "w": 375,
                  "h": 667
               },
               {
                  "w": 320,
                  "h": 480
               }
            ],
            "api": [
               5
            ],
            "mimes": [
               "image/png",
               "image/jpeg",
               "image/gif",
               "text/html",
			   "text/plain"
            ],
            "btype": [
               1,
               3,
               4
            ],
            "battr": [
               3,
               4,
               5
            ]
         },
         "instl": 1
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr"
      },
      "cat": [
         "IAB9"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "api" передается опционально, но только для отображения рекламы в мобильном приложении

Пример ответа

Раскрывающееся объявление

Пример запроса

{
   "id": "o37du34ajfj34h",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "pdsu2389fdfj34",
         "secure": 1,
         "banner": {
            "w": 320,
            "h": 480,
            "format": [
               {
                  "w": 320,
                  "h": 480
               }
            ],
            "api": [
               5
            ],
            "expdir": [
               5
            ],
            "mimes": [
               "image/png",
               "image/jpeg",
               "image/gif",
               "text/html",
			   "text/plain"
            ],
            "btype": [
               1,
               3,
               4
            ]
         },
         "instl": 1
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr"
      },
      "cat": [
         "IAB9"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание:

  • в атрибут "expdir" передается направление раскрытия, если в нем присутствует значение 5, то так же должен передавать и атрибут "instl" со значением 1
  • атрибут "api" передается опционально, но только для отображения рекламы в мобильном приложении

Пример ответа

Приклеенное объявление

Пример запроса

{
   "id": "o37du34ajfj34h",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "pdsu2389fdfj34",
         "secure": 1,
         "banner": {
            "w": 414,
            "h": 50,
            "format": [
               {
                  "w": 414,
                  "h": 50
               }
            ],
            "api": [
               5
            ],
            "mimes": [
               "image/png",
               "image/jpeg",
               "image/gif",
               "text/html",
			   "text/plain"
            ],
            "btype": [
               1,
               3,
               4
            ],
            "battr": [
               3,
               4,
               5
            ]
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr"
      },
      "cat": [
         "IAB9"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

Приклеенное полноэкранное объявление

Пример запроса

{
   "id": "o37du34ajfj34h",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "pdsu2389fdfj34",
         "secure": 1,
         "banner": {
            "w": 414,
            "h": 50,
            "format": [
               {
                  "w": 414,
                  "h": 50
               }
            ],
            "api": [
               5
            ],
            "mimes": [
               "image/png",
               "image/jpeg",
               "image/gif",
               "text/html",
			   "text/plain"
            ],
            "btype": [
               1,
               3,
               4
            ]
         },
         "instl": 1
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr"
      },
      "cat": [
         "IAB9"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

Объявление с фиксированным размером

Пример запроса

{
   "id": "o37du34ajfj34h",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "pdsu2389fdfj34",
         "secure": 1,
         "banner": {
            "w": 728,
            "h": 90,
            "format": [
               {
                  "w": 728,
                  "h": 90
               },
               {
                  "w": 468,
                  "h": 60
               }
            ],
            "api": [
               5
            ],
            "mimes": [
               "image/png",
               "image/jpeg",
               "image/gif",
               "text/html",
			   "text/plain",
               "application/javascript",
               "text/javascript"
            ],
            "btype": [
               1,
               4
            ],
            "battr": [
               3,
               4,
               5
            ]
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr"
      },
      "cat": [
         "IAB9"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "api" передается опционально, но только для отображения рекламы в мобильном приложении

Пример ответа

Видео реклама

Линейное объявление с сопутствующим объявлением и возможностью пропуска

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "protocols": [
               3
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "startdelay": 0,
            "placement": 1,
            "companionad": [
               {
                  "id": "1",
                  "format": [
                     {
                        "w": 300,
                        "h": 250
                     }
                  ],
                  "w": 300,
                  "h": 250,
                  "btype": [
                     1,
                     3,
                     4
                  ]
               }
            ],
            "companiontype": [
               1
            ]
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344"
      },
      "cat": [
         "IAB12",
         "IAB17-12"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "startdelay" может иметь значение -2, -1, 0 или любое число больше 1

Пример ответа

Линейное объявление с цепочкой последовательных объявлений и возможностью пропуска

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "sequence": 3,
            "protocols": [
               3
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "startdelay": 0,
            "placement": 1
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344"
      },
      "cat": [
         "IAB12",
         "IAB17-12"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание:

  • атрибут "sequence" может иметь значение 2 или 3
  • атрибут "startdelay" может иметь значение -2, -1, 0 или любое число больше 1

Пример ответа

Линейное объявление с возможностью пропуска

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "protocols": [
               3,
               6
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "startdelay": 0,
            "placement": 1
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344"
      },
      "cat": [
         "IAB12",
         "IAB17-12"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "startdelay" может иметь значение -2, -1, 0 или любое число больше 1

Пример ответа

Линейное вне потоковое объявление за вознаграждение

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "protocols": [
               3
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "placement": 4,
            "ext": {
               "rewarded": 1
            }
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr" 
      },
      "cat": [
         "IAB9" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "placement" передается опционально

Пример ответа

Полноэкранное линейное вне потоковое объявление

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "protocols": [
               3
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "placement": 5
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr" 
      },
      "cat": [
         "IAB9" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

Линейное вне потоковое объявление

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 640,
            "h": 360,
            "minduration": 5,
            "maxduration": 60,
            "minbitrate": 500,
            "maxbitrate": 6000,
            "protocols": [
               3
            ],
            "api": [
               2
            ],
            "mimes": [
               "video/mp4",
               "video/webm",
               "video/mpeg",
               "application/javascript"
            ],
            "linearity": 1,
            "delivery": [
               2
            ],
            "placement": 4
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344"
      },
      "cat": [
         "IAB12",
         "IAB17-12"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Примечание: атрибут "placement" может иметь значение 3 или 4

Пример ответа

Нелинейное объявление

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB"
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "video": {
            "w": 320,
            "h": 50,
            "protocols": [
               3
            ],
            "mimes": [
               "image/gif",
               "image/jpeg",
               "image/png"
            ],
            "linearity": 2
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles"
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344"
      },
      "cat": [
         "IAB12",
         "IAB17-12"
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

Нативная реклама

Мобильное приложение в ленте

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":3,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"required\":1,\"data\":{\"type\":2,\"len\":90}},{\"id\":5,\"data\":{\"type\":3,\"len\":5}},{\"id\":6,\"data\":{\"type\":4,\"len\":11}},{\"id\":7,\"data\":{\"type\":12,\"len\":15}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr" 
      },
      "cat": [
         "IAB9" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

Мобильное приложение в ленте с видео

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":3,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"required\":1,\"video\":{\"mimes\":[\"video\/mp4\",\"video\/webm\",\"video\/mpeg\"],\"protocols\":[3]}},{\"id\":5,\"required\":1,\"data\":{\"type\":2,\"len\":90}},{\"id\":6,\"data\":{\"type\":3,\"len\":5}},{\"id\":7,\"data\":{\"type\":4,\"len\":11}},{\"id\":8,\"data\":{\"type\":12,\"len\":15}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "app": {
      "id": "9fu48u347ru34o",
      "name": "Angry Birds 2",
      "bundle": "com.rovio.baba",
      "storeurl": "https://apps.apple.com/app/angry-birds-2/id880047117",
      "publisher": {
         "id": "p-8e23ywepo3rr" 
      },
      "cat": [
         "IAB9" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c"
   }
}

Пример ответа

В контенте

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":3,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"required\":1,\"data\":{\"type\":2,\"len\":90}},{\"id\":5,\"required\":1,\"data\":{\"type\":1,\"len\":25}},{\"id\":6,\"data\":{\"type\":12,\"len\":15}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344" 
      },
      "cat": [
         "IAB12",
         "IAB17-12" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c" 
   }
}

Пример ответа

В контенте с видео

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":3,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"required\":1,\"video\":{\"mimes\":[\"video\/mp4\",\"video\/webm\",\"video\/mpeg\"],\"protocols\":[3]}},{\"id\":5,\"data\":{\"type\":2,\"len\":90}},{\"id\":6,\"required\":1,\"data\":{\"type\":1,\"len\":25}},{\"id\":7,\"data\":{\"type\":12,\"len\":15}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344" 
      },
      "cat": [
         "IAB12",
         "IAB17-12" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c" 
   }
}

Пример ответа

Текст и изображение

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"data\":{\"type\":12,\"len\":15}},{\"id\":3,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"data\":{\"type\":2,\"len\":90}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344" 
      },
      "cat": [
         "IAB12",
         "IAB17-12" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c" 
   }
}

Пример ответа

Текст и видео

Пример запроса

{
   "id": "o37934lssd34fgd",
   "cur": [
      "USD",
      "RUB" 
   ],
   "at": 2,
   "imp": [
      {
         "id": "1",
         "bidfloor": 0.25,
         "bidfloorcur": "USD",
         "tagid": "ierui234fdfdf",
         "secure": 1,
         "native": {
            "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"data\":{\"type\":12,\"len\":15}},{\"id\":3,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100,\"mimes\":[\"image\/png\",\"image\/jpeg\",\"image\/gif\",\"text\/html\"]}},{\"id\":4,\"data\":{\"type\":3,\"len\":5}},{\"id\":5,\"required\":1,\"video\":{\"mimes\":[\"video\/mp4\",\"video\/webm\",\"video\/mpeg\"],\"protocols\":[3]}},{\"id\":6,\"data\":{\"type\":2,\"len\":90}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}",
            "ver": "1.2" 
         }
      }
   ],
   "device": {
      "w": 375,
      "h": 667,
      "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/112.0.5615.46 Mobile/15E148 Safari/604.1",
      "ip": "69.75.122.146",
      "ifa": "460384F3-D3B0-47CA-8090-F120F270A8B7",
      "language": "en",
      "geo": {
         "country": "USA",
         "region": "CA",
         "city": "Los Angeles" 
      }
   },
   "site": {
      "id": "9fu48u347ru34o",
      "domain": "tass.ru",
      "page": "https://tass.ru/sport/4237913",
      "publisher": {
         "id": "p-93dj34di3344" 
      },
      "cat": [
         "IAB12",
         "IAB17-12" 
      ]
   },
   "user": {
      "id": "d92a55e6-3eda-44c4-a448-14830a4c6838",
      "buyeruid": "213ba1a2425be71ec5080b1d64b8450c" 
   }
}

Пример ответа

Для получения технической поддержки, вы можете написать на адрес support@melvad.com и описать характер проблемы, которую необходимо решить, а также предоставить сопутствующую информацию для улучшения понимания этой проблемы. Мы приложим все усилия для своевременного ответа на такие запросы, но не можем гарантировать, что проблема будет решена.