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
Copy file name to clipboardExpand all lines: bid.go
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ type Bid struct {
36
36
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.
37
37
Categories []ContentCategory`json:"cat,omitempty"`// IAB content categories of the creative. Refer to List 5.1
38
38
Attrs []CreativeAttribute`json:"attr,omitempty"`// Array of creative attributes.
39
-
APIAPIFramework`json:"api,omitempty"`// API required by the markup if applicable
39
+
APIAPIFramework`json:"api,omitempty"`// API required by the markup if applicable, NOTE: for ORTB ver <= 2.5 APIFramework supported is 1 to 6.
40
40
ProtocolProtocol`json:"protocol,omitempty"`// Video response protocol of the markup if applicable
41
41
MediaRatingIQGRating`json:"qagmediarating,omitempty"`// Creative media rating per IQG guidelines.
42
42
Languagestring`json:"language,omitempty"`// Language of the creative using ISO-639-1-alpha-2.
@@ -45,8 +45,16 @@ type Bid struct {
45
45
Heightint`json:"h,omitempty"`// Height of the ad in pixels.
46
46
WidthRatioint`json:"wratio,omitempty"`// Relative width of the creative when expressing size as a ratio.
47
47
HeightRatioint`json:"hratio,omitempty"`// Relative height of the creative when expressing size as a ratio.
48
-
Expint`json:"exp,omitempty"`// Advisory as to the number of seconds the bidder is willing to wait between the auction and the actual impression.
49
-
Ext json.RawMessage`json:"ext,omitempty"`
48
+
49
+
APISAPIFramework`json:"apis,omitempty"`// APIS required by the markup if applicable.
50
+
LangBstring`json:"langb,omitempty"`// Language of the creative using IETF BCP 47. Only one of language or langb should be present.
51
+
Durationint`json:"dur,omitempty"`// Duration of the video or audio creative in seconds.
52
+
MarkupTypeMarkupType`json:"mtype,omitempty"`// Creative markup so that it can properly be associated.
53
+
SlotInPodSlotPositionInPod`json:"slotinpod,omitempty"`// Indicates that the bid response is only eligible for a specific position.
54
+
CategoryTaxonomyCategoryTaxonomy`json:"cattax,omitempty"`// Defines the taxonomy in use.
55
+
56
+
Expint`json:"exp,omitempty"`// Advisory as to the number of seconds the bidder is willing to wait between the auction and the actual impression.
0 commit comments