UNPKG

mk9-prebid

Version:

Header Bidding Management Library

82 lines (67 loc) 1.86 kB
#Overview ``` Module Name: iQM Bidder Adapter Module Type: Bidder Adapter Maintainer: hbteam@iqm.com ``` # Parameters | Name | Scope | Description | Example | | :------------ | :------- | :------------------------ | :------------------- | | `publisherId` | required | The Publisher ID from iQM | "df5fd732-c5f3-11e7-abc4-cec278b6b50a" | | `placementId` | required | The Placement ID from iQM | 23451 | | `bidfloor` | optional | Bid Floor | 0.50 | # Description Module that connects to iQM demand sources # Test Parameters ``` var adUnits = [{ code: 'div-gpt-ad-1460505748561-0', mediaTypes: { banner: { sizes: [[300,250]] } }, bids: [{ bidder: 'iqm', params: { geo:{ country:'USA' }, publisherId: 'df5fd732-c5f3-11e7-abc4-cec278b6b50a', placementId: 23451, bidfloor: 0.50 } }] }] ``` # adUnit Video ``` var videoAdUnit = { code: 'video1', mediaTypes: { video: { playerSize: [640, 480], context: 'instream' } }, bids: [{ bidder: 'iqm', params: { // placementId: iosDevice ? 13239390 : 13232361, // Add your own placement id here. Note, skippable video is not supported on iOS publisherId: 'df5fd732-c5f3-11e7-abc4-cec278b6b50a', placementId: 23451, geo:{ country:'USA' }, bidfloor: 0.05, video: { placement :2, mimes: ['video/mp4'], protocols: [2,5], skipppable: true, playback_method: ['auto_play_sound_off'] } } }] }; ```