Skip to content

Commit

Permalink
IX Bid Adapter: added trustpid.com support and removed a few user pro…
Browse files Browse the repository at this point in the history
…viders (#8012)

* added trustpid.com support and removed few user providers in diagnostics

* small syntax fix

* Fixed Test after removing lotamePanoramaId in diag in IX adapter
  • Loading branch information
li-ran authored Feb 7, 2022
1 parent cc4ff61 commit 07691ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions modules/ixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,18 @@ const SOURCE_RTI_MAPPING = {
'crwdcntrl.net': '', // Lotame Panorama ID, lotamePanoramaId
'epsilon.com': '', // Publisher Link, publinkId
'audigent.com': '', // Halo ID from Audigent, haloId
'pubcid.org': '' // SharedID, pubcid
'pubcid.org': '', // SharedID, pubcid
'trustpid.com': '' // Trustpid
};
const PROVIDERS = [
'britepoolid',
'id5id',
'lipbid',
'haloId',
'criteoId',
'lotamePanoramaId',
'merkleId',
'parrableId',
'connectid',
'tapadId',
'quantcastId',
'pubcid',
'TDID',
'flocId',
'pubProvidedId'
];
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/ixBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ describe('IndexexchangeAdapter', function () {
const r = JSON.parse(request.data.r);

expect(r.ext.ixdiag.userIds).to.be.an('array');
expect(r.ext.ixdiag.userIds.should.include('lotamePanoramaId'));
expect(r.ext.ixdiag.userIds.should.not.include('lotamePanoramaId'));
expect(r.ext.ixdiag.userIds.should.not.include('merkleId'));
expect(r.ext.ixdiag.userIds.should.not.include('parrableId'));
});
Expand Down

0 comments on commit 07691ce

Please sign in to comment.