Skip to content

Commit

Permalink
Fix multiimp.json testcase.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchimishuk committed Oct 16, 2020
1 parent ea7c95a commit bf045ec
Show file tree
Hide file tree
Showing 2 changed files with 208 additions and 50 deletions.
50 changes: 0 additions & 50 deletions adapters/adoppler/adopplertest/exemplary/multibid.json

This file was deleted.

208 changes: 208 additions & 0 deletions adapters/adoppler/adopplertest/exemplary/multiimp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
{
"mockBidRequest":{
"id":"req1",
"imp":[
{
"id":"imp1",
"banner":{
"w":100,
"h":200
},
"ext":{
"bidder":{
"adunit":"unit1"
}
}
},
{
"id":"imp2",
"video":{
"minduration":120,
"mimes":[
"video/mp4"
]
},
"ext":{
"bidder":{
"adunit":"unit2"
}
}
},
{
"id":"imp3",
"native":{
"request":"{}"
},
"ext":{
"bidder":{
"adunit":"unit3"
}
}
}
]
},
"httpCalls":[
{
"expectedRequest":{
"uri":"http://adoppler.com/processHeaderBid/unit1",
"body":{
"id":"req1-unit1",
"imp":[
{
"id":"imp1",
"banner":{
"w":100,
"h":200
},
"ext":{
"bidder":{
"adunit":"unit1"
}
}
}
]
}
},
"mockResponse":{
"status":200,
"body":{
"id":"req1-imp1-resp1",
"seatbid":[
{
"bid":[
{
"id":"req1-imp1-bid1",
"impid":"imp1",
"price":0.12,
"adm":"<b>a banner</b>"
}
]
}
],
"cur":"USD"
}
}
},
{
"expectedRequest":{
"uri":"http://adoppler.com/processHeaderBid/unit2",
"body":{
"id":"req1-unit2",
"imp":[
{
"id":"imp2",
"video":{
"minduration":120,
"mimes":[
"video/mp4"
]
},
"ext":{
"bidder":{
"adunit":"unit2"
}
}
}
]
}
},
"mockResponse":{
"status":200,
"body":{
"id":"req1-imp2-resp2",
"seatbid":[
{
"bid":[
{
"id":"req1-imp2-bid1",
"impid":"imp2",
"price":0.24,
"adm":"<VAST />",
"cat":[
"IAB1",
"IAB2"
],
"ext":{
"ads":{
"video":{
"duration":121
}
}
}
}
]
}
],
"cur":"USD"
}
}
},
{
"expectedRequest":{
"uri":"http://adoppler.com/processHeaderBid/unit3",
"body":{
"id":"req1-unit3",
"imp":[
{
"id":"imp3",
"native":{
"request":"{}"
},
"ext":{
"bidder":{
"adunit":"unit3"
}
}
}
]
}
},
"mockResponse":{
"status":204,
"body":""
}
}
],
"expectedBidResponses":[
{
"currency":"USD",
"bids":[
{
"bid":{
"id":"req1-imp1-bid1",
"impid":"imp1",
"price":0.12,
"adm":"<b>a banner</b>"
},
"type":"banner"
}
]
},
{
"currency":"USD",
"bids":[
{
"bid":{
"id":"req1-imp2-bid1",
"impid":"imp2",
"price":0.24,
"adm":"<VAST />",
"cat":[
"IAB1",
"IAB2"
],
"ext":{
"ads":{
"video":{
"duration":121
}
}
}
},
"type":"video"
}
]
}
]
}

0 comments on commit bf045ec

Please sign in to comment.