Skip to content

Commit f4a5673

Browse files
author
Vu Pham
committed
Add IsOmEnabled flag to signal om creative from admob to sdk
1 parent de4cb32 commit f4a5673

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

bid.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ 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
46-
MediaType string `json:"-"` // media of the impression e.g. video/display
45+
ContentType string `json:"-"` // Content of the bid
46+
MediaType string `json:"-"` // Media of the impression e.g. video/display
47+
IsOmEnabled bool `json:"-"` // Flag to send indicate to the Sdk whether or not to run om scripts
4748
Ext Extension `json:"ext,omitempty"`
4849
}
4950

0 commit comments

Comments
 (0)