Skip to content

Commit 47712cb

Browse files
authored
TrustX Bid Adapter: Fix alias error (#6373)
1 parent 3da5445 commit 47712cb

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

modules/trustxBidAdapter.js

-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ function _addBidResponse(serverBid, bidsMap, priceType, bidResponses, RendererCo
207207
const bid = slot.bids.shift();
208208
const bidResponse = {
209209
requestId: bid.bidId, // bid.bidderRequestId,
210-
bidderCode: spec.code,
211210
cpm: serverBid.price,
212211
width: serverBid.w,
213212
height: serverBid.h,

test/spec/modules/trustxBidAdapter_spec.js

-14
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ describe('TrustXAdapter', function () {
262262
'width': 300,
263263
'height': 250,
264264
'ad': '<div>test content 1</div>',
265-
'bidderCode': 'trustx',
266265
'currency': 'USD',
267266
'mediaType': 'banner',
268267
'netRevenue': true,
@@ -320,7 +319,6 @@ describe('TrustXAdapter', function () {
320319
'width': 300,
321320
'height': 250,
322321
'ad': '<div>test content 1</div>',
323-
'bidderCode': 'trustx',
324322
'currency': 'USD',
325323
'mediaType': 'banner',
326324
'netRevenue': true,
@@ -334,7 +332,6 @@ describe('TrustXAdapter', function () {
334332
'width': 300,
335333
'height': 600,
336334
'ad': '<div>test content 2</div>',
337-
'bidderCode': 'trustx',
338335
'currency': 'USD',
339336
'mediaType': 'banner',
340337
'netRevenue': true,
@@ -348,7 +345,6 @@ describe('TrustXAdapter', function () {
348345
'width': 728,
349346
'height': 90,
350347
'ad': '<div>test content 3</div>',
351-
'bidderCode': 'trustx',
352348
'currency': 'USD',
353349
'mediaType': 'banner',
354350
'netRevenue': true,
@@ -476,7 +472,6 @@ describe('TrustXAdapter', function () {
476472
'width': 300,
477473
'height': 250,
478474
'ad': '<div>test content 1</div>',
479-
'bidderCode': 'trustx',
480475
'currency': 'USD',
481476
'mediaType': 'banner',
482477
'netRevenue': true,
@@ -490,7 +485,6 @@ describe('TrustXAdapter', function () {
490485
'width': 300,
491486
'height': 600,
492487
'ad': '<div>test content 2</div>',
493-
'bidderCode': 'trustx',
494488
'currency': 'USD',
495489
'mediaType': 'banner',
496490
'netRevenue': true,
@@ -504,7 +498,6 @@ describe('TrustXAdapter', function () {
504498
'width': 728,
505499
'height': 90,
506500
'ad': '<div>test content 3</div>',
507-
'bidderCode': 'trustx',
508501
'currency': 'USD',
509502
'mediaType': 'banner',
510503
'netRevenue': true,
@@ -518,7 +511,6 @@ describe('TrustXAdapter', function () {
518511
'width': 300,
519512
'height': 600,
520513
'ad': '<div>test content 4</div>',
521-
'bidderCode': 'trustx',
522514
'currency': 'USD',
523515
'mediaType': 'banner',
524516
'netRevenue': true,
@@ -580,7 +572,6 @@ describe('TrustXAdapter', function () {
580572
'width': 300,
581573
'height': 250,
582574
'ad': '<div>test content 1</div>',
583-
'bidderCode': 'trustx',
584575
'currency': 'USD',
585576
'mediaType': 'banner',
586577
'netRevenue': true,
@@ -594,7 +585,6 @@ describe('TrustXAdapter', function () {
594585
'width': 300,
595586
'height': 250,
596587
'ad': '<div>test content 2</div>',
597-
'bidderCode': 'trustx',
598588
'currency': 'USD',
599589
'mediaType': 'banner',
600590
'netRevenue': true,
@@ -655,7 +645,6 @@ describe('TrustXAdapter', function () {
655645
'dealId': undefined,
656646
'width': 300,
657647
'height': 600,
658-
'bidderCode': 'trustx',
659648
'currency': 'USD',
660649
'mediaType': 'video',
661650
'netRevenue': true,
@@ -735,7 +724,6 @@ describe('TrustXAdapter', function () {
735724
'dealId': undefined,
736725
'width': 300,
737726
'height': 600,
738-
'bidderCode': 'trustx',
739727
'currency': 'USD',
740728
'mediaType': 'video',
741729
'netRevenue': true,
@@ -753,7 +741,6 @@ describe('TrustXAdapter', function () {
753741
'dealId': undefined,
754742
'width': 300,
755743
'height': 250,
756-
'bidderCode': 'trustx',
757744
'currency': 'USD',
758745
'mediaType': 'video',
759746
'netRevenue': true,
@@ -771,7 +758,6 @@ describe('TrustXAdapter', function () {
771758
'dealId': undefined,
772759
'width': 300,
773760
'height': 250,
774-
'bidderCode': 'trustx',
775761
'currency': 'USD',
776762
'mediaType': 'video',
777763
'netRevenue': true,

0 commit comments

Comments
 (0)