From ca83a83f4a96f23180e4cbd0704d76ca58c4aa3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdravko=20Kosanovi=C4=87?= <41286499+zkosanovic@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:32:40 +0200 Subject: [PATCH] Rise: Add placementId parameter to bidder ext (#3626) --- openrtb_ext/imp_rise.go | 1 + static/bidder-params/rise.json | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/openrtb_ext/imp_rise.go b/openrtb_ext/imp_rise.go index 7311f05d52d..de37e4f800d 100644 --- a/openrtb_ext/imp_rise.go +++ b/openrtb_ext/imp_rise.go @@ -4,4 +4,5 @@ package openrtb_ext type ImpExtRise struct { PublisherID string `json:"publisher_id"` Org string `json:"org"` + PlacementID string `json:"placementId"` } diff --git a/static/bidder-params/rise.json b/static/bidder-params/rise.json index c5344b7ab0f..ee8a469cbbc 100644 --- a/static/bidder-params/rise.json +++ b/static/bidder-params/rise.json @@ -11,10 +11,22 @@ "publisher_id": { "type": "string", "description": "Deprecated, use org instead." + }, + "placementId": { + "type": "string", + "description": "Placement ID." } }, "oneOf": [ - { "required": ["org"] }, - { "required": ["publisher_id"] } + { + "required": [ + "org" + ] + }, + { + "required": [ + "publisher_id" + ] + } ] }