-
Notifications
You must be signed in to change notification settings - Fork 772
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6fccfe
commit b5765fc
Showing
10 changed files
with
398 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
adapters/adhese/adhesetest/supplemental/res-invalid-height.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "test-req", | ||
"imp": [ | ||
{ | ||
"id": "test-req", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"account": "market", | ||
"location": "_adhese_prebid_demo_", | ||
"format": "leaderboard", | ||
"targets": | ||
{ | ||
"ci": ["gent", "brussels"], | ||
"ag": ["55"], | ||
"tl": ["all"] | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"site": { | ||
"id": "test", | ||
"publisher": { | ||
"id": "123" | ||
}, | ||
"page": "dummy" | ||
} | ||
}, | ||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "https://ads-market.adhese.com/json/sl_adhese_prebid_demo_-leaderboard/ag55/cigent;brussels/tlall/xfdummy" | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": [{ | ||
"origin": "APPNEXUS", | ||
"originInstance": "", | ||
"ext": "js", | ||
"slotName": "_main_page_-leaderboard", | ||
"adType": "leaderboard", | ||
"originData": { | ||
"seatbid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"crid": "60613369", | ||
"dealid": null | ||
} | ||
], | ||
"seat": "958" | ||
} | ||
] | ||
}, | ||
"width": "728", | ||
"height": 90, | ||
"body": "<div style='background-color:red; height:250px; width:300px'></div>", | ||
"tracker": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", | ||
"impressionCounter": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", | ||
"extension": { | ||
"prebid": { | ||
"cpm": { | ||
"amount": "10", | ||
"currency": "USD" | ||
} | ||
} | ||
} | ||
}] | ||
} | ||
} | ||
], | ||
"expectedBidResponses": [], | ||
"expectedMakeBidsErrors": [ | ||
{ | ||
"value": "json: cannot unmarshal number into Go struct field AdheseBid.height of type string", | ||
"comparison": "literal" | ||
}, { | ||
"value": "Response (.*\n.*)+ could not be parsed as generic Adhese bid", | ||
"comparison": "regex" | ||
} | ||
] | ||
} |
Oops, something went wrong.