-
Notifications
You must be signed in to change notification settings - Fork 754
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
- Loading branch information
Aadesh Patel
committed
Nov 12, 2019
1 parent
5599d8f
commit 8f619ff
Showing
2 changed files
with
41 additions
and
2 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
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[...].ext.bidder.rubicon.video.size_id must be defined for video impression #0", | ||
"comparison": "literal" | ||
} | ||
] | ||
} |