From 536f5d1ab414bfa4c609c014fe52868ae23a770b Mon Sep 17 00:00:00 2001 From: antonbabak Date: Thu, 16 Jan 2025 10:23:55 +0000 Subject: [PATCH] Rubicon adapter should pass imp[].ext.tid --- adapters/rubicon/rubicon.go | 3 +++ adapters/rubicon/rubicontest/exemplary/flexible-schema.json | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/adapters/rubicon/rubicon.go b/adapters/rubicon/rubicon.go index ded350b6f0..2d4af994d9 100644 --- a/adapters/rubicon/rubicon.go +++ b/adapters/rubicon/rubicon.go @@ -53,6 +53,7 @@ type rubiconExtImpBidder struct { Bidder openrtb_ext.ExtImpRubicon `json:"bidder"` Gpid string `json:"gpid"` Skadn json.RawMessage `json:"skadn,omitempty"` + Tid string `json:"tid"` Data json.RawMessage `json:"data"` Context rubiconContext `json:"context"` } @@ -86,6 +87,7 @@ type rubiconImpExt struct { RP rubiconImpExtRP `json:"rp,omitempty"` GPID string `json:"gpid,omitempty"` Skadn json.RawMessage `json:"skadn,omitempty"` + Tid string `json:"tid,omitempty"` } type rubiconImpExtRP struct { @@ -275,6 +277,7 @@ func (a *RubiconAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *ada }, GPID: bidderExt.Gpid, Skadn: bidderExt.Skadn, + Tid: bidderExt.Tid, } imp.Ext, err = json.Marshal(&impExt) diff --git a/adapters/rubicon/rubicontest/exemplary/flexible-schema.json b/adapters/rubicon/rubicontest/exemplary/flexible-schema.json index 41bfb47aed..c820a23fd2 100644 --- a/adapters/rubicon/rubicontest/exemplary/flexible-schema.json +++ b/adapters/rubicon/rubicontest/exemplary/flexible-schema.json @@ -110,7 +110,8 @@ "siteId": "113932", "zoneId": "535510" }, - "gpid": "gpid" + "gpid": "gpid", + "tid": "tid" } } ] @@ -239,7 +240,8 @@ }, "zone_id": 535510 }, - "gpid": "gpid" + "gpid": "gpid", + "tid": "tid" } } ]