-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathregs.go
69 lines (61 loc) · 1.98 KB
/
regs.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package openrtb2
import "encoding/json"
// Object: Regs
//
// This object contains any legal, governmental, or industry regulations that the sender deems applicable to the request.
// See Section 7.5 for more details on the flags supporting Coppa, GDPR and others.
type Regs struct {
// Attribute:
// coppa
// Type:
// integer
// Description:
// Flag indicating if this request is subject to the COPPA
// regulations established by the USA FTC, where 0 = no, 1 = yes.
// Refer to Section 7.5 for more information.
COPPA int8 `json:"coppa,omitempty"`
// Attribute:
// gdpr
// Type:
// integer
// Description:
// Flag that indicates whether or not the request is subject to
// GDPR regulations 0 = No, 1 = Yes, omission indicates
// Unknown. Refer to Section 7.5 for more information.
GDPR *int8 `json:"gdpr,omitempty"`
// Attribute:
// us_privacy
// Type:
// string
// Description:
// Communicates signals regarding consumer privacy under US
// privacy regulation. See US Privacy String specifications. Refer
// to Section 7.5 for more information.
USPrivacy string `json:"us_privacy,omitempty"`
// Attribute:
// gpp
// Type:
// string
// Description:
// Contains the Global Privacy Platform’s consent string. See the
// Global Privacy Platform specification for more details.
GPP string `json:"gpp,omitempty"`
// Attribute:
// gpp_sid
// Type:
// integer array
// Description:
// Array of the section(s) of the string which should be applied for this
// transaction. Generally will contain one and only one value, but there
// are edge cases where more than one may apply. GPP Section 3 (Header)
// and 4 (Signal Integrity) do not need to be included. See the
// GPP Section Information for more details.
GPPSID []int8 `json:"gpp_sid,omitempty"`
// Attribute:
// ext
// Type:
// object
// Description:
// Placeholder for exchange-specific extensions to OpenRTB.
Ext json.RawMessage `json:"ext,omitempty"`
}