From fcc84af9a03fb4f694cf2cccd8701a5b3919e6f6 Mon Sep 17 00:00:00 2001 From: Laslo Chechur Date: Mon, 2 Aug 2021 11:19:49 +0300 Subject: [PATCH] add placementId optional param --- modules/riseBidAdapter.js | 4 ++++ modules/riseBidAdapter.md | 2 ++ 2 files changed, 6 insertions(+) diff --git a/modules/riseBidAdapter.js b/modules/riseBidAdapter.js index b03c5c15056..6887805b854 100644 --- a/modules/riseBidAdapter.js +++ b/modules/riseBidAdapter.js @@ -239,6 +239,10 @@ function generateParameters(bid, bidderRequest) { bidder_version: BIDDER_VERSION }; + if (params.placementId) { + requestParams.placement_id = params.placementId; + } + if (syncEnabled) { const allowedSyncMethod = getAllowedSyncMethod(filterSettings, bidderCode); if (allowedSyncMethod) { diff --git a/modules/riseBidAdapter.md b/modules/riseBidAdapter.md index 67eeab18226..6251b92e0a9 100644 --- a/modules/riseBidAdapter.md +++ b/modules/riseBidAdapter.md @@ -23,6 +23,7 @@ The adapter supports Video(instream). For the integration, Rise returns content | `org` | required | String | Rise publisher Id provided by your Rise representative | "56f91cd4d3e3660002000033" | `floorPrice` | optional | Number | Minimum price in USD. Misuse of this parameter can impact revenue | 2.00 | `ifa` | optional | String | The ID for advertisers (also referred to as "IDFA") | "XXX-XXX" +| `placementId` | optional | String | A unique placement identifier | "12345678" | `testMode` | optional | Boolean | This activates the test mode | false # Test Parameters @@ -43,6 +44,7 @@ var adUnits = [ org: '56f91cd4d3e3660002000033', // Required floorPrice: 2.00, // Optional ifa: 'XXX-XXX', // Optional + placementId: '12345678', // Optional testMode: false // Optional } }]