github.com/prebid/prebid-server/v2@v2.18.0/adapters/improvedigital/improvedigitaltest/supplemental/addtl-consent.json (about) 1 { 2 "mockBidRequest": { 3 "id": "addtl-consent-request-id", 4 "site": { 5 "page": "https://good.site/url" 6 }, 7 "imp": [{ 8 "id": "test-imp-id", 9 "banner": { 10 "format": [{ 11 "w": 300, 12 "h": 250 13 }] 14 }, 15 "ext": { 16 "bidder": { 17 "placementId": 13245 18 } 19 } 20 }], 21 "user": { 22 "ext":{"consent":"ABC","ConsentedProvidersSettings":{"consented_providers":"1~10.20.90"}} 23 } 24 }, 25 26 "httpCalls": [{ 27 "expectedRequest": { 28 "uri": "http://localhost/pbs", 29 "body": { 30 "id": "addtl-consent-request-id", 31 "site": { 32 "page": "https://good.site/url" 33 }, 34 "imp": [{ 35 "id": "test-imp-id", 36 "banner": { 37 "format": [{ 38 "w": 300, 39 "h": 250 40 }] 41 }, 42 "ext": { 43 "bidder": { 44 "placementId": 13245 45 } 46 } 47 }], 48 "user": { 49 "ext": {"consent": "ABC","ConsentedProvidersSettings":{"consented_providers":"1~10.20.90"},"consented_providers_settings": {"consented_providers": [10,20,90]} 50 } 51 } 52 }, 53 "impIDs":["test-imp-id"] 54 }, 55 "mockResponse": { 56 "status": 200, 57 "body": { 58 "id": "addtl-consent-request-id", 59 "seatbid": [{ 60 "seat": "improvedigital", 61 "bid": [{ 62 "id": "randomid", 63 "impid": "test-imp-id", 64 "price": 0.500000, 65 "adid": "12345678", 66 "adm": "some-test-ad", 67 "cid": "987", 68 "crid": "12345678", 69 "h": 250, 70 "w": 300 71 }] 72 }], 73 "cur": "USD" 74 } 75 } 76 }], 77 78 "expectedBidResponses": [{ 79 "currency": "USD", 80 "bids": [{ 81 "bid": { 82 "id": "randomid", 83 "impid": "test-imp-id", 84 "price": 0.5, 85 "adm": "some-test-ad", 86 "adid": "12345678", 87 "cid": "987", 88 "crid": "12345678", 89 "w": 300, 90 "h": 250 91 }, 92 "type": "banner" 93 }] 94 }] 95 }