Skip to content

Commit 7abc3e4

Browse files
committed
omit the triplelift endppint
1 parent db7012c commit 7abc3e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

adapters/triplelift_native/triplelift_native.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ type TripleliftNativeExtInfo struct {
2929

3030
// Map is used for optimized memory access and should be constructed after deserialization.
3131
PublisherWhitelistMap map[string]bool
32+
33+
Endpoint string `json:"endpoint"`
3234
}
3335

3436
func getBidType(ext TripleliftRespExt) openrtb_ext.BidType {
@@ -189,5 +191,5 @@ func NewTripleliftNativeBidder(client *http.Client, endpoint string, extraInfo s
189191

190192
return &TripleliftNativeAdapter{
191193
extInfo: extInfo,
192-
endpoint: endpoint}
194+
endpoint: extInfo.Endpoint}
193195
}

config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,6 @@ func SetupViper(v *viper.Viper, filename string) {
667667
v.SetDefault("adapters.rtbhouse.endpoint", "http://prebidserver-s2s-ams.creativecdn.com/bidder/prebidserver/bids")
668668
v.SetDefault("adapters.somoaudience.endpoint", "http://publisher-east.mobileadtrading.com/rtb/bid")
669669
v.SetDefault("adapters.sovrn.endpoint", "http://ap.lijit.com/rtb/bid?src=prebid_server")
670-
v.SetDefault("adapters.triplelift_native.endpoint", "https://tlx.3lift.com/s2sn/auction?supplier_id=20")
671670
v.SetDefault("adapters.triplelift_native.extra_info", "{\"publisher_whitelist\":[]}")
672671
v.SetDefault("adapters.synacormedia.endpoint", "http://{{.Host}}.technoratimedia.com/openrtb/bids/{{.Host}}")
673672
v.SetDefault("adapters.triplelift.endpoint", "https://tlx.3lift.com/s2s/auction?supplier_id=20")

0 commit comments

Comments
 (0)