Skip to content

Commit

Permalink
pubmatic: support hardcode alias
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-nilesh-chate committed Oct 26, 2023
1 parent ec729e6 commit c9273be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions adapters/pubmatic/pubmatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const MAX_IMPRESSIONS_PUBMATIC = 30
const ae = "ae"

type PubmaticAdapter struct {
URI string
URI string
bidderName string
}

type pubmaticBidExt struct {
Expand Down Expand Up @@ -640,7 +641,8 @@ func getBidType(bidExt *pubmaticBidExt) openrtb_ext.BidType {
// Builder builds a new instance of the Pubmatic adapter for the given bidder with the given config.
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error) {
bidder := &PubmaticAdapter{
URI: config.Endpoint,
URI: config.Endpoint,
bidderName: string(bidderName),
}
return bidder, nil
}

0 comments on commit c9273be

Please sign in to comment.