Skip to content

Commit

Permalink
NextMillennium: Added some parameters for video (#11235)
Browse files Browse the repository at this point in the history
* added support for gpp consent string

* changed test for nextMillenniumBidAdapter

* added some tests

* added site.pagecat, site.content.cat and site.content.language to request

* lint fix

* formated code

* formated code

* formated code

* pachage-lock with prebid

* pachage-lock with prebid

* formatted code

* added device.sua, user.eids

* formatted

* fixed tests

* fixed bug functio getSua

* added support some parameters for video
  • Loading branch information
mhlm authored Mar 21, 2024
1 parent 2fbdf06 commit 708a696
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/nextMillenniumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const DEFAULT_CURRENCY = 'USD';

const VIDEO_PARAMS_DEFAULT = {
api: undefined,
context: undefined,
delivery: undefined,
linearity: undefined,
maxduration: undefined,
mimes: [
Expand All @@ -43,8 +45,14 @@ const VIDEO_PARAMS_DEFAULT = {

minduration: undefined,
placement: undefined,
plcmt: undefined,
playbackend: undefined,
playbackmethod: undefined,
pos: undefined,
protocols: undefined,
skip: undefined,
skipafter: undefined,
skipmin: undefined,
startdelay: undefined,
};

Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/nextMillenniumBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ describe('nextMillenniumBidAdapterTests', () => {
mimes: ['video/mp4', 'video/x-ms-wmv', 'application/javascript'],
api: [2],
placement: 1,
plcmt: 1,
w: 400,
h: 300,
},
Expand Down

0 comments on commit 708a696

Please sign in to comment.