Skip to content

Commit

Permalink
DeepIntent Bid Adapter : update video.placement to video.plcmt (prebi…
Browse files Browse the repository at this point in the history
…d#11577)

* fix user ids not being passed on page reload due to extendId func miss

* remove extendId and add function to read value for eids

* handle inconsistent localstorage values in deepintent id

* remove unused imports

* revert to getValue changes

* revert version in package-lock

* update test suite for deepintent id system

* fix - video.placement was deprecated in favor of video.plcmt
  • Loading branch information
parthshah51999 authored May 28, 2024
1 parent b44deb8 commit f6040c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/deepintentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const ORTB_VIDEO_PARAMS = {
'w': (value) => isInteger(value),
'h': (value) => isInteger(value),
'startdelay': (value) => isInteger(value),
'placement': (value) => Array.isArray(value) && value.every(v => v >= 1 && v <= 5),
'plcmt': (value) => Array.isArray(value) && value.every(v => v >= 1 && v <= 5),
'linearity': (value) => [1, 2].indexOf(value) !== -1,
'skip': (value) => [0, 1].indexOf(value) !== -1,
'skipmin': (value) => isInteger(value),
Expand Down
2 changes: 1 addition & 1 deletion modules/deepintentBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var adVideoAdUnits = [
protocols: [ 2, 3 ], // optional
battr: [ 13, 14 ], // optional
linearity: 1, // optional
placement: 2, // optional
plcmt: 2, // optional
minbitrate: 10, // optional
maxbitrate: 10 // optional
}
Expand Down

0 comments on commit f6040c4

Please sign in to comment.