mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-15 22:46:34 +03:00
Added missing Bid.Attr property, fixed godoc comments
This commit is contained in:
@@ -110,9 +110,17 @@ type Bid struct {
|
||||
// Type:
|
||||
// string array
|
||||
// Description:
|
||||
// IAB content categories of the creative. Refer to List 5.1.attr integer array Set of attributes describing the creative. Refer to List 5.3.
|
||||
// IAB content categories of the creative. Refer to List 5.1.
|
||||
Cat []string `json:"cat,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// attr
|
||||
// Type:
|
||||
// integer array
|
||||
// Description:
|
||||
// Set of attributes describing the creative. Refer to List 5.3.
|
||||
Attr []int8 `json:"attr,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// dealid
|
||||
// Type:
|
||||
|
||||
+2
-2
@@ -140,8 +140,8 @@ type BidRequest struct {
|
||||
// Type:
|
||||
// object
|
||||
// Description:
|
||||
// Blocked advertiser categories using the IAB content categories. Refer to List 5.1. or governmental
|
||||
// regulations in force for this request.
|
||||
// A Regs object (Section 3.2.16) that specifies any industry, legal,
|
||||
// or governmental regulations in force for this request.
|
||||
Regs *Regs `json:"regs,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
|
||||
@@ -56,7 +56,7 @@ type Deal struct {
|
||||
// Type:
|
||||
// string array
|
||||
// Description:
|
||||
// Array of advertiser domains (e.g., advertiser.com) allowed to bid on this deal. Omission implies
|
||||
// Array of advertiser domains (e.g., advertiser.com) allowed to bid on this deal. Omission implies
|
||||
// no advertiser restrictions.
|
||||
WADomain []string `json:"wadomain,omitempty"`
|
||||
|
||||
|
||||
@@ -170,7 +170,6 @@ type Device struct {
|
||||
// Description:
|
||||
// Carrier or ISP (e.g., “VERIZON”). “WIFI” is often used in mobile
|
||||
// to indicate high bandwidth (e.g., video friendly vs. cellular).
|
||||
// connectiontype integer Network connection type. Refer to List 5.18.
|
||||
Carrier string `json:"carrier,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
|
||||
Reference in New Issue
Block a user