From 012a8813cd16f9b04ab26aa323fa915e200a4459 Mon Sep 17 00:00:00 2001 From: trustXops Date: Wed, 26 Nov 2025 14:10:46 +0100 Subject: [PATCH 1/5] TrustX Adapter: Update documentation Update TrustX adapter documentation to reflect standalone adapter: - Remove grid alias and GDPR fields - Add secid, currency, and test parameters - Update FPD supported fields --- dev-docs/bidders/trustx.md | 39 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/dev-docs/bidders/trustx.md b/dev-docs/bidders/trustx.md index 05ac4e2976..748dee1570 100644 --- a/dev-docs/bidders/trustx.md +++ b/dev-docs/bidders/trustx.md @@ -5,19 +5,14 @@ description: Prebid TrustX Bidder Adaptor pbjs: true pbs: true biddercode: trustx -aliasCode: grid media_types: banner, video multiformat_supported: will-bid-on-any -gvl_id: 686 (grid) -tcfeu_supported: true usp_supported: true schain_supported: true floors_supported: true userIds: all -tcf2_supported: true coppa_supported: true fpd_supported: true -pbjs_version_notes: 7.0 and after sidebarType: 1 --- @@ -28,16 +23,19 @@ sidebarType: 1 - [Bidder Config](#bidder-config) - [First Party Data](#first-party-data) - - ### Bid Params {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|----------------------------------------------------------------------------------------------------------|-------------------------------------------|-----------| -| `uid` | required | Represents the TrustX bidder system Ad Slot ID associated with the respective div id from the site page. | `42` | `integer` | -| `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | +| `uid` | required | Represents the TrustX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | +| `secid` | required | Alternative to `uid`. Represents the TrustX bidder system Ad Slot ID. | `42` | `string` | | `bidFloor` | optional | Floor of the impression opportunity. If present in the request overrides XML info. | `0.8` | `float` | +| `currency` | optional | Currency for bid floor. Defaults to `USD`. | `USD` | `string` | +| `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | +| `test` | optional | Enable test mode to receive test creatives without real placements. | `true` | `boolean` | + +**Note:** Either `uid` or `secid` is required. The adapter also supports Prebid's Floor Module via `getFloor()` function. Parameter `keywords` must have following format: @@ -63,8 +61,6 @@ Parameter `keywords` must have following format: } ``` - - ### Bidder Config You can allow writing in localStorage `pbjs.setBidderConfig` for the bidder `trustx` @@ -78,20 +74,7 @@ pbjs.setBidderConfig({ }) ``` -If it will be "true" this allow TheMediaGrid Bid Adapter to write userId in first party localStorage - -If you want to make alias on TrustX Bid Adapter, you must set `forceBidderName` in bidderConfig as `"trustx"`. - -```javascript -pbjs.setBidderConfig({ - bidders: ["aliasName"], - config: { - forceBidderName: 'trustx' - } -}) -``` - - +If it will be "true" this allows TRUSTX Bid Adapter to write userId in first party localStorage ### First Party Data @@ -106,6 +89,12 @@ Global site or user data using `setConfig()`, or Bidder-specific using `setBidde - `ortb2.site.cat[]`: Standard IAB OpenRTB 2.5 site.cat field. It will be sent as part of site.cat array - `ortb2.site.pagecat[]`: Standard IAB OpenRTB 2.5 site.pagecat field. It will be sent as part of site.cat array - `ortb2.site.content.genre`: Standard IAB OpenRTB 2.5 site.content.genre field +- `ortb2.site.content.data[]`: Standard IAB OpenRTB 2.5 site.content.data field +- `ortb2.site.content.id`: Standard IAB OpenRTB 2.5 site.content.id field +- `ortb2.site.content.title`: Standard IAB OpenRTB 2.5 site.content.title field +- `ortb2.source.tid`: Transaction ID from source +- `ortb2.source.ext.schain`: Supply chain object +- `ortb2.regs.ext.dsa`: Digital Services Act (DSA) data AdUnit-specific data using `AdUnit.ortb2Imp` supports following fields: From e50af81710a742ac5cf9a4de14861ab13885fe5c Mon Sep 17 00:00:00 2001 From: trustXops Date: Wed, 26 Nov 2025 14:34:51 +0100 Subject: [PATCH 2/5] Update required fields/notes --- dev-docs/bidders/trustx.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev-docs/bidders/trustx.md b/dev-docs/bidders/trustx.md index 748dee1570..f04f1beff9 100644 --- a/dev-docs/bidders/trustx.md +++ b/dev-docs/bidders/trustx.md @@ -28,14 +28,16 @@ sidebarType: 1 {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|----------------------------------------------------------------------------------------------------------|-------------------------------------------|-----------| -| `uid` | required | Represents the TrustX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | -| `secid` | required | Alternative to `uid`. Represents the TrustX bidder system Ad Slot ID. | `42` | `string` | +| `uid` | required* | Represents the TrustX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | +| `secid` | required* | Alternative to `uid`. Represents the TrustX bidder system Ad Slot ID. | `42` | `string` | | `bidFloor` | optional | Floor of the impression opportunity. If present in the request overrides XML info. | `0.8` | `float` | | `currency` | optional | Currency for bid floor. Defaults to `USD`. | `USD` | `string` | | `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | -| `test` | optional | Enable test mode to receive test creatives without real placements. | `true` | `boolean` | +| `test` | optional | Enable test mode to receive test creatives without real Ad Slots. | `true` | `boolean` | -**Note:** Either `uid` or `secid` is required. The adapter also supports Prebid's Floor Module via `getFloor()` function. +\* Either `uid` or `secid` is required (one of them must be provided). + +**Note:** The adapter also supports Prebid's Floor Module via `getFloor()` function. Parameter `keywords` must have following format: @@ -74,7 +76,7 @@ pbjs.setBidderConfig({ }) ``` -If it will be "true" this allows TRUSTX Bid Adapter to write userId in first party localStorage +If it will be "true" this allows TrustX Bid Adapter to write userId in first party localStorage ### First Party Data From 296af10a368e119b865b2e732938dd82ba28a194 Mon Sep 17 00:00:00 2001 From: trustXops Date: Wed, 26 Nov 2025 14:47:56 +0100 Subject: [PATCH 3/5] Update uid/secid notes --- dev-docs/bidders/trustx.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-docs/bidders/trustx.md b/dev-docs/bidders/trustx.md index f04f1beff9..c6744a9894 100644 --- a/dev-docs/bidders/trustx.md +++ b/dev-docs/bidders/trustx.md @@ -1,7 +1,7 @@ --- layout: bidder -title: TrustX -description: Prebid TrustX Bidder Adaptor +title: TRUSTX +description: Prebid TRUSTX Bidder Adapter pbjs: true pbs: true biddercode: trustx @@ -28,8 +28,8 @@ sidebarType: 1 {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|----------------------------------------------------------------------------------------------------------|-------------------------------------------|-----------| -| `uid` | required* | Represents the TrustX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | -| `secid` | required* | Alternative to `uid`. Represents the TrustX bidder system Ad Slot ID. | `42` | `string` | +| `uid` | required* | Represents the TRUSTX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | +| `secid` | required* | Alternative to `uid`. Represents the TRUSTX bidder system Ad Slot ID. | `42` | `string` | | `bidFloor` | optional | Floor of the impression opportunity. If present in the request overrides XML info. | `0.8` | `float` | | `currency` | optional | Currency for bid floor. Defaults to `USD`. | `USD` | `string` | | `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | @@ -76,7 +76,7 @@ pbjs.setBidderConfig({ }) ``` -If it will be "true" this allows TrustX Bid Adapter to write userId in first party localStorage +If it will be "true" this allows TRUSTX Bid Adapter to write userId in first party localStorage ### First Party Data From 90deeebc7b2207f53bded44613eea138aa2595ff Mon Sep 17 00:00:00 2001 From: trustXops Date: Wed, 26 Nov 2025 16:08:22 +0100 Subject: [PATCH 4/5] Define uid/secid as integer --- dev-docs/bidders/trustx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-docs/bidders/trustx.md b/dev-docs/bidders/trustx.md index c6744a9894..13a82918b2 100644 --- a/dev-docs/bidders/trustx.md +++ b/dev-docs/bidders/trustx.md @@ -28,8 +28,8 @@ sidebarType: 1 {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|----------------------------------------------------------------------------------------------------------|-------------------------------------------|-----------| -| `uid` | required* | Represents the TRUSTX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `string` | -| `secid` | required* | Alternative to `uid`. Represents the TRUSTX bidder system Ad Slot ID. | `42` | `string` | +| `uid` | required* | Represents the TRUSTX bidder system Ad Slot ID. Alternative to `secid`. | `42` | `integer` | +| `secid` | required* | Alternative to `uid`. Represents the TRUSTX bidder system Ad Slot ID. | `42` | `integer` | | `bidFloor` | optional | Floor of the impression opportunity. If present in the request overrides XML info. | `0.8` | `float` | | `currency` | optional | Currency for bid floor. Defaults to `USD`. | `USD` | `string` | | `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | From 6016f8d750c5343972cf40cd3e8d07993ebf731c Mon Sep 17 00:00:00 2001 From: trustXops Date: Fri, 5 Dec 2025 16:00:05 +0100 Subject: [PATCH 5/5] update adapter documentation - Remove localStorage/Bidder Config section - Remove keywords parameter and examples and references to ext.keywords - Update First Party Data field descriptions --- dev-docs/bidders/trustx.md | 49 ++++---------------------------------- 1 file changed, 4 insertions(+), 45 deletions(-) diff --git a/dev-docs/bidders/trustx.md b/dev-docs/bidders/trustx.md index 13a82918b2..dd89ded096 100644 --- a/dev-docs/bidders/trustx.md +++ b/dev-docs/bidders/trustx.md @@ -20,7 +20,6 @@ sidebarType: 1 - [Table of Contents](#table-of-contents) - [Bid Params](#bid-params) -- [Bidder Config](#bidder-config) - [First Party Data](#first-party-data) ### Bid Params @@ -32,52 +31,12 @@ sidebarType: 1 | `secid` | required* | Alternative to `uid`. Represents the TRUSTX bidder system Ad Slot ID. | `42` | `integer` | | `bidFloor` | optional | Floor of the impression opportunity. If present in the request overrides XML info. | `0.8` | `float` | | `currency` | optional | Currency for bid floor. Defaults to `USD`. | `USD` | `string` | -| `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Values can be empty. | `keywords: { topic: ['stress', 'fear'] }` | `object` | | `test` | optional | Enable test mode to receive test creatives without real Ad Slots. | `true` | `boolean` | \* Either `uid` or `secid` is required (one of them must be provided). **Note:** The adapter also supports Prebid's Floor Module via `getFloor()` function. -Parameter `keywords` must have following format: - -```javascript -{ - "site":{ - "publisher1":[ - { - "name":"SomeKeywordsBlockName", - "segment1Name":[ - "segment2Value" - ], - "segment2Name":[ - "segment2Value1", - "segment2Value2", - ... - ], - ... - } - ], - ... - } -} -``` - -### Bidder Config - -You can allow writing in localStorage `pbjs.setBidderConfig` for the bidder `trustx` - -```javascript -pbjs.setBidderConfig({ - bidders: ["trustx"], - config: { - localStorageWriteAllowed: true - } -}) -``` - -If it will be "true" this allows TRUSTX Bid Adapter to write userId in first party localStorage - ### First Party Data Publishers should use the `ortb2` method of setting [First Party Data](https://docs.prebid.org/features/firstPartyData.html). @@ -86,10 +45,10 @@ Global site or user data using `setConfig()`, or Bidder-specific using `setBidde - `ortb2.user.data[]`: Standard IAB segment taxonomy user data - `ortb2.user.ext.device`: Non standard arbitrary user device -- `ortb2.user.keywords`: Standard IAB OpenRTB 2.5 user.keywords field. It will be included in ext.keywords.user.ortb2 -- `ortb2.site.keywords`: Standard IAB OpenRTB 2.5 site.keywords field. It will be included in ext.keywords.site.ortb2 -- `ortb2.site.cat[]`: Standard IAB OpenRTB 2.5 site.cat field. It will be sent as part of site.cat array -- `ortb2.site.pagecat[]`: Standard IAB OpenRTB 2.5 site.pagecat field. It will be sent as part of site.cat array +- `ortb2.user.keywords`: Standard IAB OpenRTB 2.5 user.keywords field +- `ortb2.site.keywords`: Standard IAB OpenRTB 2.5 site.keywords field +- `ortb2.site.cat[]`: Standard IAB OpenRTB 2.5 site.cat field +- `ortb2.site.pagecat[]`: Standard IAB OpenRTB 2.5 site.pagecat field - `ortb2.site.content.genre`: Standard IAB OpenRTB 2.5 site.content.genre field - `ortb2.site.content.data[]`: Standard IAB OpenRTB 2.5 site.content.data field - `ortb2.site.content.id`: Standard IAB OpenRTB 2.5 site.content.id field