github.com/prebid/prebid-server@v0.275.0/adapters/motorik/motoriktest/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://us.example.com/?k=accountId&name=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 }, 100 "mockResponse": { 101 "status": 200, 102 "body": { 103 "id": "awesome-resp-id", 104 "seatbid": [ 105 { 106 "bid": [ 107 { 108 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 109 "impid": "some-impression-id", 110 "price": 3.5, 111 "adm": "awesome-markup", 112 "adomain": [ 113 "awesome.com" 114 ], 115 "crid": "20" 116 } 117 ], 118 "type": "native", 119 "seat": "motorik" 120 } 121 ], 122 "cur": "USD" 123 } 124 } 125 } 126 ], 127 "expectedBidResponses": [ 128 { 129 "bids":[ 130 { 131 "bid": { 132 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 133 "impid": "some-impression-id", 134 "price": 3.5, 135 "adm": "awesome-markup", 136 "crid": "20", 137 "adomain": [ 138 "awesome.com" 139 ] 140 }, 141 "type": "native" 142 } 143 ] 144 } 145 ] 146 } 147