Skip to content

Commit 4b107f1

Browse files
committed
update bid/imp to hold contentType
1 parent 9f0e716 commit 4b107f1

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
@@ -42,6 +42,7 @@ type Bid struct {
4242
WRatio int `json:"wratio,omitempty"` // Relative width of the creative when expressing size as a ratio.
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.
45+
ContentType string `json:"-"` // content of the bid
4546
Ext Extension `json:"ext,omitempty"`
4647
}
4748

impression.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type Impression struct {
3232
Secure NumberOrString `json:"secure,omitempty"` // Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup.
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.
35+
ContentType string `json:"-"` // Used to attribute bid to a content - not sent in request
3536
Ext Extension `json:"ext,omitempty"`
3637
}
3738

0 commit comments

Comments
 (0)