@@ -121,6 +121,11 @@ describe('IndexexchangeAdapter', function () {
121
121
playerSize : [ [ 400 , 100 ] ]
122
122
}
123
123
} ,
124
+ ortb2Imp : {
125
+ ext : {
126
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47230'
127
+ }
128
+ } ,
124
129
adUnitCode : 'div-gpt-ad-1460505748562-0' ,
125
130
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47230' ,
126
131
bidId : '1a2b3c4e' ,
@@ -143,6 +148,11 @@ describe('IndexexchangeAdapter', function () {
143
148
sizes : [ [ 300 , 250 ] ]
144
149
}
145
150
} ,
151
+ ortb2Imp : {
152
+ ext : {
153
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47229'
154
+ }
155
+ } ,
146
156
adUnitCode : 'div-gpt-ad-1460505748561-0' ,
147
157
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47229' ,
148
158
bidId : '1a2b3c4d' ,
@@ -165,6 +175,11 @@ describe('IndexexchangeAdapter', function () {
165
175
sizes : [ [ 300 , 250 ] , [ 300 , 600 ] ]
166
176
}
167
177
} ,
178
+ ortb2Imp : {
179
+ ext : {
180
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47229'
181
+ }
182
+ } ,
168
183
adUnitCode : 'div-gpt-ad-1460505748561-0' ,
169
184
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47229' ,
170
185
bidId : '1a2b3c4d' ,
@@ -185,6 +200,11 @@ describe('IndexexchangeAdapter', function () {
185
200
sizes : [ [ 300 , 250 ] , [ 300 , 600 ] ]
186
201
}
187
202
} ,
203
+ ortb2Imp : {
204
+ ext : {
205
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47229'
206
+ }
207
+ } ,
188
208
adUnitCode : 'div-gpt-ad-1460505748561-0' ,
189
209
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47229' ,
190
210
bidId : '1a2b3c4d' ,
@@ -214,6 +234,11 @@ describe('IndexexchangeAdapter', function () {
214
234
protocols : [ 2 ]
215
235
}
216
236
} ,
237
+ ortb2Imp : {
238
+ ext : {
239
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47230'
240
+ }
241
+ } ,
217
242
adUnitCode : 'div-gpt-ad-1460505748562-0' ,
218
243
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47230' ,
219
244
bidId : '1a2b3c4e' ,
@@ -247,6 +272,11 @@ describe('IndexexchangeAdapter', function () {
247
272
playerSize : [ [ 400 , 100 ] , [ 200 , 400 ] ]
248
273
}
249
274
} ,
275
+ ortb2Imp : {
276
+ ext : {
277
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47230'
278
+ }
279
+ } ,
250
280
adUnitCode : 'div-gpt-ad-1460505748562-0' ,
251
281
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47230' ,
252
282
bidId : '1a2b3c4e' ,
@@ -272,6 +302,11 @@ describe('IndexexchangeAdapter', function () {
272
302
sizes : [ [ 300 , 250 ] , [ 300 , 600 ] , [ 400 , 500 ] ]
273
303
}
274
304
} ,
305
+ ortb2Imp : {
306
+ ext : {
307
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47230'
308
+ }
309
+ } ,
275
310
adUnitCode : 'div-gpt-ad-1460505748562-0' ,
276
311
transactionId : '173f49a8-7549-4218-a23c-e7ba59b47230' ,
277
312
bidId : '1a2b3c4e' ,
@@ -307,6 +342,11 @@ describe('IndexexchangeAdapter', function () {
307
342
sizes : [ [ 300 , 250 ] , [ 300 , 600 ] ]
308
343
}
309
344
} ,
345
+ ortb2Imp : {
346
+ ext : {
347
+ tid : '173f49a8-7549-4218-a23c-e7ba59b47230'
348
+ }
349
+ } ,
310
350
adUnitCode : 'div-gpt-ad-1460505748562-0' ,
311
351
transactionId : '273f49a8-7549-4218-a23c-e7ba59b47230' ,
312
352
bidId : '1a2b3c4e' ,
@@ -1720,6 +1760,7 @@ describe('IndexexchangeAdapter', function () {
1720
1760
expect ( impression . id ) . to . equal ( DEFAULT_BANNER_VALID_BID [ 0 ] . bidId ) ;
1721
1761
expect ( impression . banner . format ) . to . be . length ( 2 ) ;
1722
1762
expect ( impression . banner . topframe ) . to . be . oneOf ( [ 0 , 1 ] ) ;
1763
+ expect ( impression . ext . tid ) . to . equal ( DEFAULT_BANNER_VALID_BID [ 0 ] . transactionId ) ;
1723
1764
1724
1765
impression . banner . format . map ( ( { w, h, ext } , index ) => {
1725
1766
const size = DEFAULT_BANNER_VALID_BID [ 0 ] . mediaTypes . banner . sizes [ index ] ;
0 commit comments