Skip to content

Commit f6543e2

Browse files
committed
update after review
1 parent 1dd7157 commit f6543e2

5 files changed

Lines changed: 239 additions & 213 deletions

File tree

src/test/groovy/org/prebid/server/functional/model/request/auction/Imp.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,9 @@ class Imp {
110110
(audio ? AUDIO : null)
111111
].findAll { it }
112112
}
113+
114+
Object getSingleMediaTypeData() {
115+
return banner ?: video ?: nativeObj ?: audio
116+
}
117+
113118
}

src/test/groovy/org/prebid/server/functional/model/request/get/GeneralGetRequest.groovy

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class GeneralGetRequest {
2727
@JsonProperty("tmax")
2828
Integer timeoutMax
2929

30-
@JsonProperty("debug")
3130
DebugCondition debug
3231

3332
@JsonProperty("of")
@@ -45,7 +44,6 @@ class GeneralGetRequest {
4544
@JsonProperty("sarid")
4645
String storedAuctionResponseId
4746

48-
@JsonProperty("mimes")
4947
List<String> mimes
5048

5149
@JsonProperty("w")
@@ -60,13 +58,11 @@ class GeneralGetRequest {
6058
@JsonProperty("oh")
6159
Integer originalHeight
6260

63-
@JsonProperty("sizes")
6461
Object sizes
6562

6663
@JsonProperty("ms")
6764
Object sizesLegacy
6865

69-
@JsonProperty("slot")
7066
String slot
7167

7268
@JsonProperty("mindur")
@@ -75,16 +71,13 @@ class GeneralGetRequest {
7571
@JsonProperty("maxdur")
7672
Integer maxDuration
7773

78-
@JsonProperty("api")
7974
List<Integer> api
8075

8176
@JsonProperty("battr")
82-
List<Integer> battr
77+
List<Integer> blockAttributes
8378

84-
@JsonProperty("delivery")
8579
List<Integer> delivery
8680

87-
@JsonProperty("linearity")
8881
Integer linearity
8982

9083
@JsonProperty("minbr")
@@ -112,7 +105,7 @@ class GeneralGetRequest {
112105
Integer podSequence
113106

114107
@JsonProperty("proto")
115-
List<Integer> proto
108+
List<Integer> protocols
116109

117110
@JsonProperty("rqddurs")
118111
List<Integer> requiredDurations
@@ -126,7 +119,6 @@ class GeneralGetRequest {
126119
@JsonProperty("startdelay")
127120
Integer startDelay
128121

129-
@JsonProperty("skip")
130122
Integer skip
131123

132124
@JsonProperty("skipafter")
@@ -141,13 +133,11 @@ class GeneralGetRequest {
141133
@JsonProperty("stitched")
142134
Integer stitched
143135

144-
@JsonProperty("feed")
145136
Integer feed
146137

147138
@JsonProperty("nvol")
148139
Integer normalizedVolume
149140

150-
@JsonProperty("placement")
151141
VideoPlacementSubtypes placement
152142

153143
@JsonProperty("plcmt")
@@ -171,10 +161,8 @@ class GeneralGetRequest {
171161
@JsonProperty("topframe")
172162
Integer topFrame
173163

174-
@JsonProperty("targeting")
175164
String targeting
176165

177-
@JsonProperty("consent")
178166
String consent
179167

180168
@JsonProperty("gdpr_consent")
@@ -183,7 +171,6 @@ class GeneralGetRequest {
183171
@JsonProperty("consent_string")
184172
String consentStringLegacy
185173

186-
@JsonProperty("gdpr")
187174
Integer gdpr
188175

189176
@JsonProperty("privacy")
@@ -204,7 +191,6 @@ class GeneralGetRequest {
204191
@JsonProperty("gpp_sid")
205192
List<Integer> gppSid
206193

207-
@JsonProperty("coppa")
208194
Integer coppa
209195

210196
@JsonProperty("gpc")
@@ -222,7 +208,6 @@ class GeneralGetRequest {
222208
@JsonProperty("badv")
223209
List<String> blockedAdvertisers
224210

225-
@JsonProperty("page")
226211
String page
227212

228213
@JsonProperty("bundle")
@@ -279,7 +264,6 @@ class GeneralGetRequest {
279264
@JsonProperty("ifat")
280265
String deviceIfaType
281266

282-
@JsonProperty("unknown")
283267
String unknown
284268

285269
@JsonProperty("unknown_alias")

0 commit comments

Comments
 (0)