From 149da61459351042fa1ab49ca2cbbc69a2bdb8bb Mon Sep 17 00:00:00 2001 From: "ashish.shinde" Date: Mon, 1 Apr 2024 11:49:41 +0530 Subject: [PATCH] OTT-1687: address review comments --- go.mod | 1 - go.sum | 1 - openrtb_ext/bidders.go | 3 --- openrtb_ext/bidders_ow.go | 8 ++++++++ 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 openrtb_ext/bidders_ow.go diff --git a/go.mod b/go.mod index 39fe027ff99..e477aeb6313 100644 --- a/go.mod +++ b/go.mod @@ -79,7 +79,6 @@ require ( github.com/subosito/gotenv v1.4.2 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect - github.com/yudai/pp v2.0.1+incompatible // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/sys v0.14.0 // indirect google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect diff --git a/go.sum b/go.sum index f2eb04cbe64..54d9cf92029 100644 --- a/go.sum +++ b/go.sum @@ -504,7 +504,6 @@ github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FB github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= github.com/yudai/pp v2.0.1+incompatible h1:Q4//iY4pNF6yPLZIigmvcl7k/bPgrcTPIFIcmawg5bI= -github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= diff --git a/openrtb_ext/bidders.go b/openrtb_ext/bidders.go index 1557da29019..55c20b91049 100644 --- a/openrtb_ext/bidders.go +++ b/openrtb_ext/bidders.go @@ -488,7 +488,6 @@ const ( BidderSonobi BidderName = "sonobi" BidderSovrn BidderName = "sovrn" BidderSspBC BidderName = "sspBC" - BidderSpotX BidderName = "spotx" BidderStreamkey BidderName = "streamkey" BidderStroeerCore BidderName = "stroeerCore" BidderSuntContent BidderName = "suntContent" @@ -506,7 +505,6 @@ const ( BidderUnicorn BidderName = "unicorn" BidderUnruly BidderName = "unruly" BidderValueImpression BidderName = "valueimpression" - BidderVASTBidder BidderName = "vastbidder" BidderVideoByte BidderName = "videobyte" BidderVideoHeroes BidderName = "videoheroes" BidderVidoomy BidderName = "vidoomy" @@ -526,7 +524,6 @@ const ( BidderYieldone BidderName = "yieldone" BidderZeroClickFraud BidderName = "zeroclickfraud" BidderZetaGlobalSsp BidderName = "zeta_global_ssp" - BidderORTBMagnite BidderName = "owortb_magnite" // OW specific: oRTB bidder for magnite ) // CoreBidderNames returns a slice of all core bidders. diff --git a/openrtb_ext/bidders_ow.go b/openrtb_ext/bidders_ow.go new file mode 100644 index 00000000000..551c37ceec9 --- /dev/null +++ b/openrtb_ext/bidders_ow.go @@ -0,0 +1,8 @@ +package openrtb_ext + +// constant of OW specific bidders +const ( + BidderORTBMagnite BidderName = "owortb_magnite" + BidderSpotX BidderName = "spotx" + BidderVASTBidder BidderName = "vastbidder" +)