Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Added missing Bid.Attr property, fixed godoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmCherry committed Jun 15, 2016
1 parent 065bcf8 commit a9dc96e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
10 changes: 9 additions & 1 deletion bid.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions bid_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion deal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`

Expand Down
1 change: 0 additions & 1 deletion device.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a9dc96e

Please sign in to comment.