forked from PubMatic-OpenWrap/prebid-openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eid.go
45 lines (39 loc) · 1.12 KB
/
eid.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
package openrtb2
import "encoding/json"
// 3.2.27 Object: EID
//
// Extended identifiers support in the OpenRTB specification allows buyers to use audience data in real-time bidding.
// This object can contain one or more UIDs from a single source or a technology provider.
// The exchange should ensure that business agreements allow for the sending of this data.
type EID struct {
// Attribute:
// id
// Type:
// string
// Description:
// The identifier for EID.
ID string `json:"id,omitempty"`
// Attribute:
// source
// Type:
// string
// Description:
// Source or technology provider responsible for the set of
// included IDs. Expressed as a top-level domain.
Source string `json:"source,omitempty"`
// Attribute:
// uids
// Type:
// object array
// Description:
// Array of extended ID UID objects from the given source. Refer
// to 3.2.28 Extended Identifier UIDs.
UIDs []UID `json:"uids,omitempty"`
// Attribute:
// ext
// Type:
// object
// Description:
// Placeholder for advertising-system specific extensions to this object.
Ext json.RawMessage `json:"ext,omitempty"`
}