Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 3 Следующий »

Initial

The publisher, that aims to use GetIntent Prebid.js adapter must be first registered in the GetIntent system, and receive its unique Publisher ID. It's also possible to configure single currency for all bids. After that, you can start bidding. The name of the adapter - 'getintent'.

Live Demo

Banner - http://cdn.adhigh.net/prebid/index.html

Video - https://cdn.adhigh.net/prebid/vpbid.html

Configuration

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

ParameterObligationComment
pidrequiredPublisher ID, which is registered in the GetIntent system
tidrequiredTag 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

Banner
var adUnits = [{
        code: 'div-gpt-ad-1460505748561-0',
        sizes: [[240, 400]],
        bids: [{
            bidder: 'getintent',
            params: {
               pid: '7',
               tid: 'prebid_test'
            }
        }]
    }];
Video
var adUnits = [{
    code: 'div-gpt-ad-1460505748561-0',
    sizes: [
        [480, 352]
    ],
    mediaType: 'video',
    bids: [{
        bidder: 'getintent',
        params: {
            pid: '7',
            tid: 'prebid_test'
        }
    }]
}];
  • Нет меток