github.com/prebid/prebid-server/v2@v2.18.0/adapters/adview/adviewtest/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 "ifa":"00000000-0000-0000-0000-000000000000", 8 "language": "en", 9 "dnt": 0 10 }, 11 "tmax": 1000, 12 "user": { 13 "buyeruid": "awesome-user" 14 }, 15 "app": { 16 "publisher": { 17 "id": "123456789" 18 }, 19 "cat": [ 20 "IAB22-1" 21 ], 22 "bundle": "com.app.awesome", 23 "name": "Awesome App", 24 "domain": "awesomeapp.com", 25 "id": "123456789" 26 }, 27 "imp": [ 28 { 29 "id": "some-impression-id", 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 "placementId": "posid00001", 37 "accountId": "accountid01" 38 } 39 } 40 } 41 ] 42 }, 43 "httpCalls": [ 44 { 45 "expectedRequest": { 46 "uri": "https://bid.adview.com/agent/thirdAdxService/accountid01", 47 "body": { 48 "id": "some-request-id", 49 "cur": ["USD"], 50 "device": { 51 "ua": "test-user-agent", 52 "ip": "123.123.123.123", 53 "ifa":"00000000-0000-0000-0000-000000000000", 54 "language": "en", 55 "dnt": 0 56 }, 57 "imp": [ 58 { 59 "id": "some-impression-id", 60 "native": { 61 "ver":"1.1", 62 "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}}}" 63 }, 64 "ext": { 65 "bidder": { 66 "placementId": "posid00001", 67 "accountId": "accountid01" 68 } 69 }, 70 "tagid": "posid00001" 71 } 72 ], 73 "app": { 74 "id": "123456789", 75 "name": "Awesome App", 76 "bundle": "com.app.awesome", 77 "domain": "awesomeapp.com", 78 "cat": [ 79 "IAB22-1" 80 ], 81 "publisher": { 82 "id": "123456789" 83 } 84 }, 85 "user": { 86 "buyeruid": "awesome-user" 87 }, 88 "tmax": 1000 89 }, 90 "impIDs":["some-impression-id"] 91 }, 92 "mockResponse": { 93 "status": 200, 94 "body": { 95 "id": "awesome-resp-id", 96 "seatbid": [ 97 { 98 "bid": [ 99 { 100 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 101 "impid": "some-impression-id", 102 "price": 3.5, 103 "adm": "awesome-markup", 104 "adomain": [ 105 "awesome.com" 106 ], 107 "crid": "20", 108 "mtype": 4, 109 "ext": { 110 "formattype": 2 111 } 112 } 113 ], 114 "type": "native", 115 "seat": "adview" 116 } 117 ], 118 "cur": "USD", 119 "ext": { 120 "responsetimemillis": { 121 "adview": 154 122 }, 123 "tmaxrequest": 1000 124 } 125 } 126 } 127 } 128 ], 129 "expectedBidResponses": [ 130 { 131 "currency": "USD", 132 "bids":[ 133 { 134 "bid": { 135 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 136 "impid": "some-impression-id", 137 "price": 3.5, 138 "adm": "awesome-markup", 139 "crid": "20", 140 "mtype": 4, 141 "adomain": [ 142 "awesome.com" 143 ], 144 "ext": { 145 "formattype": 2 146 } 147 }, 148 "type": "native" 149 } 150 ] 151 } 152 ] 153 }