Skip to content

Commit

Permalink
UOE-11562: Changes for AdsYield Bidder (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-saurabh-narkhede authored Dec 3, 2024
1 parent 366599a commit 5d41c11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/pubmatic/openwrap/adapters/bidder_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func Alias() map[string]string {
models.BidderAndBeyondAlias: string(openrtb_ext.BidderAdkernel),
models.BidderMediaFuseAlias: string(openrtb_ext.BidderAppnexus),
models.BidderAppStockAlias: string(openrtb_ext.BidderLimelightDigital),
models.BidderAdsYieldAlias: string(openrtb_ext.BidderLimelightDigital),
}
}

Expand Down Expand Up @@ -46,7 +47,7 @@ func ResolveOWBidder(bidderName string) string {
coreBidderName = string(openrtb_ext.BidderImds)
case models.BidderViewDeos:
coreBidderName = string(openrtb_ext.BidderAdtelligent)
case models.BidderAppStockAlias:
case models.BidderAppStockAlias, models.BidderAdsYieldAlias:
coreBidderName = string(openrtb_ext.BidderLimelightDigital)
}
return coreBidderName
Expand Down
1 change: 1 addition & 0 deletions modules/pubmatic/openwrap/adapters/bidder_alias_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func TestAlias(t *testing.T) {
models.BidderAndBeyondAlias: string(openrtb_ext.BidderAdkernel),
models.BidderMediaFuseAlias: string(openrtb_ext.BidderAppnexus),
models.BidderAppStockAlias: string(openrtb_ext.BidderLimelightDigital),
models.BidderAdsYieldAlias: string(openrtb_ext.BidderLimelightDigital),
}
assert.Equal(t, expected, Alias())
}
Expand Down
1 change: 1 addition & 0 deletions modules/pubmatic/openwrap/models/bidders.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const (
BidderSynacormediaAlias = "synacormedia"
BidderViewDeos = "viewdeos"
BidderAppStockAlias = "appstock"
BidderAdsYieldAlias = "adsyield"
)

const (
Expand Down

0 comments on commit 5d41c11

Please sign in to comment.