github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/adservertargeting/all-invalid.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": "incorrect", 94 "value": "imp.video.mimes" 95 }, 96 { 97 "key": "", 98 "source": "bidrequest", 99 "value": "imp.video" 100 }, 101 { 102 "key": "adt_hb_req_site_contest_param", 103 "source": "", 104 "value": "site.content" 105 }, 106 { 107 "key": "adt_{{BIDDER}}_impid", 108 "source": "bidresponse", 109 "value": "" 110 } 111 ] 112 } 113 } 114 }, 115 "expectedBidResponse": { 116 "id": "some-request-id", 117 "seatbid": [ 118 { 119 "bid": [ 120 { 121 "id": "appnexus-bid", 122 "impid": "some-impression-id", 123 "price": 1.01, 124 "ext": { 125 "origbidcpm": 1, 126 "origbidcur": "USD", 127 "prebid": { 128 "meta": { 129 "adaptercode": "appnexus" 130 }, 131 "type": "banner" 132 } 133 } 134 } 135 ], 136 "seat": "appnexus" 137 }, 138 { 139 "bid": [ 140 { 141 "id": "rubicon-bid", 142 "impid": "some-impression-id", 143 "price": 0.99, 144 "ext": { 145 "origbidcpm": 1, 146 "origbidcur": "USD", 147 "prebid": { 148 "meta": { 149 "adaptercode": "rubicon" 150 }, 151 "type": "banner" 152 } 153 } 154 } 155 ], 156 "seat": "rubicon" 157 } 158 ], 159 "bidid": "test bid id", 160 "cur": "USD", 161 "nbr": 0, 162 "ext": { 163 "warnings": { 164 "general": [ 165 { 166 "code": 10002, 167 "message": "debug turned off for account" 168 }, 169 { 170 "code": 10007, 171 "message": "Incorrect source for the ad server targeting object at index 0" 172 }, 173 { 174 "code": 10007, 175 "message": "Key is empty for the ad server targeting object at index 1" 176 }, 177 { 178 "code": 10007, 179 "message": "Incorrect source for the ad server targeting object at index 2" 180 }, 181 { 182 "code": 10007, 183 "message": "Value is empty for the ad server targeting object at index 3" 184 } 185 ] 186 } 187 } 188 }, 189 "expectedReturnCode": 200 190 }