forked from mxmCherry/openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publisher.go
51 lines (44 loc) · 1.09 KB
/
publisher.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package openrtb
import "encoding/json"
// 3.2.15 Object: Publisher
//
// This object describes the publisher of the media in which the ad will be displayed.
// The publisher is typically the seller in an OpenRTB transaction.
type Publisher struct {
// Attribute:
// id
// Type:
// string
// Description:
// Exchange-specific publisher ID.
ID string `json:"id,omitempty"`
// Attribute:
// name
// Type:
// string
// Description:
// Publisher name (may be aliased at the publisher’s request).
Name string `json:"name,omitempty"`
// Attribute:
// cat
// Type:
// string array
// Description:
// Array of IAB content categories that describe the publisher.
// Refer to List 5.1.
Cat []string `json:"cat,omitempty"`
// Attribute:
// domain
// Type:
// string
// Description:
// Highest level domain of the publisher (e.g., “publisher.com”).
Domain string `json:"domain,omitempty"`
// Attribute:
// ext
// Type:
// object
// Description:
// Placeholder for exchange-specific extensions to OpenRTB.
Ext json.RawMessage `json:"ext,omitempty"`
}