Skip to content

Commit db62871

Browse files
authored
Merge pull request #5 from hailsryan/master
Add MediaType To Bid and Impression
2 parents f2d8921 + 3b87e53 commit db62871

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

bid.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ type Bid struct {
4343
HRatio int `json:"hratio,omitempty"` // Relative height of the creative when expressing size as a ratio.
4444
Exp int `json:"exp,omitempty"` // Advisory as to the number of seconds the bidder is willing to wait between the auction and the actual impression.
4545
ContentType string `json:"-"` // content of the bid
46+
MediaType string `json:"-"` // media of the impression e.g. video/display
4647
Ext Extension `json:"ext,omitempty"`
4748
}
4849

impression.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ type Impression struct {
3333
Exp int `json:"exp,omitempty"` // Advisory as to the number of seconds that may elapse between the auction and the actual impression.
3434
IFrameBuster []string `json:"iframebuster,omitempty"` // Array of names for supportediframe busters.
3535
ContentType string `json:"-"` // Used to attribute bid to a content - not sent in request
36+
MediaType string `json:"-"` // media of the impression e.g. video/display
3637
Ext Extension `json:"ext,omitempty"`
3738
}
3839

0 commit comments

Comments
 (0)