From 77d0fb46e50a824d653b0df57c2c74f00e5ed552 Mon Sep 17 00:00:00 2001 From: Mikhail Malkov Date: Sat, 25 Nov 2023 04:32:18 +0300 Subject: [PATCH 1/5] OpenRTB 2.5 supported parameters --- dev-docs/bidders/nextMillennium.md | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-docs/bidders/nextMillennium.md b/dev-docs/bidders/nextMillennium.md index a9628dc391..c43d2422f7 100644 --- a/dev-docs/bidders/nextMillennium.md +++ b/dev-docs/bidders/nextMillennium.md @@ -48,3 +48,39 @@ pbjs.setBidderConfig({ }, }) ``` + +#### OpenRTB 2.5 supported parameters + +The adapter for Prebid.js supports the following options: `site.pagecat`, `site.content.cat` and `site.content.language`. You can set these parameters through the Prebid.js configuration setup functions: [pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html) or [pbjs.setBidderConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setBidderConfig.html). +An example of setting openrtb parameters for the entire prebid.js script. +``` +pbjs.setConfig({ + ortb2: { + site: { + pagecat: ['IAB2-11', 'IAB2-12', 'IAB2-14'], + content: { + cat: ['IAB2-11', 'IAB2-12', 'IAB2-14'], + language: 'EN' + }, + } + } +}); +``` + +An example of setting openrtb parameters only for the NextMillennium adapter. +``` +pbjs.setBidderConfig({ + bidders: ['bidderB'], + config: { + ortb2: { + site: { + pagecat: ['IAB2-11', 'IAB2-12', 'IAB2-14'], + content: { + cat: ['IAB2-11', 'IAB2-12', 'IAB2-14'], + language: 'EN' + }, + } + } + } +}); +``` From f4acb06fd3fd1197cf047af5928b7dcd712541de Mon Sep 17 00:00:00 2001 From: Malkov Mikhail Date: Sat, 25 Nov 2023 04:42:44 +0300 Subject: [PATCH 2/5] Update nextMillennium.md formating --- dev-docs/bidders/nextMillennium.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-docs/bidders/nextMillennium.md b/dev-docs/bidders/nextMillennium.md index c43d2422f7..b24fd31805 100644 --- a/dev-docs/bidders/nextMillennium.md +++ b/dev-docs/bidders/nextMillennium.md @@ -53,6 +53,7 @@ pbjs.setBidderConfig({ The adapter for Prebid.js supports the following options: `site.pagecat`, `site.content.cat` and `site.content.language`. You can set these parameters through the Prebid.js configuration setup functions: [pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html) or [pbjs.setBidderConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setBidderConfig.html). An example of setting openrtb parameters for the entire prebid.js script. + ``` pbjs.setConfig({ ortb2: { @@ -68,6 +69,7 @@ pbjs.setConfig({ ``` An example of setting openrtb parameters only for the NextMillennium adapter. + ``` pbjs.setBidderConfig({ bidders: ['bidderB'], From 2ff7dccb1751f0ef1cd5226df2f46d9254c36b59 Mon Sep 17 00:00:00 2001 From: Malkov Mikhail Date: Sat, 25 Nov 2023 04:44:35 +0300 Subject: [PATCH 3/5] Update nextMillennium.md --- dev-docs/bidders/nextMillennium.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-docs/bidders/nextMillennium.md b/dev-docs/bidders/nextMillennium.md index b24fd31805..b6a9aa82fa 100644 --- a/dev-docs/bidders/nextMillennium.md +++ b/dev-docs/bidders/nextMillennium.md @@ -54,7 +54,7 @@ pbjs.setBidderConfig({ The adapter for Prebid.js supports the following options: `site.pagecat`, `site.content.cat` and `site.content.language`. You can set these parameters through the Prebid.js configuration setup functions: [pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html) or [pbjs.setBidderConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setBidderConfig.html). An example of setting openrtb parameters for the entire prebid.js script. -``` +```javascript pbjs.setConfig({ ortb2: { site: { @@ -70,7 +70,7 @@ pbjs.setConfig({ An example of setting openrtb parameters only for the NextMillennium adapter. -``` +```javascript pbjs.setBidderConfig({ bidders: ['bidderB'], config: { From 317b64a71b4a04ed3a1b94cfca93d6ae95fcb7d5 Mon Sep 17 00:00:00 2001 From: Mikhail Malkov Date: Tue, 19 Mar 2024 09:16:47 +0300 Subject: [PATCH 4/5] nextmillennium - updated documentation --- dev-docs/bidders/nextMillennium.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-docs/bidders/nextMillennium.md b/dev-docs/bidders/nextMillennium.md index 4aa98ae015..afc72fa9c5 100644 --- a/dev-docs/bidders/nextMillennium.md +++ b/dev-docs/bidders/nextMillennium.md @@ -33,6 +33,8 @@ Required one of the two parameters placement_id or group_id. Further information for the auction on NextMillennium side is generated automatically. +For video ad requests, we recommend that you configure the `mediaTypes.video` parameters in your Ad Units ([https://docs.prebid.org/dev-docs/adunit-reference.html#video](https://docs.prebid.org/dev-docs/adunit-reference.html#video)). + ### Additional options #### disabledSendingStatisticData From e9511abd2bd46a176a4754d9a91ba41fd1b77f11 Mon Sep 17 00:00:00 2001 From: Mikhail Malkov Date: Fri, 25 Oct 2024 02:37:37 +0300 Subject: [PATCH 5/5] PB-2626 - updated description --- dev-docs/bidders/nextMillennium.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-docs/bidders/nextMillennium.md b/dev-docs/bidders/nextMillennium.md index afc72fa9c5..a41280704b 100644 --- a/dev-docs/bidders/nextMillennium.md +++ b/dev-docs/bidders/nextMillennium.md @@ -72,10 +72,14 @@ The adapter for Prebid.js supports the following options: * `site.pagecat` * `site.content.cat` * `site.content.language` -* `device.sua'` -* `site.keywords'` -* `site.content.keywords'` -* `user.keywords'` +* `device.sua` +* `site.keywords` +* `site.content.keywords` +* `user.keywords` +* `bcat` +* `badv` +* `wlang` +* `wlangb` You can set these parameters through the Prebid.js configuration setup functions: [pbjs.setConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html) or [pbjs.setBidderConfig](https://docs.prebid.org/dev-docs/publisher-api-reference/setBidderConfig.html). An example of setting openrtb parameters for the entire prebid.js script.