github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/adservertargeting/valid-and-warnings.json (about) 1 { 2 "description": "This demonstrates all of the OpenRTB extensions supported by Prebid Server. Very few requests will need all of these at once.", 3 "config": { 4 "mockBidders": [ 5 { 6 "bidderName": "appnexus", 7 "currency": "USD", 8 "price": 1.00 9 }, 10 { 11 "bidderName": "rubicon", 12 "currency": "USD", 13 "price": 1.00 14 } 15 ] 16 }, 17 "mockBidRequest": { 18 "id": "some-request-id", 19 "site": { 20 "page": "prebid.org", 21 "content": { 22 "episode": 6, 23 "title": "episodeName", 24 "series": "TvName", 25 "season": "season3", 26 "len": 900 27 } 28 }, 29 "user": { 30 "ext": { 31 "consent": "gdpr-consent-string", 32 "prebid": { 33 "buyeruids": { 34 "appnexus": "override-appnexus-id-in-cookie" 35 } 36 } 37 } 38 }, 39 "regs": { 40 "ext": { 41 "gdpr": 1, 42 "us_privacy": "1NYN" 43 } 44 }, 45 "imp": [ 46 { 47 "id": "some-impression-id", 48 "video": { 49 "mimes": [ 50 "video/mp4" 51 ], 52 "maxduration": 30, 53 "protocols": [ 54 2, 55 3 56 ], 57 "w": 640, 58 "h": 480 59 }, 60 "ext": { 61 "appnexus": { 62 "placementId": 12883452 63 }, 64 "rubicon": { 65 "accountId": 1001, 66 "siteId": 113932, 67 "zoneId": 535510 68 } 69 } 70 } 71 ], 72 "tmax": 500, 73 "ext": { 74 "prebid": { 75 "aliases": { 76 "districtm": "appnexus" 77 }, 78 "bidadjustmentfactors": { 79 "appnexus": 1.01, 80 "districtm": 0.98, 81 "rubicon": 0.99 82 }, 83 "cache": { 84 "bids": {} 85 }, 86 "channel": { 87 "name": "video", 88 "version": "1.0" 89 }, 90 "adservertargeting": [ 91 { 92 "key": "adt_hb_req_imp_maxduration", 93 "source": "bidrequest", 94 "value": "imp.video.maxduration" 95 }, 96 { 97 "key": "adt_hb_req_imp_w", 98 "source": "bidrequest", 99 "value": "imp.video.w" 100 }, 101 { 102 "key": "adt_hb_req_imp_h", 103 "source": "bidrequest", 104 "value": "imp.video.h" 105 }, 106 { 107 "key": "adt_hb_req_site_contest_param", 108 "source": "bidrequest", 109 "value": "site.content.season" 110 }, 111 { 112 "key": "adt_hb_static_thing", 113 "source": "static", 114 "value": "test-static-value" 115 }, 116 { 117 "key": "adt_{{BIDDER}}_impid", 118 "source": "bidresponse", 119 "value": "seatbid.bid.impid" 120 }, 121 { 122 "key": "adt_custom2", 123 "source": "bidresponse", 124 "value": "seatbid.bid.price" 125 }, 126 { 127 "key": "adt_hb_req_imp_maxduration", 128 "source": "bidrequest", 129 "value": "imp.video.mimes" 130 }, 131 { 132 "key": "adt_hb_req_imp_w", 133 "source": "bidrequest", 134 "value": "imp.video" 135 }, 136 { 137 "key": "adt_hb_req_site_contest_param", 138 "source": "bidrequest", 139 "value": "site.content" 140 } 141 ] 142 } 143 } 144 }, 145 "expectedBidResponse": { 146 "id": "some-request-id", 147 "seatbid": [ 148 { 149 "bid": [ 150 { 151 "id": "appnexus-bid", 152 "impid": "some-impression-id", 153 "price": 1.01, 154 "ext": { 155 "origbidcpm": 1, 156 "origbidcur": "USD", 157 "prebid": { 158 "meta": { 159 "adaptercode": "appnexus" 160 }, 161 "targeting": { 162 "adt_appnexus_impid": "some-impression-id", 163 "adt_custom2": "1.01", 164 "adt_hb_req_imp_h": "480", 165 "adt_hb_req_imp_maxdu": "30", 166 "adt_hb_req_imp_w": "640", 167 "adt_hb_req_site_cont": "season3", 168 "adt_hb_static_thing": "test-static-value" 169 }, 170 "type": "banner" 171 } 172 } 173 } 174 ], 175 "seat": "appnexus" 176 }, 177 { 178 "bid": [ 179 { 180 "id": "rubicon-bid", 181 "impid": "some-impression-id", 182 "price": 0.99, 183 "ext": { 184 "origbidcpm": 1, 185 "origbidcur": "USD", 186 "prebid": { 187 "meta": { 188 "adaptercode": "rubicon" 189 }, 190 "targeting": { 191 "adt_custom2": "0.99", 192 "adt_hb_req_imp_h": "480", 193 "adt_hb_req_imp_maxdu": "30", 194 "adt_hb_req_imp_w": "640", 195 "adt_hb_req_site_cont": "season3", 196 "adt_hb_static_thing": "test-static-value", 197 "adt_rubicon_impid": "some-impression-id" 198 }, 199 "type": "banner" 200 } 201 } 202 } 203 ], 204 "seat": "rubicon" 205 } 206 ], 207 "bidid": "test bid id", 208 "cur": "USD", 209 "nbr": 0, 210 "ext": { 211 "warnings": { 212 "general": [ 213 { 214 "code": 10002, 215 "message": "debug turned off for account" 216 }, 217 { 218 "code": 10007, 219 "message": "incorrect value type for path: imp.video.mimes, value can only be string or number" 220 }, 221 { 222 "code": 10007, 223 "message": "incorrect value type for path: imp.video, value can only be string or number" 224 }, 225 { 226 "code": 10007, 227 "message": "incorrect value type for path: site.content, value can only be string or number" 228 } 229 ] 230 } 231 } 232 }, 233 "expectedReturnCode": 200 234 }