|
| 1 | +--- |
| 2 | +layout: bidder |
| 3 | +title: Floxis |
| 4 | +description: Prebid Floxis Bidder Adapter |
| 5 | +biddercode: floxis |
| 6 | +pbjs: true |
| 7 | +pbs: false |
| 8 | +media_types: banner, video, native |
| 9 | +safeframes_ok: true |
| 10 | +sidebarType: 1 |
| 11 | +tcfeu_supported: true |
| 12 | +dsa_supported: false |
| 13 | +gvl_id: none |
| 14 | +usp_supported: true |
| 15 | +coppa_supported: true |
| 16 | +gpp_supported: true |
| 17 | +schain_supported: false |
| 18 | +dchain_supported: false |
| 19 | +deals_supported: false |
| 20 | +floors_supported: false |
| 21 | +fpd_supported: false |
| 22 | +prebid_member: false |
| 23 | +multiformat_supported: will-bid-on-any |
| 24 | +ortb_blocking_supported: partial |
| 25 | +privacy_sandbox: no |
| 26 | +--- |
| 27 | + |
| 28 | +### Note |
| 29 | + |
| 30 | +The Floxis bidder adapter enables integration with the Floxis programmatic advertising platform via Prebid.js. It supports banner, video, and native formats, and is designed for multi-partner, multi-region use. Please contact Floxis to set up your partner account and obtain the required parameters. |
| 31 | + |
| 32 | +### Bid Params |
| 33 | + |
| 34 | +{: .table .table-bordered .table-striped } |
| 35 | + |
| 36 | +| Name | Scope | Description | Example | Type | |
| 37 | +|------|-------|-------------|---------|------| |
| 38 | +| `partner` | required | Partner identifier provided by Floxis | `"floxis"` | `string` | |
| 39 | +| `placementId` | required | Placement identifier provided by Floxis | `123` | `integer` | |
| 40 | + |
| 41 | +### AdUnit Configuration for Banner |
| 42 | + |
| 43 | +```javascript |
| 44 | +var adUnits = [{ |
| 45 | + code: 'banner-ad-div', |
| 46 | + mediaTypes: { |
| 47 | + banner: { |
| 48 | + sizes: [[300, 250], [728, 90]] |
| 49 | + } |
| 50 | + }, |
| 51 | + bids: [{ |
| 52 | + bidder: 'floxis', |
| 53 | + params: { |
| 54 | + partner: 'floxis', |
| 55 | + placementId: 123, |
| 56 | + } |
| 57 | + }] |
| 58 | +}]; |
| 59 | +``` |
| 60 | + |
| 61 | +### AdUnit Configuration for Video |
| 62 | + |
| 63 | +```javascript |
| 64 | +var adUnits = [{ |
| 65 | + code: 'video-ad-div', |
| 66 | + mediaTypes: { |
| 67 | + video: { |
| 68 | + context: 'instream', |
| 69 | + playerSize: [[640, 480]], |
| 70 | + mimes: ['video/mp4'], |
| 71 | + protocols: [2, 3, 5, 6], |
| 72 | + minduration: 5, |
| 73 | + maxduration: 30 |
| 74 | + } |
| 75 | + }, |
| 76 | + bids: [{ |
| 77 | + bidder: 'floxis', |
| 78 | + params: { |
| 79 | + partner: 'floxis', |
| 80 | + placementId: 456 |
| 81 | + } |
| 82 | + }] |
| 83 | +}]; |
| 84 | +``` |
| 85 | + |
| 86 | +### AdUnit Configuration for Native |
| 87 | + |
| 88 | +```javascript |
| 89 | +var adUnits = [{ |
| 90 | + code: 'native-ad-div', |
| 91 | + mediaTypes: { |
| 92 | + native: { |
| 93 | + title: { |
| 94 | + required: true, |
| 95 | + len: 80 |
| 96 | + }, |
| 97 | + body: { |
| 98 | + required: true |
| 99 | + }, |
| 100 | + image: { |
| 101 | + required: true, |
| 102 | + sizes: [150, 50] |
| 103 | + }, |
| 104 | + sponsoredBy: { |
| 105 | + required: true |
| 106 | + } |
| 107 | + } |
| 108 | + }, |
| 109 | + bids: [{ |
| 110 | + bidder: 'floxis', |
| 111 | + params: { |
| 112 | + partner: 'floxis', |
| 113 | + placementId: 789 |
| 114 | + } |
| 115 | + }] |
| 116 | +}]; |
| 117 | +``` |
| 118 | + |
| 119 | +### Example |
| 120 | + |
| 121 | +```javascript |
| 122 | +var pbjs = pbjs || {}; |
| 123 | +pbjs.que = pbjs.que || []; |
| 124 | + |
| 125 | +pbjs.que.push(function() { |
| 126 | + pbjs.addAdUnits([{ |
| 127 | + code: 'div-gpt-ad-1234567890123-0', |
| 128 | + mediaTypes: { |
| 129 | + banner: { |
| 130 | + sizes: [[300, 250], [320, 50]] |
| 131 | + } |
| 132 | + }, |
| 133 | + bids: [{ |
| 134 | + bidder: 'floxis', |
| 135 | + params: { |
| 136 | + partner: 'floxis', |
| 137 | + placementId: 123 |
| 138 | + } |
| 139 | + }] |
| 140 | + }]); |
| 141 | + |
| 142 | + pbjs.requestBids({ |
| 143 | + timeout: 3000, |
| 144 | + bidsBackHandler: function(bidResponses) { |
| 145 | + // Handle bid responses |
| 146 | + pbjs.setTargetingForGPTAsync(); |
| 147 | + } |
| 148 | + }); |
| 149 | +}); |
| 150 | +``` |
0 commit comments