Skip to content

Commit 78a27e7

Browse files
TRUSTX Bid Adapter: initial release (#14218)
* TRUSTX Bidder Adapter * Remove trustx alias in favor of standalone adapter Remove trustx alias from grid adapter as a new standalone trustx adapter is being introduced. Keeping the alias would cause conflicts when both adapters are present in the same Prebid.js build. * Update default ttl and usync delete url * Align docs/tests with param type * Refactor duplicate code patterns * refactor & simplify adapter - Remove localStorage user ID handling (using Prebid User ID modules) - Remove onDataDeletionRequest (not needed) - Remove custom keywords processing - Remove unused utility imports - Update doc overview * Fix linter error --------- Co-authored-by: Patrick McCann <[email protected]>
1 parent 3f78470 commit 78a27e7

File tree

4 files changed

+1867
-8
lines changed

4 files changed

+1867
-8
lines changed

modules/gridBidAdapter.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ const LOG_ERROR_MESS = {
4747
};
4848

4949
const ALIAS_CONFIG = {
50-
'trustx': {
51-
endpoint: 'https://grid.bidswitch.net/hbjson?sp=trustx',
52-
syncurl: 'https://x.bidswitch.net/sync?ssp=themediagrid',
53-
bidResponseExternal: {
54-
netRevenue: false
55-
}
56-
},
5750
'gridNM': {
5851
defaultParams: {
5952
multiRequest: true
@@ -66,7 +59,7 @@ let hasSynced = false;
6659
export const spec = {
6760
code: BIDDER_CODE,
6861
gvlid: GVLID,
69-
aliases: ['playwire', 'adlivetech', 'gridNM', { code: 'trustx', skipPbsAliasing: true }],
62+
aliases: ['playwire', 'adlivetech', 'gridNM'],
7063
supportedMediaTypes: [ BANNER, VIDEO ],
7164
/**
7265
* Determines whether or not the given bid request is valid.

0 commit comments

Comments
 (0)