Skip to content

Commit ff28769

Browse files
committed
Merge pull request #7 from audiencepi/update-bid-field
Add missing height & width field for bid
2 parents d93c9fc + 13c3d4f commit ff28769

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bid.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ type Bid struct {
2222
Iurl *string `json:"iurl,omitempty"` // Sample image URL.
2323
Cid *string `json:"cid,omitempty"` // Campaign ID that appears with the Ad markup.
2424
Crid *string `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.
25+
Cat []string `json:"cat,omitempty"` // IAB content categories of the creative. Refer to List 5.1
2526
Attr []int `json:"attr,omitempty"` // Array of creative attributes.
2627
DealId *string `json:"deal_id,omitempty"` // DealID extension of private marketplace deals
28+
H *int `json:"h,omitempty"` // Height of the ad in pixels.
29+
W *int `json:"w,omitempty"` // Width of the ad in pixels.
2730
Ext Extensions `json:"ext,omitempty"`
2831
}
2932

0 commit comments

Comments
 (0)