Skip to content

Commit 5754028

Browse files
authored
fixed typos end changed test endpoint (prebid#13794)
1 parent 9517550 commit 5754028

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

modules/nextMillenniumBidAdapter.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
2323
import {getRefererInfo} from '../src/refererDetection.js';
2424
import { getViewportSize } from '../libraries/viewport/viewport.js';
2525

26-
const NM_VERSION = '4.4.0';
26+
const NM_VERSION = '4.4.1';
2727
const PBJS_VERSION = 'v$prebid.version$';
2828
const GVLID = 1060;
2929
const BIDDER_CODE = 'nextMillennium';
3030
const ENDPOINT = 'https://pbs.nextmillmedia.com/openrtb2/auction';
31-
const TEST_ENDPOINT = 'https://test.pbs.nextmillmedia.com/openrtb2/auction';
31+
const TEST_ENDPOINT = 'https://dev.pbsa.nextmillmedia.com/openrtb2/auction';
3232
const SYNC_ENDPOINT = 'https://cookies.nextmillmedia.com/sync?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&type={{.TYPE_PIXEL}}';
3333
const REPORT_ENDPOINT = 'https://report2.hb.brainlyads.com/statistics/metric';
3434
const TIME_TO_LIVE = 360;
@@ -37,7 +37,6 @@ const DEFAULT_TMAX = 1500;
3737

3838
const VIDEO_PARAMS_DEFAULT = {
3939
api: undefined,
40-
context: undefined,
4140
delivery: undefined,
4241
linearity: undefined,
4342
maxduration: undefined,
@@ -273,8 +272,8 @@ export function getExtNextMilImp(bid) {
273272
nextMillennium: {
274273
nm_version: NM_VERSION,
275274
pbjs_version: PBJS_VERSION,
276-
refresh_count: window?.nmmRefreshCounts?.[bid.adUnitCode] || 0,
277-
scrollTop: window?.pageYOffset || getWinDimensions()?.document?.documentElement?.scrollTop,
275+
refresh_count: window?.nmmRefreshCounts[bid.adUnitCode] || 0,
276+
scrollTop: window.pageYOffset || getWinDimensions().document.documentElement.scrollTop,
278277
},
279278
};
280279

@@ -528,7 +527,7 @@ function getSua() {
528527
if (!(brands && platform)) return undefined;
529528

530529
return {
531-
brands,
530+
browsers: brands,
532531
mobile: Number(!!mobile),
533532
platform: (platform && {brand: platform}) || undefined,
534533
};

0 commit comments

Comments
 (0)