Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
omit the triplelift endppint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-P-Kerr committed Nov 13, 2019
1 parent db7012c commit 7abc3e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion adapters/triplelift_native/triplelift_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ type TripleliftNativeExtInfo struct {

// Map is used for optimized memory access and should be constructed after deserialization.
PublisherWhitelistMap map[string]bool

Endpoint string `json:"endpoint"`
}

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

return &TripleliftNativeAdapter{
extInfo: extInfo,
endpoint: endpoint}
endpoint: extInfo.Endpoint}
}
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ func SetupViper(v *viper.Viper, filename string) {
v.SetDefault("adapters.rtbhouse.endpoint", "http://prebidserver-s2s-ams.creativecdn.com/bidder/prebidserver/bids")
v.SetDefault("adapters.somoaudience.endpoint", "http://publisher-east.mobileadtrading.com/rtb/bid")
v.SetDefault("adapters.sovrn.endpoint", "http://ap.lijit.com/rtb/bid?src=prebid_server")
v.SetDefault("adapters.triplelift_native.endpoint", "https://tlx.3lift.com/s2sn/auction?supplier_id=20")
v.SetDefault("adapters.triplelift_native.extra_info", "{\"publisher_whitelist\":[]}")
v.SetDefault("adapters.synacormedia.endpoint", "http://{{.Host}}.technoratimedia.com/openrtb/bids/{{.Host}}")
v.SetDefault("adapters.triplelift.endpoint", "https://tlx.3lift.com/s2s/auction?supplier_id=20")
Expand Down

0 comments on commit 7abc3e4

Please sign in to comment.