TrafficGate
Features
| Bidder Code | trafficgate | Prebid.org Member | yes | 
|---|---|---|---|
| Prebid.js Adapter | yes | Prebid Server Adapter | yes | 
| Media Types | display, video | Multi Format Support | will-bid-on-any | 
| TCF-EU Support | no | IAB GVL ID | check with bidder | 
| GPP Support | check with bidder | DSA Support | check with bidder | 
| USP/CCPA Support | yes | COPPA Support | yes | 
| Supply Chain Support | yes | Demand Chain Support | no | 
| Safeframes OK | yes | Supports Deals | yes | 
| Floors Module Support | no | First Party Data Support | no | 
| Endpoint Compression | check with bidder | ORTB Blocking Support | yes | 
| User IDs | none | Privacy Sandbox | check with bidder | 
| Prebid Server App Support | yes | 
Note
This bidder requires the client side Prebid.js adapter to work on Prebid Server due to the dependency on the transformBidParams function.
See prebid.js #6361 for more details.
The TrafficGate Bidding adapter requires setup before beginning. Please contact us at support@bidscube.com
Bid Params
| Name | Scope | Description | Example | Type | 
|---|---|---|---|---|
| placementId | required | Placement ID | '12345' | string | 
| host | required | Host | 'example' | string | 
| customFloor | optional | Custom Bid Floor | 2.55 | number | 
AdUnit Format for Banner
var adUnits = [{
    code: 'test-banner-div ',
    mediaTypes: {
        banner: {
            sizes: [[300, 250]],
        }
    },
    bids: [{
        bidder: 'trafficgate',
        params: {
            placementId: '16',
            host: 'example'
        }
    }]
}];
Video
mediaTypes.video
The following video parameters are supported here so publishers may fully declare their video inventory:
| Name | Scope | Description | Example | Type | 
|---|---|---|---|---|
| context | required | instream or outstream | “outstream” | string | 
| playerSize | required | width, height of the player in pixels | [640,360] - will be translated to w and h in bid request | array | 
| mimes | required | List of content MIME types supported by the player (see openRTB v2.5 for options) | [“video/mp4”] | array | 
| protocols | recommended | Supported video bid response protocol values 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 7: VAST 4.0 8: VAST 4.0 Wrapper | [2,3,5,6] | array | 
| api | recommended | Supported API framework values: 1: VPAID 1.0 2: VPAID 2.0 3: MRAID-1 4: ORMMA 5: MRAID-2 | [2] | array | 
| linearity | recommended | OpenRTB2 linearity. 1: linear (in-stream ad), 2: non-linear (overlay ad) | 1 | integer | 
| maxduration | recommended | Maximum video ad duration in seconds. | 30 | integer | 
| minduration | recommended | Minimum video ad duration in seconds | 6 | integer | 
| playbackmethod | recommended | Playback methods that may be in use. Only one method is typically used in practice. (see openRTB v2.5 section 5.10 for options) | [2] | array | 
| minbitrate | optional | Minimum bit rate in Kbps. | 300 | integer | 
| maxbitrate | optional | Maximum bit rate in Kbps. | 9600 | integer | 
| battr | optional | Blocked creative attributes | [13,14] | array | 
| startdelay | recommended | Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. >0: Mid-Roll (value indicates start delay in second) 0: Pre-Roll -1: Generic Mid-Roll -2: Generic Post-Roll | 0 | integer | 
| placement | recommended | Placement type for the impression. (see openRTB v2.5 section 5.9 for options) | 1 | integer | 
AdUnit Format for Video
var videoAdUnits = [{
    code: 'test-div-video',
    mediaTypes: {
        video: {
            playerSize: [640, 480],               // required
            context: 'instream',                  // required
            mimes: ['video/mp4','video/x-flv'],   // required
            minduration: 5,                       // optional
            maxduration: 30,                      // optional
            startdelay: 5,                        // optional
            playbackmethod: [1,3],                // optional
            api: [ 1, 2 ],                        // optional
            protocols: [ 2, 3 ],                  // optional
            battr: [ 13, 14 ],                    // optional
            linearity: 1,                         // optional
            placement: 2,                         // optional
            minbitrate: 10,                       // optional
            maxbitrate: 10                        // optional
        }
    },
    bids: [{
        bidder: 'trafficgate',
        params: {
            placementId: '10',
            host: 'example'
        }
    }]
}]
"Send All Bids" Ad Server Keys
These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.| hb_pb_trafficgate | hb_bidder_trafficgat | hb_adid_trafficgate | 
| hb_size_trafficgate | hb_source_trafficgat | hb_format_trafficgat | 
| hb_cache_host_traffi | hb_cache_id_trafficg | hb_uuid_trafficgate | 
| hb_cache_path_traffi | hb_deal_trafficgate |