github.com/prebid/prebid-server@v0.275.0/adapters/gothamads/gothamadstest/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 } 38 } 39 } 40 ] 41 }, 42 "httpCalls": [ 43 { 44 "expectedRequest": { 45 "headers": { 46 "Content-Type": [ 47 "application/json;charset=utf-8" 48 ], 49 "Accept": [ 50 "application/json" 51 ], 52 "X-Openrtb-Version": [ 53 "2.5" 54 ], 55 "User-Agent": [ 56 "test-user-agent" 57 ], 58 "X-Forwarded-For": [ 59 "123.123.123.123" 60 ] 61 }, 62 "uri": "http://us-e-node1.gothamads.com/?pass=accountId", 63 "body": { 64 "id": "some-request-id", 65 "device": { 66 "ua": "test-user-agent", 67 "ip": "123.123.123.123", 68 "language": "en", 69 "dnt": 0 70 }, 71 "imp": [ 72 { 73 "id": "some-impression-id", 74 "native": { 75 "ver": "1.1", 76 "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}}}" 77 }, 78 "tagid": "ogTAGID" 79 } 80 ], 81 "app": { 82 "id": "123456789", 83 "name": "Awesome App", 84 "bundle": "com.app.awesome", 85 "domain": "awesomeapp.com", 86 "cat": [ 87 "IAB22-1" 88 ], 89 "publisher": { 90 "id": "123456789" 91 } 92 }, 93 "user": { 94 "buyeruid": "awesome-user" 95 }, 96 "tmax": 1000 97 } 98 }, 99 "mockResponse": { 100 "status": 200, 101 "body": { 102 "id": "awesome-resp-id", 103 "seatbid": [ 104 { 105 "bid": [ 106 { 107 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 108 "impid": "some-impression-id", 109 "price": 3.5, 110 "adm": "awesome-markup", 111 "adomain": [ 112 "awesome.com" 113 ], 114 "crid": "20", 115 "mtype": 4 116 } 117 ], 118 "type": "native", 119 "seat": "gothamads" 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 "mtype": 4 141 }, 142 "type": "native" 143 } 144 ] 145 } 146 ] 147 }