github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/targeting-with-winners.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": true 65 } 66 } 67 } 68 } 69 }, 70 "outgoingRequests": { 71 "appnexus": { 72 "mockResponse": { 73 "pbsSeatBids": [ 74 { 75 "pbsBids": [ 76 { 77 "ortbBid": { 78 "id": "winning-bid", 79 "impid": "my-imp-id", 80 "price": 0.71, 81 "w": 200, 82 "h": 250, 83 "crid": "creative-1" 84 }, 85 "bidType": "video" 86 }, 87 { 88 "ortbBid": { 89 "id": "losing-bid", 90 "impid": "my-imp-id", 91 "price": 0.21, 92 "w": 200, 93 "h": 250, 94 "crid": "creative-2" 95 }, 96 "bidType": "video" 97 }, 98 { 99 "ortbBid": { 100 "id": "other-bid", 101 "impid": "imp-id-2", 102 "price": 0.61, 103 "w": 300, 104 "h": 500, 105 "crid": "creative-3" 106 }, 107 "bidType": "video" 108 } 109 ], 110 "seat": "appnexus" 111 } 112 ] 113 } 114 }, 115 "audienceNetwork": { 116 "mockResponse": { 117 "pbsSeatBids": [ 118 { 119 "pbsBids": [ 120 { 121 "ortbBid": { 122 "id": "contending-bid", 123 "impid": "my-imp-id", 124 "price": 0.51, 125 "w": 200, 126 "h": 250, 127 "crid": "creative-4" 128 }, 129 "bidType": "video" 130 } 131 ], 132 "seat": "audienceNetwork" 133 } 134 ] 135 } 136 } 137 }, 138 "response": { 139 "bids": { 140 "id": "some-request-id", 141 "seatbid": [ 142 { 143 "seat": "audienceNetwork", 144 "bid": [ 145 { 146 "id": "contending-bid", 147 "impid": "my-imp-id", 148 "price": 0.51, 149 "w": 200, 150 "h": 250, 151 "crid": "creative-4", 152 "ext": { 153 "origbidcpm": 0.51, 154 "prebid": { 155 "meta": { 156 }, 157 "type": "video", 158 "targeting": { 159 "hb_bidder_audienceNe": "audienceNetwork", 160 "hb_cache_host_audien": "www.pbcserver.com", 161 "hb_cache_path_audien": "/pbcache/endpoint", 162 "hb_pb_audienceNetwor": "0.50", 163 "hb_size_audienceNetw": "200x250" 164 } 165 } 166 } 167 } 168 ] 169 }, 170 { 171 "seat": "appnexus", 172 "bid": [ 173 { 174 "id": "winning-bid", 175 "impid": "my-imp-id", 176 "price": 0.71, 177 "w": 200, 178 "h": 250, 179 "crid": "creative-1", 180 "ext": { 181 "origbidcpm": 0.71, 182 "prebid": { 183 "meta": { 184 }, 185 "type": "video", 186 "targeting": { 187 "hb_bidder": "appnexus", 188 "hb_bidder_appnexus": "appnexus", 189 "hb_cache_host": "www.pbcserver.com", 190 "hb_cache_host_appnex": "www.pbcserver.com", 191 "hb_cache_path": "/pbcache/endpoint", 192 "hb_cache_path_appnex": "/pbcache/endpoint", 193 "hb_pb": "0.70", 194 "hb_pb_appnexus": "0.70", 195 "hb_size": "200x250", 196 "hb_size_appnexus": "200x250" 197 } 198 } 199 } 200 }, 201 { 202 "id": "losing-bid", 203 "impid": "my-imp-id", 204 "price": 0.21, 205 "w": 200, 206 "h": 250, 207 "crid": "creative-2", 208 "ext": { 209 "origbidcpm": 0.21, 210 "prebid": { 211 "meta": { 212 }, 213 "type": "video" 214 } 215 } 216 }, 217 { 218 "id": "other-bid", 219 "impid": "imp-id-2", 220 "price": 0.61, 221 "w": 300, 222 "h": 500, 223 "crid": "creative-3", 224 "ext": { 225 "origbidcpm": 0.61, 226 "prebid": { 227 "meta": { 228 }, 229 "type": "video", 230 "targeting": { 231 "hb_bidder": "appnexus", 232 "hb_bidder_appnexus": "appnexus", 233 "hb_cache_host": "www.pbcserver.com", 234 "hb_cache_host_appnex": "www.pbcserver.com", 235 "hb_cache_path": "/pbcache/endpoint", 236 "hb_cache_path_appnex": "/pbcache/endpoint", 237 "hb_pb": "0.60", 238 "hb_pb_appnexus": "0.60", 239 "hb_size": "300x500", 240 "hb_size_appnexus": "300x500" 241 } 242 } 243 } 244 } 245 ] 246 } 247 ] 248 } 249 } 250 }