|
| 1 | +--- |
| 2 | +layout: bidder |
| 3 | +title: InsurAds |
| 4 | +description: Prebid InsurAds Bidder Adapter |
| 5 | +pbjs: true |
| 6 | +pbs: false |
| 7 | +biddercode: insurads |
| 8 | +gvl_id: 596 |
| 9 | +usp_supported: true |
| 10 | +gpp_sids: tcfeu |
| 11 | +schain_supported: true |
| 12 | +dchain_supported: false |
| 13 | +floors_supported: true |
| 14 | +userIds: all |
| 15 | +tcfeu_supported: true |
| 16 | +media_types: banner, video, native |
| 17 | +safeframes_ok: true |
| 18 | +deals_supported: true |
| 19 | +sidebarType: 1 |
| 20 | +fpd_supported: true |
| 21 | +multiformat_supported: will-bid-on-any |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +### Bid Params |
| 26 | + |
| 27 | +{: .table .table-bordered .table-striped } |
| 28 | +| Name | Scope | Description | Example | Type | |
| 29 | +|---------------|----------|----------------------------|-------------------------------------- |-----------| |
| 30 | +| `tagId` | required | InsurAds tag ID | `"testnexx"` | `string` | |
| 31 | +| `videoTagId` | optional | InsurAds Video tag ID | `"testnexx"` | `string` | |
| 32 | +| `nativeTagId` | optional | InsurAds Native tag ID | `"testnexx"` | `string` | |
| 33 | +| `allBids` | optional | Return all bids | `true` | `boolean` | |
| 34 | +| `divId` | optional | divId linked to adUnit | `"div-1"` | `string` | |
| 35 | +| `adUnitName` | optional | A code to identify adUnit | `"header-ad"` | `string` | |
| 36 | +| `adUnitPath` | optional | A reference to adUnit Path | `"/12345/insurads/Homepage/HP/Header-Ad"` | `string` | |
| 37 | +| `placement` | optional | InsurAds placement | `"TEST_PLACEMENT"` | `string` | |
| 38 | + |
| 39 | +You *must* only include one ID field - either `tagId` or `placement`, not both. If you have questions on which parameter to use, please reach out to your Account Manager. |
| 40 | +The `tagId` and `placement` are **mutually exclusive** but at least one is required. If you pass both, `tagId` takes precedence. |
| 41 | + |
| 42 | +### Bidder Config |
| 43 | + |
| 44 | +You can allow writing in localStorage `pbjs.bidderSettings` for the bidder `insurads` |
| 45 | + |
| 46 | +{% include dev-docs/storageAllowed.md %} |
| 47 | + |
| 48 | +```javascript |
| 49 | +pbjs.bidderSettings = { |
| 50 | + insurads: { |
| 51 | + storageAllowed : true |
| 52 | + } |
| 53 | +} |
| 54 | +``` |
| 55 | + |
| 56 | +### First Party Data |
| 57 | + |
| 58 | +Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html). |
| 59 | + |
| 60 | +### Test Parameters |
| 61 | + |
| 62 | +```javascript |
| 63 | +var adUnits = [ |
| 64 | + // Banner adUnit |
| 65 | + { |
| 66 | + code: 'banner-div', |
| 67 | + mediaTypes: { |
| 68 | + banner: { |
| 69 | + sizes: [[300, 250], [300,600]] |
| 70 | + } |
| 71 | + }, |
| 72 | + bids: [{ |
| 73 | + bidder: 'insurads', |
| 74 | + params: { |
| 75 | + tagId: 'testnexx' |
| 76 | + } |
| 77 | + }] |
| 78 | + }, |
| 79 | + // Video adUnit |
| 80 | + { |
| 81 | + code: 'video1', |
| 82 | + mediaTypes: { |
| 83 | + video: { |
| 84 | + playerSize: [640, 480], |
| 85 | + context: 'instream' |
| 86 | + } |
| 87 | + }, |
| 88 | + bids: [{ |
| 89 | + bidder: 'insurads', |
| 90 | + params: { |
| 91 | + tagId: 'testnexx' |
| 92 | + } |
| 93 | + }] |
| 94 | + }, |
| 95 | + // Native adUnit |
| 96 | + { |
| 97 | + code: 'native1', |
| 98 | + mediaTypes: { |
| 99 | + native: { |
| 100 | + title: { |
| 101 | + required: true |
| 102 | + }, |
| 103 | + image: { |
| 104 | + required: true |
| 105 | + }, |
| 106 | + sponsoredBy: { |
| 107 | + required: true |
| 108 | + } |
| 109 | + } |
| 110 | + }, |
| 111 | + bids: [{ |
| 112 | + bidder: 'insurads', |
| 113 | + params: { |
| 114 | + tagId: 'testnexx' |
| 115 | + } |
| 116 | + }] |
| 117 | + }, |
| 118 | + // Multiformat Ad |
| 119 | + { |
| 120 | + code: 'multi1', |
| 121 | + mediaTypes: { |
| 122 | + video: { |
| 123 | + playerSize: [640, 480], |
| 124 | + context: 'instream' |
| 125 | + }, |
| 126 | + banner: { |
| 127 | + sizes: [[300, 250], [300,600]] |
| 128 | + }, |
| 129 | + native: { |
| 130 | + |
| 131 | + } |
| 132 | + }, |
| 133 | + bids: [{ |
| 134 | + bidder: 'insurads', |
| 135 | + params: { |
| 136 | + tagId: 'testnexx', |
| 137 | + videoTagId: 'testnexx' |
| 138 | + } |
| 139 | + }] |
| 140 | + }; |
| 141 | +]; |
| 142 | +``` |
0 commit comments