github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/targeting-always-include-deals.json (about) 1 { 2 "incomingRequest": { 3 "ortbRequest": { 4 "id": "some-request-id", 5 "site": { 6 "page": "test.somepage.com" 7 }, 8 "imp": [ 9 { 10 "id": "my-imp-id", 11 "video": { 12 "mimes": [ 13 "video/mp4" 14 ] 15 }, 16 "ext": { 17 "prebid": { 18 "bidder": { 19 "appnexus": { 20 "placementId": 1 21 }, 22 "audienceNetwork": { 23 "placementId": "some-placement" 24 } 25 } 26 } 27 } 28 }, 29 { 30 "id": "imp-id-2", 31 "video": { 32 "mimes": [ 33 "video/mp4" 34 ] 35 }, 36 "ext": { 37 "prebid": { 38 "bidder": { 39 "appnexus": { 40 "placementId": 2 41 }, 42 "audienceNetwork": { 43 "placementId": "some-other-placement" 44 } 45 } 46 } 47 } 48 } 49 ], 50 "ext": { 51 "prebid": { 52 "targeting": { 53 "pricegranularity": { 54 "precision": 2, 55 "ranges": [ 56 { 57 "min": 0, 58 "max": 20, 59 "increment": 0.1 60 } 61 ] 62 }, 63 "includewinners": true, 64 "includebidderkeys": false, 65 "alwaysincludedeals": true 66 } 67 } 68 } 69 } 70 }, 71 "outgoingRequests": { 72 "appnexus": { 73 "mockResponse": { 74 "pbsSeatBids": [ 75 { 76 "pbsBids": [ 77 { 78 "ortbBid": { 79 "id": "winning-bid", 80 "impid": "my-imp-id", 81 "price": 0.71, 82 "w": 200, 83 "h": 250, 84 "crid": "creative-1", 85 "dealid": "deal-1" 86 }, 87 "bidType": "video" 88 }, 89 { 90 "ortbBid": { 91 "id": "losing-bid", 92 "impid": "my-imp-id", 93 "price": 0.21, 94 "w": 200, 95 "h": 250, 96 "crid": "creative-2", 97 "dealid": "deal-2" 98 }, 99 "bidType": "video" 100 }, 101 { 102 "ortbBid": { 103 "id": "other-bid", 104 "impid": "imp-id-2", 105 "price": 0.61, 106 "w": 300, 107 "h": 500, 108 "crid": "creative-3", 109 "dealid": "deal-3" 110 }, 111 "bidType": "video" 112 } 113 ], 114 "seat": "appnexus" 115 } 116 ] 117 } 118 }, 119 "audienceNetwork": { 120 "mockResponse": { 121 "pbsSeatBids": [ 122 { 123 "pbsBids": [ 124 { 125 "ortbBid": { 126 "id": "contending-bid", 127 "impid": "my-imp-id", 128 "price": 0.51, 129 "w": 200, 130 "h": 250, 131 "crid": "creative-4", 132 "dealid": "deal-4" 133 }, 134 "bidType": "video" 135 }, 136 { 137 "ortbBid": { 138 "id": "losing-bid-aN", 139 "impid": "imp-id-2", 140 "price": 0.40, 141 "w": 200, 142 "h": 250, 143 "crid": "creative-5" 144 }, 145 "bidType": "video" 146 } 147 ], 148 "seat": "audienceNetwork" 149 } 150 ] 151 } 152 } 153 }, 154 "response": { 155 "bids": { 156 "id": "some-request-id", 157 "seatbid": [ 158 { 159 "seat": "audienceNetwork", 160 "bid": [ 161 { 162 "id": "contending-bid", 163 "impid": "my-imp-id", 164 "price": 0.51, 165 "w": 200, 166 "h": 250, 167 "crid": "creative-4", 168 "dealid": "deal-4", 169 "ext": { 170 "origbidcpm": 0.51, 171 "prebid": { 172 "meta": { 173 }, 174 "type": "video", 175 "targeting": { 176 "hb_bidder_audienceNe": "audienceNetwork", 177 "hb_cache_host_audien": "www.pbcserver.com", 178 "hb_cache_path_audien": "/pbcache/endpoint", 179 "hb_deal_audienceNetw": "deal-4", 180 "hb_pb_audienceNetwor": "0.50", 181 "hb_size_audienceNetw": "200x250" 182 } 183 } 184 } 185 }, 186 { 187 "id": "losing-bid-aN", 188 "impid": "imp-id-2", 189 "price": 0.40, 190 "w": 200, 191 "h": 250, 192 "crid": "creative-5", 193 "ext": { 194 "origbidcpm": 0.40, 195 "prebid": { 196 "meta": { 197 }, 198 "type": "video" 199 } 200 } 201 } 202 ] 203 }, 204 { 205 "seat": "appnexus", 206 "bid": [ 207 { 208 "id": "winning-bid", 209 "impid": "my-imp-id", 210 "price": 0.71, 211 "w": 200, 212 "h": 250, 213 "crid": "creative-1", 214 "dealid": "deal-1", 215 "ext": { 216 "origbidcpm": 0.71, 217 "prebid": { 218 "meta": { 219 }, 220 "type": "video", 221 "targeting": { 222 "hb_bidder": "appnexus", 223 "hb_bidder_appnexus": "appnexus", 224 "hb_cache_host": "www.pbcserver.com", 225 "hb_cache_host_appnex": "www.pbcserver.com", 226 "hb_cache_path": "/pbcache/endpoint", 227 "hb_cache_path_appnex": "/pbcache/endpoint", 228 "hb_pb": "0.70", 229 "hb_pb_appnexus": "0.70", 230 "hb_deal":"deal-1", 231 "hb_deal_appnexus":"deal-1", 232 "hb_size": "200x250", 233 "hb_size_appnexus": "200x250" 234 } 235 } 236 } 237 }, 238 { 239 "id": "losing-bid", 240 "impid": "my-imp-id", 241 "price": 0.21, 242 "w": 200, 243 "h": 250, 244 "crid": "creative-2", 245 "dealid": "deal-2", 246 "ext": { 247 "origbidcpm": 0.21, 248 "prebid": { 249 "meta": { 250 }, 251 "type": "video" 252 } 253 } 254 }, 255 { 256 "id": "other-bid", 257 "impid": "imp-id-2", 258 "price": 0.61, 259 "w": 300, 260 "h": 500, 261 "crid": "creative-3", 262 "dealid": "deal-3", 263 "ext": { 264 "origbidcpm": 0.61, 265 "prebid": { 266 "meta": { 267 }, 268 "type": "video", 269 "targeting": { 270 "hb_bidder": "appnexus", 271 "hb_bidder_appnexus": "appnexus", 272 "hb_cache_host": "www.pbcserver.com", 273 "hb_cache_host_appnex": "www.pbcserver.com", 274 "hb_cache_path": "/pbcache/endpoint", 275 "hb_cache_path_appnex": "/pbcache/endpoint", 276 "hb_deal":"deal-3", 277 "hb_deal_appnexus":"deal-3", 278 "hb_pb": "0.60", 279 "hb_pb_appnexus": "0.60", 280 "hb_size": "300x500", 281 "hb_size_appnexus": "300x500" 282 } 283 } 284 } 285 } 286 ] 287 } 288 ] 289 } 290 } 291 }