github.com/prebid/prebid-server/v2@v2.18.0/adapters/screencore/screencoretest/exemplary/native-app.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-request-id", 4 "device": { 5 "ua": "test-user-agent", 6 "ip": "123.123.123.123", 7 "language": "en", 8 "dnt": 0 9 }, 10 "tmax": 1000, 11 "user": { 12 "buyeruid": "awesome-user" 13 }, 14 "app": { 15 "publisher": { 16 "id": "123456789" 17 }, 18 "cat": [ 19 "IAB22-1" 20 ], 21 "bundle": "com.app.awesome", 22 "name": "Awesome App", 23 "domain": "awesomeapp.com", 24 "id": "123456789" 25 }, 26 "imp": [ 27 { 28 "id": "some-impression-id", 29 "tagid": "ogTAGID", 30 "native": { 31 "ver": "1.1", 32 "request": "{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}" 33 }, 34 "ext": { 35 "bidder": { 36 "accountId": "accountId", 37 "placementId": "placementId" 38 } 39 } 40 } 41 ] 42 }, 43 "httpCalls": [ 44 { 45 "expectedRequest": { 46 "headers": { 47 "Content-Type": [ 48 "application/json;charset=utf-8" 49 ], 50 "Accept": [ 51 "application/json" 52 ], 53 "X-Openrtb-Version": [ 54 "2.5" 55 ], 56 "User-Agent": [ 57 "test-user-agent" 58 ], 59 "X-Forwarded-For": [ 60 "123.123.123.123" 61 ] 62 }, 63 "uri": "http://h1.screencore.io/?kp=accountId&kn=placementId", 64 "body": { 65 "id": "some-request-id", 66 "device": { 67 "ua": "test-user-agent", 68 "ip": "123.123.123.123", 69 "language": "en", 70 "dnt": 0 71 }, 72 "imp": [ 73 { 74 "id": "some-impression-id", 75 "native": { 76 "ver": "1.1", 77 "request": "{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}" 78 }, 79 "tagid": "ogTAGID" 80 } 81 ], 82 "app": { 83 "id": "123456789", 84 "name": "Awesome App", 85 "bundle": "com.app.awesome", 86 "domain": "awesomeapp.com", 87 "cat": [ 88 "IAB22-1" 89 ], 90 "publisher": { 91 "id": "123456789" 92 } 93 }, 94 "user": { 95 "buyeruid": "awesome-user" 96 }, 97 "tmax": 1000 98 }, 99 "impIDs":["some-impression-id"] 100 }, 101 "mockResponse": { 102 "status": 200, 103 "body": { 104 "id": "awesome-resp-id", 105 "seatbid": [ 106 { 107 "bid": [ 108 { 109 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 110 "impid": "some-impression-id", 111 "price": 3.5, 112 "adm": "awesome-markup", 113 "adomain": [ 114 "awesome.com" 115 ], 116 "crid": "20", 117 "mtype": 4 118 } 119 ], 120 "type": "native", 121 "seat": "screencore" 122 } 123 ], 124 "cur": "USD" 125 } 126 } 127 } 128 ], 129 "expectedBidResponses": [ 130 { 131 "bids": [ 132 { 133 "bid": { 134 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 135 "impid": "some-impression-id", 136 "price": 3.5, 137 "adm": "awesome-markup", 138 "crid": "20", 139 "adomain": [ 140 "awesome.com" 141 ], 142 "mtype": 4 143 }, 144 "type": "native" 145 } 146 ] 147 } 148 ] 149 }