Between Exchange


Инструкции по использованию Prebid.js / Using Prebid.js instructions

На русском

Подключение Prebid.js
Подключение Prebid.js с Google DFP
Видео креативы

Валюта

Вы можете выбрать, в какой валюте Between SSP-сервер будет отправлять CPM: 'RUB', 'USD' или 'EUR'. По-умолчанию - 'RUB'. Для этого в поле params нашего адаптера нужно добавить поле cur, которое принимает одно из значений: 'RUB', 'USD' или 'EUR'.

Например, вы хотите, чтобы CPM присылался в долларах (USD). Тогда код настроек нашего адаптера будет выглядеть так:

        
{
 bidder: 'between',
  params: {
   s: 	ID_СЕКЦИИ,
   cur: 'USD'
  }
}
        
        

Мультиразмеры

Если в настройках AdUnits в поле mediaTypes.banner.sizes вы укажете несколько размеров, наш SSP сервер проведет аукцион с каждым размером и ответит бидом с максимальным CPM.

Например, ваш ad-slot поддерживает три размера: 970x250, 728x90 и 468x60. Тогда код AdUnits будет выглядеть так:

        
var adUnits = [{
 code: 'ad-slot',
  mediaTypes: {
   banner: {
    sizes: [[970, 250], [728, 90], [468, 60]]
   }
 },
 bids: [
  {
   bidder: 'between',
    params: {
     s: ID_СЕКЦИИ,
    }
  }
]
}];
        
      

In English

Using Prebid.js
Using Prebid.js with Google DFP
Video creatives
Using Prebid Server

Currency

You can choose in which currency the SSP server will send cpm: 'RUB', 'USD' or 'EUR'. Default is 'RUB'. To do this, in the params field of our adapter you need to add the cur field, which takes one of the values: 'RUB', 'USD' or 'EUR'.

For example, you want cpm to be sent in dollars. Then the code of our adapter settings will look like this:

        
{
 bidder: 'between',
  params: {
   s: 	BETWEEN_SECTION_ID,
   cur: 'USD'
  }
}
        
        

Multisizes

If you specify several sizes in the AdUnits settings in the mediaTypes.banner.sizes field, our SSP server will hold an auction with each size and respond with a bid with the maximum CPM.

For example, your ad-slot supports three sizes: 970x250, 728x90 and 468x60. Then the AdUnits code will look like this:

        
var adUnits = [{
 code: 'ad-slot',
  mediaTypes: {
   banner: {
    sizes: [[970, 250], [728, 90], [468, 60]]
   }
 },
 bids: [
  {
   bidder: 'between',
    params: {
     s: BETWEEN_SECTION_ID,
    }
  }
]
}];