github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/hooks/auction.json (about) 1 { 2 "description": "Auction request", 3 "config": { 4 "mockBidders": [ 5 {"bidderName": "appnexus", "currency": "USD", "price": 0.00} 6 ] 7 }, 8 "mockBidRequest": { 9 "id": "some-request-id", 10 "site": { 11 "page": "prebid.org" 12 }, 13 "imp": [ 14 { 15 "id": "some-impression-id", 16 "banner": { 17 "format": [ 18 { 19 "w": 300, 20 "h": 250 21 } 22 ] 23 }, 24 "ext": { 25 "appnexus": { 26 "placementId": 12883451 27 } 28 } 29 } 30 ], 31 "tmax": 500, 32 "test": 1, 33 "ext": { 34 "prebid": { 35 "trace": "verbose" 36 } 37 } 38 }, 39 "expectedBidResponse": { 40 "id": "some-request-id", 41 "bidid": "test bid id", 42 "cur":"USD", 43 "nbr":null, 44 "seatbid": [ 45 { 46 "bid": [ 47 { 48 "id": "appnexus-bid", 49 "impid": "some-impression-id", 50 "price": 0 51 } 52 ], 53 "seat": "appnexus" 54 } 55 ], 56 "ext": { 57 "prebid": { 58 "modules": { 59 "errors": { 60 "foobar": { 61 "foo": [ 62 "error 1" 63 ], 64 "bar": [ 65 "error 1" 66 ] 67 } 68 }, 69 "warnings": { 70 "foobar": { 71 "bar": [ 72 "warning 1" 73 ] 74 } 75 }, 76 "trace": { 77 "stages": [ 78 { 79 "stage": "entrypoint", 80 "outcomes": [ 81 { 82 "entity": "http-request", 83 "groups": [ 84 { 85 "invocation_results": [ 86 { 87 "analytics_tags": {}, 88 "hook_id": { 89 "module_code": "foobar", 90 "hook_impl_code": "foo" 91 }, 92 "status": "success", 93 "action": "update", 94 "message": "", 95 "debug_messages": [ 96 "Hook mutation successfully applied, affected key: header.foo, mutation type: update" 97 ] 98 }, 99 { 100 "analytics_tags": {}, 101 "hook_id": { 102 "module_code": "foobar", 103 "hook_impl_code": "bar" 104 }, 105 "status": "success", 106 "action": "update", 107 "message": "", 108 "debug_messages": [ 109 "Hook mutation successfully applied, affected key: param.foo, mutation type: update" 110 ] 111 } 112 ] 113 }, 114 { 115 "invocation_results": [ 116 { 117 "analytics_tags": {}, 118 "hook_id": { 119 "module_code": "foobar", 120 "hook_impl_code": "baz" 121 }, 122 "status": "success", 123 "action": "update", 124 "message": "", 125 "debug_messages": [ 126 "Hook mutation successfully applied, affected key: body.tmax, mutation type: update", 127 "Hook mutation successfully applied, affected key: body.regs.ext.us_privacy, mutation type: add" 128 ] 129 } 130 ] 131 } 132 ] 133 } 134 ] 135 }, 136 { 137 "stage": "raw_auction_request", 138 "outcomes": [ 139 { 140 "entity": "auction-request", 141 "groups": [ 142 { 143 "invocation_results": [ 144 { 145 "analytics_tags": {}, 146 "hook_id": { 147 "module_code": "vendor.module", 148 "hook_impl_code": "foobar" 149 }, 150 "status": "success", 151 "action": "no_action", 152 "message": "" 153 } 154 ] 155 } 156 ] 157 } 158 ] 159 } 160 ] 161 } 162 } 163 } 164 } 165 }, 166 "expectedReturnCode": 200 167 }