This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enforce video.size_id for video imps in rubicon adapter (prebid#1101)
- Loading branch information
1 parent
a347880
commit 9b8b8da
Showing
3 changed files
with
44 additions
and
4 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
31 changes: 31 additions & 0 deletions
31
adapters/rubicon/rubicontest/supplemental/required-video-size-id.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,31 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "test-req-id", | ||
"imp": [ | ||
{ | ||
"id": "test-imp-1", | ||
"video": { | ||
"w": 640, | ||
"h": 480, | ||
"linearity": 1 | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"accountId": 1001, | ||
"siteId":113932, | ||
"zoneId":535510 | ||
} | ||
} | ||
} | ||
], | ||
"site": { | ||
"page": "prebid.org" | ||
} | ||
}, | ||
"expectedMakeRequestsErrors": [ | ||
{ | ||
"value": "imp[0].ext.bidder.rubicon.video.size_id must be defined for video impression", | ||
"comparison": "literal" | ||
} | ||
] | ||
} |