Skip to content

Commit

Permalink
orbidderBidAdapter.js: remove mediaType video to avoid broken requests (
Browse files Browse the repository at this point in the history
prebid#11851)

* orbidderBidAdapter.js: remove mediaType video to avoid broken requests

* orbidderBidAdapter.js: fix reference
  • Loading branch information
renebaudisch authored Jun 25, 2024
1 parent 64729a1 commit 743e749
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/orbidderBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ export const spec = {
if (bidderRequest && bidderRequest.refererInfo) {
referer = bidderRequest.refererInfo.page || '';
}
if (bidRequest?.mediaTypes?.video) {
delete bidRequest.mediaTypes.video;
}

bidRequest.params.bidfloor = getBidFloor(bidRequest);

Expand Down

0 comments on commit 743e749

Please sign in to comment.