github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/include-brand-category.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 } 23 } 24 } 25 }, 26 { 27 "id": "imp-id-2", 28 "video": { 29 "mimes": [ 30 "video/mp4" 31 ] 32 }, 33 "ext": { 34 "prebid": { 35 "bidder": { 36 "appnexus": { 37 "placementId": 1 38 } 39 } 40 } 41 } 42 } 43 ], 44 "ext": { 45 "prebid": { 46 "targeting": { 47 "pricegranularity": { 48 "precision": 2, 49 "ranges": [ 50 { 51 "min": 0, 52 "max": 20, 53 "increment": 0.1 54 } 55 ] 56 }, 57 "includewinners": true, 58 "includebidderkeys": true, 59 "includebrandcategory": { 60 "primaryadserver": 1, 61 "publisher": "", 62 "withcategory": true 63 } 64 } 65 } 66 } 67 }, 68 "usersyncs": { 69 "appnexus": "123" 70 } 71 }, 72 "outgoingRequests": { 73 "appnexus": { 74 "mockResponse": { 75 "pbsSeatBids": [ 76 { 77 "pbsBids": [ 78 { 79 "ortbBid": { 80 "id": "apn-bid", 81 "impid": "my-imp-id", 82 "price": 0.3, 83 "w": 200, 84 "h": 250, 85 "crid": "creative-1", 86 "cat": [ 87 "IAB1-1" 88 ] 89 }, 90 "bidType": "video", 91 "bidVideo": { 92 "duration": 30, 93 "PrimaryCategory": "" 94 } 95 }, 96 { 97 "ortbBid": { 98 "id": "apn-other-bid", 99 "impid": "imp-id-2", 100 "price": 0.6, 101 "w": 300, 102 "h": 500, 103 "crid": "creative-3", 104 "cat": [ 105 "IAB1-2" 106 ] 107 }, 108 "bidType": "video" 109 } 110 ], 111 "seat": "appnexus" 112 } 113 ] 114 } 115 } 116 }, 117 "response": { 118 "bids": { 119 "id": "some-request-id", 120 "seatbid": [ 121 { 122 "seat": "appnexus", 123 "bid": [ 124 { 125 "id": "apn-bid", 126 "impid": "my-imp-id", 127 "price": 0.3, 128 "w": 200, 129 "h": 250, 130 "crid": "creative-1", 131 "cat": [ 132 "IAB1-1" 133 ], 134 "ext": { 135 "origbidcpm": 0.3, 136 "prebid": { 137 "meta": { 138 }, 139 "type": "video", 140 "targeting": { 141 "hb_bidder": "appnexus", 142 "hb_bidder_appnexus": "appnexus", 143 "hb_cache_host": "www.pbcserver.com", 144 "hb_cache_host_appnex": "www.pbcserver.com", 145 "hb_cache_path": "/pbcache/endpoint", 146 "hb_cache_path_appnex": "/pbcache/endpoint", 147 "hb_pb": "0.20", 148 "hb_pb_appnexus": "0.20", 149 "hb_pb_cat_dur": "0.20_VideoGames_0s", 150 "hb_pb_cat_dur_appnex": "0.20_VideoGames_0s", 151 "hb_size": "200x250", 152 "hb_size_appnexus": "200x250" 153 } 154 } 155 } 156 }, 157 { 158 "cat": [ 159 "IAB1-2" 160 ], 161 "crid": "creative-3", 162 "ext": { 163 "origbidcpm": 0.6, 164 "prebid": { 165 "meta": { 166 }, 167 "targeting": { 168 "hb_bidder": "appnexus", 169 "hb_bidder_appnexus": "appnexus", 170 "hb_cache_host": "www.pbcserver.com", 171 "hb_cache_host_appnex": "www.pbcserver.com", 172 "hb_cache_path": "/pbcache/endpoint", 173 "hb_cache_path_appnex": "/pbcache/endpoint", 174 "hb_pb": "0.50", 175 "hb_pb_appnexus": "0.50", 176 "hb_pb_cat_dur": "0.50_HomeDecor_0s", 177 "hb_pb_cat_dur_appnex": "0.50_HomeDecor_0s", 178 "hb_size": "300x500", 179 "hb_size_appnexus": "300x500" 180 }, 181 "type": "video" 182 } 183 }, 184 "h": 500, 185 "id": "apn-other-bid", 186 "impid": "imp-id-2", 187 "price": 0.6, 188 "w": 300 189 } 190 ] 191 } 192 ] 193 } 194 } 195 }