Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate adform alias to use new pattern #3180

Merged
merged 3 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion exchange/adapter_builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ func newAdapterBuilders() map[openrtb_ext.BidderName]adapters.Builder {
openrtb_ext.BidderAceex: aceex.Builder,
openrtb_ext.BidderAcuityAds: acuityads.Builder,
openrtb_ext.BidderAdf: adf.Builder,
openrtb_ext.BidderAdform: adf.Builder,
openrtb_ext.BidderAdgeneration: adgeneration.Builder,
openrtb_ext.BidderAdhese: adhese.Builder,
openrtb_ext.BidderAdkernel: adkernel.Builder,
Expand Down
4 changes: 0 additions & 4 deletions exchange/adapter_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ func buildBidders(infos config.BidderInfos, builders map[openrtb_ext.BidderName]
var errs []error

for bidder, info := range infos {
if len(info.AliasOf) > 0 {
errs = append(errs, fmt.Errorf("This feature is currently under development"))
continue
}
bidderName, bidderNameFound := openrtb_ext.NormalizeBidderName(bidder)
if !bidderNameFound {
errs = append(errs, fmt.Errorf("%v: unknown bidder", bidder))
Expand Down
7 changes: 0 additions & 7 deletions exchange/adapter_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ func TestBuildAdapters(t *testing.T) {
errors.New("unknown: unknown bidder"),
},
},
{
description: "Alias feature disabled",
bidderInfos: map[string]config.BidderInfo{"appNexus": {AliasOf: "rubicon"}},
expectedErrors: []error{
errors.New("This feature is currently under development"),
},
},
}

cfg := &config.Configuration{}
Expand Down
2 changes: 0 additions & 2 deletions openrtb_ext/bidders.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var coreBidderNames []BidderName = []BidderName{
BidderAceex,
BidderAcuityAds,
BidderAdf,
BidderAdform,
BidderAdgeneration,
BidderAdhese,
BidderAdkernel,
Expand Down Expand Up @@ -311,7 +310,6 @@ const (
BidderAceex BidderName = "aceex"
BidderAcuityAds BidderName = "acuityads"
BidderAdf BidderName = "adf"
BidderAdform BidderName = "adform"
BidderAdgeneration BidderName = "adgeneration"
BidderAdhese BidderName = "adhese"
BidderAdkernel BidderName = "adkernel"
Expand Down
20 changes: 1 addition & 19 deletions static/bidder-info/adform.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
endpoint: "https://adx.adform.net/adx/openrtb"
maintainer:
email: "[email protected]"
gvlVendorID: 50
capabilities:
app:
mediaTypes:
- banner
- native
- video
site:
mediaTypes:
- banner
- native
- video
userSync:
redirect:
url: "https://cm.adform.net/cookie?redirect_url={{.RedirectURL}}"
userMacro: "$UID"
aliasOf: adf
33 changes: 0 additions & 33 deletions static/bidder-params/adform.json

This file was deleted.