Skip to content

Commit

Permalink
Merge branch 'prebid:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
garidepalli authored Dec 1, 2021
2 parents b47f2b2 + da31032 commit 3dd2bee
Show file tree
Hide file tree
Showing 88 changed files with 2,971 additions and 718 deletions.
354 changes: 354 additions & 0 deletions adapters/33across/33acrosstest/exemplary/multi-imp-banner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,354 @@
{
"mockBidRequest": {
"id": "test-request-id",
"imp": [
{
"id": "test-imp-id1",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"bidder": {
"siteId": "fake-site-id",
"productId": "inview"
}
}
},
{
"id": "test-imp-id2",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"bidder": {
"siteId": "fake-site-id",
"productId": "inview"
}
}
},
{
"id": "test-imp-id3",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"bidder": {
"siteId": "fake-site-id1",
"productId": "inview"
}
}
},
{
"id": "test-imp-id4",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"bidder": {
"siteId": "fake-site-id",
"productId": "siab"
}
}
}
],
"site": {}
},

"httpCalls": [
{
"expectedRequest": {
"uri": "http://ssc.33across.com",
"body": {
"ext": {
"ttx": {
"caller": [
{
"name": "Prebid-Server",
"version": "n/a"
}
]
}
},
"id": "test-request-id",
"imp": [
{
"id":"test-imp-id1",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"ttx": {
"prod": "inview",
"zoneid": "fake-site-id"
}
}
},
{
"id":"test-imp-id2",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"ttx": {
"prod": "inview",
"zoneid": "fake-site-id"
}
}
}
],
"site": {}
}
},
"mockResponse": {
"status": 200,
"body": {
"id": "test-request-id",
"seatbid": [
{
"seat": "ttx",
"bid": [
{
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id1",
"price": 0.500000,
"adm": "some-test-ad",
"crid": "crid_10",
"h": 90,
"w": 728,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
},
{
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id2",
"price": 0.600000,
"adm": "some-test-ad",
"crid": "crid_10",
"h": 90,
"w": 728,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
}
]
}
],
"cur": "USD"
}
}
},
{
"expectedRequest": {
"uri": "http://ssc.33across.com",
"body": {
"ext": {
"ttx": {
"caller": [
{
"name": "Prebid-Server",
"version": "n/a"
}
]
}
},
"id": "test-request-id",
"imp": [
{
"id":"test-imp-id3",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"ttx": {
"prod": "inview",
"zoneid": "fake-site-id1"
}
}
}
],
"site": {}
}
},
"mockResponse": {
"status": 200,
"body": {
"id": "test-request-id",
"seatbid": [
{
"seat": "ttx",
"bid": [
{
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id3",
"price": 0.500000,
"adm": "some-test-ad",
"crid": "crid_10",
"h": 90,
"w": 728,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
}
]
}
],
"cur": "USD"
}
}
},
{
"expectedRequest": {
"uri": "http://ssc.33across.com",
"body": {
"ext": {
"ttx": {
"caller": [
{
"name": "Prebid-Server",
"version": "n/a"
}
]
}
},
"id": "test-request-id",
"imp": [
{
"id":"test-imp-id4",
"banner": {
"format": [{"w": 728, "h": 90}]
},
"ext": {
"ttx": {
"prod": "siab",
"zoneid": "fake-site-id"
}
}
}
],
"site": {}
}
},
"mockResponse": {
"status": 200,
"body": {
"id": "test-request-id",
"seatbid": [
{
"seat": "ttx",
"bid": [
{
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id4",
"price": 0.500000,
"adm": "some-test-ad",
"crid": "crid_10",
"h": 90,
"w": 728,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
}
]
}
],
"cur": "USD"
}
}
}
],

"expectedBidResponses": [
{
"currency": "USD",
"bids": [
{
"bid": {
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id1",
"price": 0.5,
"adm": "some-test-ad",
"crid": "crid_10",
"w": 728,
"h": 90,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
},
"type": "banner"
},
{
"bid": {
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id2",
"price": 0.6,
"adm": "some-test-ad",
"crid": "crid_10",
"w": 728,
"h": 90,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
},
"type": "banner"
}
]
},
{
"currency": "USD",
"bids": [
{
"bid": {
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id3",
"price": 0.5,
"adm": "some-test-ad",
"crid": "crid_10",
"w": 728,
"h": 90,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
},
"type": "banner"
}
]
},
{
"currency": "USD",
"bids": [
{
"bid": {
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800",
"impid": "test-imp-id4",
"price": 0.5,
"adm": "some-test-ad",
"crid": "crid_10",
"w": 728,
"h": 90,
"ext": {
"ttx": {
"mediaType": "banner"
}
}
},
"type": "banner"
}
]
}
]
}
Loading

0 comments on commit 3dd2bee

Please sign in to comment.