Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Here is a list of the available parameters of the GetIntent adapter:

ParameterObligationComment
pidrequiredPublisher ID, which is registered in the GetIntent system
tid
optional
requiredTag ID of the particular tag
curoptionalCurrency of the bid. Unless provided, the default from Publisher settings will be applied
flooroptionalFloor price
videooptionalVideo Object

Video Object

ParameterObligationTypeCommentExample
protocolsoptionalarray of number

The list of the restricted VAST protocol versions.

  • 1 – VAST 1.0
  • 2 – VAST 2.0
  • 3 – VAST 3.0
  • 4 – VAST 1.0 Wrapper
  • 5 – VAST 2.0 Wrapper
  • 6 – VAST 3.0 Wrapper
protocols: [4,5,6]
mimesoptionalarray of stringArray of Mime Type stringsmimes: ["application/javascript"]
min_duroptionalnumberMinimal video durationmin_dur: 30
max_duroptionalnumberMaximal video durationmax_dur: 30
min_btroptionalnumberMinimal Video bitratemin_btr: 256
max_btroptionalnumberMaximal Video bitratemax_btr: 512
vi_formatoptionalnumber

Video inventory format. Possible values:

  • 1 - In-Stream video
  • 2 - Out-Stream video
vi_format: 1
apioptionalarray of number

API of the inventory. Possible values:

  • 1 - VPAID 1.0
  • 2 - VPAID 2.0
  • 3 - MRAID-1
  • 4 - ORMMA
  • 5 - MRAID-2
api: [3,4]
skippableoptionalstring

Skippability of the inventory. Possible values (case insensitive):

  • ALLOW - skippable inventory is allowed
  • NOT_ALLOW - skippable inventory is not allowed
  • REQUIRE - only skippable inventory is allowed
  • UNKNOWN - skippability is unknown (default value)
skippable: "NOT_ALLOW"

Example

Блок кода
languagejs
titleBanner
linenumberstrue
var adUnits = [{
        code: 'div-gpt-ad-1460505748561-0',
        sizes: [[240, 400]],
        bids: [{
            bidder: 'getintent',
            params: {
               pid: '7',
               tid: 'prebid_test'
            }
        }]
    }];

...