Skip to content

Commit af53fe9

Browse files
author
strasler
committed
OD-12063 Remove deprecated fields
1 parent d99a477 commit af53fe9

1 file changed

Lines changed: 26 additions & 35 deletions

File tree

com/magnite/openrtb/v2/openrtb-xapi.proto

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ message BidRequestExt {
3636
}
3737

3838
extend com.iabtechlab.openrtb.v2.BidRequest {
39-
optional BidRequestExt bid_request = 5010;
39+
optional BidRequestExt bid_request = 5001;
4040
}
4141

4242
// Imp
@@ -77,7 +77,7 @@ message ImpExt {
7777
}
7878

7979
extend com.iabtechlab.openrtb.v2.BidRequest.Imp {
80-
optional ImpExt imp = 5010;
80+
optional ImpExt imp = 5002;
8181
}
8282

8383
// Video
@@ -100,7 +100,7 @@ message VideoExt {
100100
}
101101

102102
extend com.iabtechlab.openrtb.v2.BidRequest.Imp.Video {
103-
optional VideoExt video = 5010;
103+
optional VideoExt video = 5003;
104104
}
105105

106106
// Banner
@@ -117,13 +117,7 @@ message BannerExt {
117117
}
118118

119119
extend com.iabtechlab.openrtb.v2.BidRequest.Imp.Banner {
120-
optional BannerExt banner = 5010;
121-
}
122-
123-
message Transparency {
124-
optional int32 blind = 1;
125-
repeated int32 buyers = 2;
126-
repeated int32 blindbuyers = 3;
120+
optional BannerExt banner = 5004;
127121
}
128122

129123
message AdQuality {
@@ -135,33 +129,31 @@ message AdQuality {
135129
message AppExt {
136130
message Rp {
137131
optional uint32 site_id = 1;
138-
optional Transparency transparency = 2;
139-
optional AdQuality aq = 3;
140-
repeated string blocklists = 4;
132+
optional AdQuality aq = 2;
133+
repeated string blocklists = 3;
141134
}
142135

143136
optional Rp rp = 1;
144137
}
145138

146139
extend com.iabtechlab.openrtb.v2.BidRequest.App {
147-
optional AppExt app = 5010;
140+
optional AppExt app = 5005;
148141
}
149142

150143
// Site
151144
message SiteExt {
152145
message Rp {
153146
optional uint32 site_id = 1;
154-
optional Transparency transparency = 2;
155-
optional AdQuality aq = 3;
156-
repeated string blocklists = 4;
147+
optional AdQuality aq = 2;
148+
repeated string blocklists = 3;
157149
}
158150

159151
optional Rp rp = 1;
160152
optional Window window = 2;
161153
}
162154

163155
extend com.iabtechlab.openrtb.v2.BidRequest.Site {
164-
optional SiteExt site = 5010;
156+
optional SiteExt site = 5006;
165157
}
166158

167159
// Publisher
@@ -174,7 +166,7 @@ message PublisherExt {
174166
}
175167

176168
extend com.iabtechlab.openrtb.v2.BidRequest.Publisher {
177-
optional PublisherExt publisher = 5010;
169+
optional PublisherExt publisher = 5007;
178170
}
179171

180172
// Device
@@ -195,7 +187,7 @@ message DeviceExt {
195187
}
196188

197189
extend com.iabtechlab.openrtb.v2.BidRequest.Device {
198-
optional DeviceExt device = 5010;
190+
optional DeviceExt device = 5008;
199191
}
200192

201193
// Geo
@@ -208,7 +200,7 @@ message GeoExt {
208200
}
209201

210202
extend com.iabtechlab.openrtb.v2.BidRequest.Geo {
211-
optional GeoExt geo = 5010;
203+
optional GeoExt geo = 5009;
212204
}
213205

214206
// User
@@ -238,7 +230,7 @@ message RegsExt {
238230
}
239231

240232
extend com.iabtechlab.openrtb.v2.BidRequest.Regs {
241-
optional RegsExt regs = 5010;
233+
optional RegsExt regs = 5011;
242234
}
243235

244236
// Source
@@ -247,7 +239,7 @@ message SourceExt {
247239
}
248240

249241
extend com.iabtechlab.openrtb.v2.BidRequest.Source {
250-
optional SourceExt source = 5010;
242+
optional SourceExt source = 5012;
251243
}
252244

253245
// Native
@@ -260,7 +252,7 @@ message NativeExt {
260252
}
261253

262254
extend com.iabtechlab.openrtb.v2.BidRequest.Imp.Native {
263-
optional NativeExt native = 5010;
255+
optional NativeExt native = 5013;
264256
}
265257

266258
// NativeRequest
@@ -269,31 +261,25 @@ message NativeRequestExt {
269261
}
270262

271263
extend com.iabtechlab.openrtb.v2.NativeRequest {
272-
optional NativeRequestExt native_request = 5010;
264+
optional NativeRequestExt native_request = 5014;
273265
}
274266

275267

276268
// ===== Response =====
277269

278270
// BidResponseExt
279271
message BidResponseExt {
280-
message InventoryQuality {
281-
optional double cpm = 1;
282-
optional double score = 2;
283-
}
284-
285272
message Rp {
286273
optional int32 statuscode = 1;
287274
optional string statusmsg = 2;
288275
optional int32 time = 3;
289-
optional InventoryQuality iq = 4;
290276
}
291277

292278
optional Rp rp = 1;
293279
}
294280

295281
extend com.iabtechlab.openrtb.v2.BidResponse {
296-
optional BidResponseExt bid_response = 5011;
282+
optional BidResponseExt bid_response = 5101;
297283
}
298284

299285
// SeatBidExt
@@ -306,12 +292,17 @@ message SeatBidExt {
306292
}
307293

308294
extend com.iabtechlab.openrtb.v2.BidResponse.SeatBid {
309-
optional SeatBidExt seatbid = 5011;
295+
optional SeatBidExt seatbid = 5102;
310296
}
311297

312298
// BidExt
313299
message BidExt {
314300
message Rp {
301+
message InventoryQuality {
302+
optional double cpm = 1;
303+
optional double score = 2;
304+
}
305+
315306
optional int32 advid = 1;
316307
optional string mime = 2;
317308
optional string adtype = 3;
@@ -326,12 +317,12 @@ message BidExt {
326317
repeated int32 aindid = 12;
327318
optional string burl = 13;
328319
repeated string imptrackers = 14;
329-
optional BidResponseExt.InventoryQuality iq = 15;
320+
optional InventoryQuality iq = 15;
330321
}
331322

332323
optional Rp rp = 1;
333324
}
334325

335326
extend com.iabtechlab.openrtb.v2.BidResponse.SeatBid.Bid {
336-
optional BidExt bid = 5011;
327+
optional BidExt bid = 5103;
337328
}

0 commit comments

Comments
 (0)