You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CampaignIDstring`json:"cid,omitempty"`// Campaign ID that appears with the Ad markup.
31
-
CreativeIDstring`json:"crid,omitempty"`// Creative ID for reporting content issues or defects. This could also be used as a reference to a creative ID that is posted with an exchange.
32
-
Tacticstring`json:"tactic,omitempty"`// Tactic ID to enable buyers to label bids for reporting to the exchange the tactic through which their bid was submitted.
33
-
Cat []string`json:"cat,omitempty"`// IAB content categories of the creative. Refer to List 5.1
34
-
Attr []int`json:"attr,omitempty"`// Array of creative attributes.
35
-
APIint`json:"api,omitempty"`// API required by the markup if applicable
36
-
Protocolint`json:"protocol,omitempty"`// Video response protocol of the markup if applicable
37
-
QAGMediaRatingint`json:"qagmediarating,omitempty"`// Creative media rating per IQG guidelines.
38
-
Languagestring`json:"language,omitempty"`// Language of the creative using ISO-639-1-alpha-2.
39
-
DealIDstring`json:"dealid,omitempty"`// DealID extension of private marketplace deals
40
-
Hint`json:"h,omitempty"`// Height of the ad in pixels.
41
-
Wint`json:"w,omitempty"`// Width of the ad in pixels.
42
-
WRatioint`json:"wratio,omitempty"`// Relative width of the creative when expressing size as a ratio.
43
-
HRatioint`json:"hratio,omitempty"`// Relative height of the creative when expressing size as a ratio.
44
-
Expint`json:"exp,omitempty"`// Advisory as to the number of seconds the bidder is willing to wait between the auction and the actual impression.
45
-
ExtExtension`json:"ext,omitempty"`
19
+
IDstring`json:"id"`
20
+
ImpIDstring`json:"impid"`// Required string ID of the impression object to which this bid applies.
21
+
Pricefloat64`json:"price"`// Bid price in CPM. Suggests using integer math for accounting to avoid rounding errors.
22
+
AdIDstring`json:"adid,omitempty"`// References the ad to be served if the bid wins.
CampaignIDStringOrNumber`json:"cid,omitempty"`// Campaign ID that appears with the Ad markup.
31
+
CreativeIDstring`json:"crid,omitempty"`// Creative ID for reporting content issues or defects. This could also be used as a reference to a creative ID that is posted with an exchange.
32
+
Tacticstring`json:"tactic,omitempty"`// Tactic ID to enable buyers to label bids for reporting to the exchange the tactic through which their bid was submitted.
33
+
Cat []string`json:"cat,omitempty"`// IAB content categories of the creative. Refer to List 5.1
34
+
Attr []int`json:"attr,omitempty"`// Array of creative attributes.
35
+
APIint`json:"api,omitempty"`// API required by the markup if applicable
36
+
Protocolint`json:"protocol,omitempty"`// Video response protocol of the markup if applicable
37
+
QAGMediaRatingint`json:"qagmediarating,omitempty"`// Creative media rating per IQG guidelines.
38
+
Languagestring`json:"language,omitempty"`// Language of the creative using ISO-639-1-alpha-2.
39
+
DealIDstring`json:"dealid,omitempty"`// DealID extension of private marketplace deals
40
+
Hint`json:"h,omitempty"`// Height of the ad in pixels.
41
+
Wint`json:"w,omitempty"`// Width of the ad in pixels.
42
+
WRatioint`json:"wratio,omitempty"`// Relative width of the creative when expressing size as a ratio.
43
+
HRatioint`json:"hratio,omitempty"`// Relative height of the creative when expressing size as a ratio.
44
+
Expint`json:"exp,omitempty"`// Advisory as to the number of seconds the bidder is willing to wait between the auction and the actual impression.
Copy file name to clipboardExpand all lines: native/response/response.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ import "github.com/bsm/openrtb"
4
4
5
5
// The native object is the top level JSON object which identifies a native response
6
6
typeResponsestruct {
7
-
Verstring`json:"ver,omitempty"`// Version of the Native Markup
8
-
Assets []Asset`json:"assets"`// An array of Asset Objects
9
-
LinkLink`json:"link"`// Destination Link. This is default link object for the ad
10
-
ImpTrackers []string`json:"imptrackers,omitempty"`// Array of impression tracking URLs, expected to return a 1x1 image or 204 response
11
-
JSTrackerstring`json:"jstracker,omitempty"`// Optional JavaScript impression tracker. This is a valid HTML, Javascript is already wrapped in <script> tags. It should be executed at impression time where it can be supported
12
-
Ext openrtb.Extension`json:"ext,omitempty"`
7
+
Veropenrtb.StringOrNumber`json:"ver,omitempty"`// Version of the Native Markup
8
+
Assets []Asset`json:"assets"`// An array of Asset Objects
9
+
LinkLink`json:"link"`// Destination Link. This is default link object for the ad
10
+
ImpTrackers []string`json:"imptrackers,omitempty"`// Array of impression tracking URLs, expected to return a 1x1 image or 204 response
11
+
JSTrackerstring`json:"jstracker,omitempty"`// Optional JavaScript impression tracker. This is a valid HTML, Javascript is already wrapped in <script> tags. It should be executed at impression time where it can be supported
0 commit comments