diff --git a/adapters/bigoad/bigoad.go b/adapters/bigoad/bigoad.go index 16ef9244d72..82a34de0bdb 100644 --- a/adapters/bigoad/bigoad.go +++ b/adapters/bigoad/bigoad.go @@ -94,7 +94,7 @@ func getImpExt(imp *openrtb2.Imp) (*openrtb_ext.ExtImpBigoAd, error) { } func (a *adapter) buildEndpointURL(params *openrtb_ext.ExtImpBigoAd) (string, error) { - endpointParams := macros.EndpointTemplateParams{Host: params.Host, SspId: params.SspId} + endpointParams := macros.EndpointTemplateParams{SspId: params.SspId} return macros.ResolveMacros(a.endpoint, endpointParams) } diff --git a/adapters/bigoad/param_test.go b/adapters/bigoad/param_test.go index fb7e119840d..fdf4718cd1d 100644 --- a/adapters/bigoad/param_test.go +++ b/adapters/bigoad/param_test.go @@ -42,5 +42,5 @@ var invalidParams = []string{ `null`, `[]`, `{}`, - `{"host": "baidu.com"}`, + `{"xxx": "baidu.com"}`, } diff --git a/openrtb_ext/bidders.go b/openrtb_ext/bidders.go index 85e730432af..c51c31a1522 100644 --- a/openrtb_ext/bidders.go +++ b/openrtb_ext/bidders.go @@ -69,6 +69,7 @@ var coreBidderNames []BidderName = []BidderName{ BidderBidmyadz, BidderBidsCube, BidderBidstack, + BidderBigoAd, BidderBizzclick, BidderBliink, BidderBlue, @@ -222,7 +223,6 @@ var coreBidderNames []BidderName = []BidderName{ BidderZeroClickFraud, BidderZetaGlobalSsp, BidderZmaticoo, - BidderBigoAd, } func GetAliasBidderToParent() map[BidderName]BidderName { diff --git a/openrtb_ext/imp_bigoad.go b/openrtb_ext/imp_bigoad.go index b7229476934..dad9c4fd878 100644 --- a/openrtb_ext/imp_bigoad.go +++ b/openrtb_ext/imp_bigoad.go @@ -1,6 +1,5 @@ package openrtb_ext type ExtImpBigoAd struct { - Host string `json:"host"` SspId string `json:"sspid"` }