Added missing Bid.Attr property, fixed godoc comments

This commit is contained in:
Max Cherry
2016-06-15 10:50:33 +03:00
parent 065bcf8a84
commit a9dc96e9ec
4 changed files with 12 additions and 5 deletions
+9 -1
View File
@@ -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
View File
@@ -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:
+1 -1
View File
@@ -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"`
-1
View File
@@ -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: