diff --git a/adapters/pubmatic/pubmatic_test.go b/adapters/pubmatic/pubmatic_test.go index 4eb66d25430..be086f5adf1 100644 --- a/adapters/pubmatic/pubmatic_test.go +++ b/adapters/pubmatic/pubmatic_test.go @@ -23,7 +23,7 @@ import ( ) func TestJsonSamples(t *testing.T) { - adapterstest.RunJSONBidderTest(t, "pubmatictest", NewPubmaticBidder(nil, "http://hbopenbid.pubmatic.com/translator?source=prebid-server")) + adapterstest.RunJSONBidderTest(t, "pubmatictest", NewPubmaticBidder(nil, "https://hbopenbid.pubmatic.com/translator?source=prebid-server")) } // ---------------------------------------------------------------------------- diff --git a/adapters/pubmatic/pubmatictest/exemplary/simple-banner.json b/adapters/pubmatic/pubmatictest/exemplary/simple-banner.json index e669bce8826..1eb8a212bff 100644 --- a/adapters/pubmatic/pubmatictest/exemplary/simple-banner.json +++ b/adapters/pubmatic/pubmatictest/exemplary/simple-banner.json @@ -43,7 +43,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://hbopenbid.pubmatic.com/translator?source=prebid-server", + "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server", "body": { "id": "test-request-id", "imp": [ diff --git a/adapters/pubmatic/pubmatictest/exemplary/video.json b/adapters/pubmatic/pubmatictest/exemplary/video.json index f9cfc2976ea..25ed366ee05 100644 --- a/adapters/pubmatic/pubmatictest/exemplary/video.json +++ b/adapters/pubmatic/pubmatictest/exemplary/video.json @@ -49,7 +49,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://hbopenbid.pubmatic.com/translator?source=prebid-server", + "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server", "body": { "id": "test-video-request", "imp": [ diff --git a/adapters/pubmatic/pubmatictest/supplemental/app.json b/adapters/pubmatic/pubmatictest/supplemental/app.json index a2b737f0aa2..636433ca1f5 100644 --- a/adapters/pubmatic/pubmatictest/supplemental/app.json +++ b/adapters/pubmatic/pubmatictest/supplemental/app.json @@ -43,7 +43,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://hbopenbid.pubmatic.com/translator?source=prebid-server", + "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server", "body": { "id": "app-request", "imp": [ diff --git a/adapters/pubmatic/pubmatictest/supplemental/multiplemedia.json b/adapters/pubmatic/pubmatictest/supplemental/multiplemedia.json index faf71fec1b6..a576abe6198 100644 --- a/adapters/pubmatic/pubmatictest/supplemental/multiplemedia.json +++ b/adapters/pubmatic/pubmatictest/supplemental/multiplemedia.json @@ -29,7 +29,7 @@ "httpCalls": [ { "expectedRequest": { - "uri": "http://hbopenbid.pubmatic.com/translator?source=prebid-server", + "uri": "https://hbopenbid.pubmatic.com/translator?source=prebid-server", "body": { "id": "multiple-media-request", "imp": [ diff --git a/config/config.go b/config/config.go index 59f41e9131f..d586021fd14 100644 --- a/config/config.go +++ b/config/config.go @@ -693,7 +693,7 @@ func SetupViper(v *viper.Viper, filename string) { v.SetDefault("adapters.marsmedia.endpoint", "https://bid306.rtbsrv.com/bidder/?bid=f3xtet") v.SetDefault("adapters.mgid.endpoint", "https://prebid.mgid.com/prebid/") v.SetDefault("adapters.openx.endpoint", "http://rtb.openx.net/prebid") - v.SetDefault("adapters.pubmatic.endpoint", "http://hbopenbid.pubmatic.com/translator?source=prebid-server") + v.SetDefault("adapters.pubmatic.endpoint", "https://hbopenbid.pubmatic.com/translator?source=prebid-server") v.SetDefault("adapters.pubnative.endpoint", "http://dsp.pubnative.net/bid/v1/request") v.SetDefault("adapters.pulsepoint.endpoint", "http://bid.contextweb.com/header/s/ortb/prebid-s2s") v.SetDefault("adapters.rhythmone.endpoint", "http://tag.1rx.io/rmp") diff --git a/config/config_test.go b/config/config_test.go index cd143c61a5c..24008980a86 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -27,7 +27,7 @@ func TestDefaults(t *testing.T) { cmpInts(t, "host_cookie.ttl_days", int(cfg.HostCookie.TTL), 90) cmpInts(t, "host_cookie.max_cookie_size_bytes", cfg.HostCookie.MaxCookieSizeBytes, 0) cmpStrings(t, "datacache.type", cfg.DataCache.Type, "dummy") - cmpStrings(t, "adapters.pubmatic.endpoint", cfg.Adapters[string(openrtb_ext.BidderPubmatic)].Endpoint, "http://hbopenbid.pubmatic.com/translator?source=prebid-server") + cmpStrings(t, "adapters.pubmatic.endpoint", cfg.Adapters[string(openrtb_ext.BidderPubmatic)].Endpoint, "https://hbopenbid.pubmatic.com/translator?source=prebid-server") cmpInts(t, "currency_converter.fetch_interval_seconds", cfg.CurrencyConverter.FetchIntervalSeconds, 1800) cmpStrings(t, "currency_converter.fetch_url", cfg.CurrencyConverter.FetchURL, "https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json") cmpBools(t, "account_required", cfg.AccountRequired, false)