-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrtd_openrtb_ext.proto
More file actions
201 lines (164 loc) · 5.54 KB
/
Copy pathrtd_openrtb_ext.proto
File metadata and controls
201 lines (164 loc) · 5.54 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
//
// OpenRTB Community Extensions (BidRequest side only)
//
// User.mgni_ext.eids is omitted due to being directly available in OpenRTB 2.6 as User.eids
//
syntax = "proto2";
package com.magnite.real_time_data.openrtb.v2;
import "openrtb.proto";
message ImpCommExt {
message InterestGroupAuctionSupport {
optional int32 ae = 1 [default = 1];
optional int32 biddable = 2 [default = 0];
}
message SKAdNetwork {
message SKAdNetworkList {
optional int64 max = 1;
repeated int64 excl = 2;
repeated string addl = 3;
extensions 100 to 9999;
}
repeated string versions = 1;
optional string version = 2;
optional string sourceapp = 3;
repeated string skadnetids = 4;
optional SKAdNetworkList skadnetlist = 5;
optional int32 skoverlay = 6;
extensions 100 to 9999;
}
// BidRequest.imp.mgni_ext.igs
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/Protected%20Audience%20Support.md
optional InterestGroupAuctionSupport igs = 1;
// BidRequest.imp.mgni_ext.gpid
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/gpid.md
optional string gpid = 2;
// BidRequest.imp.mgni_ext.intrinsic
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/intrinsic-in-game.md
optional int32 intrinsic = 3;
// BidRequest.imp.mgni_ext.tid
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/per-imp-tids.md
optional string tid = 4;
// BidRequest.imp.mgni_ext.skadn
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/skadnetwork.md
optional SKAdNetwork skadn = 5;
extend com.iabtechlab.openrtb.v2.BidRequest.Imp {
// BidRequest.imp.ext
optional ImpCommExt mgni_ext = 7301;
}
}
message DataCommExt {
// BidRequest.**.data.mgni_ext.segtax
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/segtax.md
optional int64 segtax = 1;
// BidRequest.**.data.mgni_ext.cids
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/extended-content-ids.md
repeated string cids = 2;
extend com.iabtechlab.openrtb.v2.BidRequest.Data {
// BidRequest.**.data.ext
optional DataCommExt mgni_ext = 7302;
}
}
message SegmentCommExt {
message AgenticAudience {
optional string ver = 1;
optional string vector = 2;
optional int32 dimension = 3;
optional string model = 4;
repeated int32 type = 5;
}
// BidRequest.user.data.segment.mgni_ext.aa
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/agentic-audiences.md
optional AgenticAudience aa = 1;
extend com.iabtechlab.openrtb.v2.BidRequest.Data.Segment {
// BidRequest.user.data.segment.ext
optional SegmentCommExt mgni_ext = 7303;
}
}
message RegsCommExt {
message DSA {
message Transparency {
optional string domain = 1;
repeated int32 dsaparams = 2;
}
optional int32 dsarequired = 1;
optional int32 pubrender = 2;
optional int32 datatopub = 3;
repeated Transparency transparency = 4;
}
// BidRequest.regs.mgni_ext.gpc
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/2.x_official_extensions/gpc.md
optional string gpc = 1;
// BidRequest.regs.mgni_ext.s22580
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/ca-568.md
optional int32 s22580 = 2;
// BidRequest.regs.mgni_ext.dsa
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/dsa_transparency.md
optional DSA dsa = 3;
extend com.iabtechlab.openrtb.v2.BidRequest.Regs {
// BidRequest.regs.ext
optional RegsCommExt mgni_ext = 7304;
}
}
message DeviceCommExt {
// BidRequest.device.mgni_ext.cdep
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/deprecation_test_label.md
optional string cdep = 1;
// BidRequest.device.mgni_ext.ifa_type
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/ifa_type.md
optional string ifa_type = 2;
extend com.iabtechlab.openrtb.v2.BidRequest.Device {
// BidRequest.device.ext
optional DeviceCommExt mgni_ext = 7305;
}
}
message UserCommExt {
message DigiTrust {
optional string id = 1;
optional int64 keyv = 2;
}
// BidRequest.user.mgni_ext.digitrust
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/digitrust.md
optional DigiTrust digitrust = 1;
extend com.iabtechlab.openrtb.v2.BidRequest.User {
// BidRequest.user.ext
optional UserCommExt mgni_ext = 7306;
}
}
message ContentCommExt {
// BidRequest.*.content.mgni_ext.feedurls
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/urls-brand-safety.md
repeated string feedurls = 1;
extend com.iabtechlab.openrtb.v2.BidRequest.Content {
// BidRequest.*.content.ext
optional ContentCommExt mgni_ext = 7307;
}
}
message Prodfeed {
optional string id = 1;
optional string domain = 2;
repeated string aprod = 3;
repeated string bprod = 4;
repeated string aprodcat = 5;
extensions 100 to 9999;
extend com.iabtechlab.openrtb.v2.BidRequest {
// BidRequest.prodfeed
//
// https://github.com/InteractiveAdvertisingBureau/openrtb/extensions/community_extensions/pla.md
optional Prodfeed prodfeed = 7308;
}
}