github.com/prebid/prebid-server/v2@v2.18.0/adapters/stroeerCore/stroeercoretest/exemplary/dsa.json (about) 1 { 2 "mockBidRequest": { 3 "id": "auction-id", 4 "cur": [ 5 "EUR" 6 ], 7 "imp": [ 8 { 9 "id": "1", 10 "banner": { 11 "format": [ 12 { 13 "w": 300, 14 "h": 600 15 } 16 ] 17 }, 18 "ext": { 19 "bidder": { 20 "sid": "123456" 21 } 22 } 23 } 24 ], 25 "device": { 26 "ip": "123.123.123.123" 27 }, 28 "site": { 29 "domain": "www.publisher.com", 30 "page": "http://www.publisher.com/some/path" 31 }, 32 "user": { 33 "buyeruid": "test-buyer-user-id" 34 }, 35 "regs": { 36 "ext": { 37 "dsa": { 38 "dsarequired": 3, 39 "pubrender": 0, 40 "datatopub": 2, 41 "transparency": [ 42 { 43 "domain": "example-platform.com", 44 "dsaparams": [ 45 1 46 ] 47 }, 48 { 49 "domain": "example-ssp.com", 50 "dsaparams": [ 51 1, 52 2 53 ] 54 } 55 ] 56 } 57 } 58 } 59 }, 60 "httpCalls": [ 61 { 62 "expectedRequest": { 63 "headers": { 64 "Accept": [ 65 "application/json" 66 ], 67 "Content-Type": [ 68 "application/json;charset=utf-8" 69 ] 70 }, 71 "uri": "http://localhost/s2sdsh", 72 "body": { 73 "id": "auction-id", 74 "cur": [ 75 "EUR" 76 ], 77 "imp": [ 78 { 79 "id": "1", 80 "tagid": "123456", 81 "banner": { 82 "format": [ 83 { 84 "w": 300, 85 "h": 600 86 } 87 ] 88 }, 89 "ext": { 90 "bidder": { 91 "sid": "123456" 92 } 93 } 94 } 95 ], 96 "device": { 97 "ip": "123.123.123.123" 98 }, 99 "site": { 100 "domain": "www.publisher.com", 101 "page": "http://www.publisher.com/some/path" 102 }, 103 "user": { 104 "buyeruid": "test-buyer-user-id" 105 }, 106 "regs": { 107 "ext": { 108 "dsa": { 109 "dsarequired": 3, 110 "pubrender": 0, 111 "datatopub": 2, 112 "transparency": [ 113 { 114 "domain": "example-platform.com", 115 "dsaparams": [ 116 1 117 ] 118 }, 119 { 120 "domain": "example-ssp.com", 121 "dsaparams": [ 122 1, 123 2 124 ] 125 } 126 ] 127 } 128 } 129 } 130 }, 131 "impIDs":["1"] 132 }, 133 "mockResponse": { 134 "status": 200, 135 "body": { 136 "id": "test-request-id", 137 "bids": [ 138 { 139 "id": "1829273982920-01", 140 "bidId": "1", 141 "cpm": 2, 142 "width": 300, 143 "height": 600, 144 "ad": "advert", 145 "crid": "wasd", 146 "mtype": "banner", 147 "dsa": { 148 "behalf": "Advertiser A", 149 "paid": "Advertiser B", 150 "transparency": [ 151 { 152 "domain": "example-domain.com", 153 "dsaparams": [ 154 1, 155 2 156 ] 157 } 158 ], 159 "adrender": 1 160 } 161 } 162 ] 163 } 164 } 165 } 166 ], 167 "expectedBidResponses": [ 168 { 169 "currency": "EUR", 170 "bids": [ 171 { 172 "bid": { 173 "id": "1829273982920-01", 174 "impid": "1", 175 "price": 2, 176 "adm": "advert", 177 "w": 300, 178 "h": 600, 179 "crid": "wasd", 180 "mtype": 1, 181 "ext": { 182 "dsa": { 183 "behalf": "Advertiser A", 184 "paid": "Advertiser B", 185 "transparency": [ 186 { 187 "domain": "example-domain.com", 188 "dsaparams": [ 189 1, 190 2 191 ] 192 } 193 ], 194 "adrender": 1 195 } 196 } 197 }, 198 "type": "banner" 199 } 200 ] 201 } 202 ] 203 }