@@ -10,7 +10,12 @@ describe('limelightDigitalAdapter', function () {
10
10
host : 'exchange.ortb.net' ,
11
11
adUnitId : 123 ,
12
12
adUnitType : 'banner' ,
13
- publisherId : 'perfectPublisher'
13
+ publisherId : 'perfectPublisher' ,
14
+ custom1 : 'custom1' ,
15
+ custom2 : 'custom2' ,
16
+ custom3 : 'custom3' ,
17
+ custom4 : 'custom4' ,
18
+ custom5 : 'custom5'
14
19
} ,
15
20
placementCode : 'placement_0' ,
16
21
auctionId : '74f78609-a92d-4cf1-869f-1b244bbfb5d2' ,
@@ -49,7 +54,12 @@ describe('limelightDigitalAdapter', function () {
49
54
params : {
50
55
host : 'ads.project-limelight.com' ,
51
56
adUnitId : 456 ,
52
- adUnitType : 'banner'
57
+ adUnitType : 'banner' ,
58
+ custom1 : 'custom1' ,
59
+ custom2 : 'custom2' ,
60
+ custom3 : 'custom3' ,
61
+ custom4 : 'custom4' ,
62
+ custom5 : 'custom5'
53
63
} ,
54
64
placementCode : 'placement_1' ,
55
65
auctionId : '482f88de-29ab-45c8-981a-d25e39454a34' ,
@@ -90,7 +100,12 @@ describe('limelightDigitalAdapter', function () {
90
100
host : 'exchange.ortb.net' ,
91
101
adUnitId : 789 ,
92
102
adUnitType : 'video' ,
93
- publisherId : 'secondPerfectPublisher'
103
+ publisherId : 'secondPerfectPublisher' ,
104
+ custom1 : 'custom1' ,
105
+ custom2 : 'custom2' ,
106
+ custom3 : 'custom3' ,
107
+ custom4 : 'custom4' ,
108
+ custom5 : 'custom5'
94
109
} ,
95
110
placementCode : 'placement_2' ,
96
111
auctionId : 'e4771143-6aa7-41ec-8824-ced4342c96c8' ,
@@ -128,7 +143,12 @@ describe('limelightDigitalAdapter', function () {
128
143
params : {
129
144
host : 'exchange.ortb.net' ,
130
145
adUnitId : 789 ,
131
- adUnitType : 'video'
146
+ adUnitType : 'video' ,
147
+ custom1 : 'custom1' ,
148
+ custom2 : 'custom2' ,
149
+ custom3 : 'custom3' ,
150
+ custom4 : 'custom4' ,
151
+ custom5 : 'custom5'
132
152
} ,
133
153
placementCode : 'placement_2' ,
134
154
auctionId : 'e4771143-6aa7-41ec-8824-ced4342c96c8' ,
@@ -196,7 +216,12 @@ describe('limelightDigitalAdapter', function () {
196
216
'transactionId' ,
197
217
'publisherId' ,
198
218
'userIdAsEids' ,
199
- 'supplyChain'
219
+ 'supplyChain' ,
220
+ 'custom1' ,
221
+ 'custom2' ,
222
+ 'custom3' ,
223
+ 'custom4' ,
224
+ 'custom5'
200
225
) ;
201
226
expect ( adUnit . id ) . to . be . a ( 'number' ) ;
202
227
expect ( adUnit . bidId ) . to . be . a ( 'string' ) ;
@@ -205,6 +230,11 @@ describe('limelightDigitalAdapter', function () {
205
230
expect ( adUnit . sizes ) . to . be . an ( 'array' ) ;
206
231
expect ( adUnit . userIdAsEids ) . to . be . an ( 'array' ) ;
207
232
expect ( adUnit . supplyChain ) . to . be . an ( 'object' ) ;
233
+ expect ( adUnit . custom1 ) . to . be . a ( 'string' ) ;
234
+ expect ( adUnit . custom2 ) . to . be . a ( 'string' ) ;
235
+ expect ( adUnit . custom3 ) . to . be . a ( 'string' ) ;
236
+ expect ( adUnit . custom4 ) . to . be . a ( 'string' ) ;
237
+ expect ( adUnit . custom5 ) . to . be . a ( 'string' ) ;
208
238
} )
209
239
} )
210
240
} )
0 commit comments