From 412763849713fbfe1ac9287d325b0938db7034e0 Mon Sep 17 00:00:00 2001 From: arnaud Date: Wed, 2 Oct 2024 15:33:29 +0200 Subject: [PATCH] add rwdd field for impression --- impression.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/impression.go b/impression.go index 589daf6..7694f7e 100644 --- a/impression.go +++ b/impression.go @@ -32,9 +32,10 @@ type Impression struct { BidFloor float64 `json:"bidfloor,omitempty"` // Bid floor for this impression in CPM BidFloorCurrency string `json:"bidfloorcur,omitempty"` // Currency of bid floor Secure NumberOrString `json:"secure,omitempty"` // Flag to indicate whether the impression requires secure HTTPS URL creative assets and markup. - Quantity *Quantity `json:"qty,omitempty"` // Includes the impression multiplier, and describes its source. - Exp int `json:"exp,omitempty"` // Advisory as to the number of seconds that may elapse between the auction and the actual impression. - IFrameBusters []string `json:"iframebuster,omitempty"` // Array of names for supportediframe busters. + Quantity *Quantity `json:"qty,omitempty"` // Includes the impression multiplier, and describes its source. + Exp int `json:"exp,omitempty"` // Advisory as to the number of seconds that may elapse between the auction and the actual impression. + IFrameBusters []string `json:"iframebuster,omitempty"` // Array of names for supportediframe busters. + Rewarded int `json:"rwdd,omitempty"` // Impression is rewarded, Default: 0 ("1": yes, "0": no) Ext json.RawMessage `json:"ext,omitempty"` }