forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OTT-54 Adding Default VAST Bidder Implementation
- Loading branch information
1 parent
c9e9c82
commit fde6dc4
Showing
22 changed files
with
177 additions
and
218 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
adapters/tagbidder/macro_processor.go → adapters/vastbidder/macro_processor.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package tagbidder | ||
package vastbidder | ||
|
||
import ( | ||
"bytes" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package vastbidder | ||
|
||
import ( | ||
"github.com/PubMatic-OpenWrap/prebid-server/openrtb_ext" | ||
) | ||
|
||
//SpotxMacro default implementation | ||
type SpotxMacro struct { | ||
*BidderMacro | ||
} | ||
|
||
//NewSpotxMacro contains definition for all openrtb macro's | ||
func NewSpotxMacro() IBidderMacro { | ||
return &SpotxMacro{ | ||
BidderMacro: &BidderMacro{}, | ||
} | ||
} | ||
|
||
//GetBidderKeys will set bidder level keys | ||
func (tag *SpotxMacro) GetBidderKeys() map[string]string { | ||
return NormalizeJSON(tag.ImpBidderExt) | ||
} | ||
|
||
func init() { | ||
RegisterNewBidderMacro(openrtb_ext.BidderSpotX, NewSpotxMacro) | ||
} |
Oops, something went wrong.