Skip to content

Commit

Permalink
Eskimi Bid Adapter: switching to plcmt (#11543)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrius Versockas <[email protected]>
  • Loading branch information
myDisconnect and Andrius Versockas authored May 23, 2024
1 parent b1d5237 commit 8c4955b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions modules/eskimiBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {getBidIdParameter} from '../src/utils.js';
*/

const BIDDER_CODE = 'eskimi';
// const ENDPOINT = 'https://hb.eskimi.com/bids'
const ENDPOINT = 'https://sspback.eskimi.com/bid-request'

const DEFAULT_BID_TTL = 30;
Expand All @@ -21,7 +20,7 @@ const VIDEO_ORTB_PARAMS = [
'mimes',
'minduration',
'maxduration',
'placement',
'plcmt',
'protocols',
'startdelay',
'skip',
Expand Down Expand Up @@ -142,7 +141,7 @@ function buildVideoImp(bidRequest, imp) {
});

if (imp.video && videoParams?.context === 'outstream') {
imp.video.placement = imp.video.placement || 4;
imp.video.plcmt = imp.video.plcmt || 4;
}

return { ...imp };
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/eskimiBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const VIDEO_BID = {
playbackmethod: [2, 4, 6],
playerSize: [[1024, 768]],
protocols: [3, 4, 7, 8, 10],
placement: 1,
plcmt: 1,
minduration: 0,
maxduration: 60,
startdelay: 0
Expand Down Expand Up @@ -222,7 +222,7 @@ describe('Eskimi bid adapter', function () {
mimes: ['video/mp4', 'video/x-flv'],
playbackmethod: [3, 4],
protocols: [5, 6],
placement: 1,
plcmt: 1,
minduration: 0,
maxduration: 60,
w: 1024,
Expand Down

0 comments on commit 8c4955b

Please sign in to comment.