From 017906efa119d91fde695317d6f48c09db7db628 Mon Sep 17 00:00:00 2001 From: Filip Stamenkovic Date: Wed, 25 Mar 2026 17:58:00 +0100 Subject: [PATCH 1/2] enable compression --- dev-docs/bidders/showheroes-bs.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dev-docs/bidders/showheroes-bs.md b/dev-docs/bidders/showheroes-bs.md index d8c298a88a..58af943919 100644 --- a/dev-docs/bidders/showheroes-bs.md +++ b/dev-docs/bidders/showheroes-bs.md @@ -15,6 +15,7 @@ fpd_supported: true multiformat_supported: will-bid-on-one sidebarType: 1 pbs: true +endpoint_compression: true --- @@ -195,3 +196,22 @@ pbjs.que.push(function () { ``` You can use this example and place in the `hello_world` gpt integration test page + +### Endpoint Compression + +This adapter utilizes gzip compression support built into Prebid.js core. For more information, see [Compression Support for Outgoing Requests](https://docs.prebid.org/dev-docs/bidder-adaptor.html#compression-support-for-outgoing-requests) + +#### Disabling Compression + +You can disable gzip compression at the bidder level using `pbjs.setBidderConfig`. Set the `gzipEnabled` value to false: + +```javascript +pbjs.que.push(function () { + pbjs.setBidderConfig({ + bidders: ['showheroes'], + config: { + gzipEnabled: false + } + }); +}); +``` From 3d78e14e4451a5c1880ccf95eb688680f24334b2 Mon Sep 17 00:00:00 2001 From: Filip Stamenkovic Date: Wed, 25 Mar 2026 18:05:38 +0100 Subject: [PATCH 2/2] lint fixes --- dev-docs/bidders/showheroes-bs.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/dev-docs/bidders/showheroes-bs.md b/dev-docs/bidders/showheroes-bs.md index 58af943919..5bad31a1a4 100644 --- a/dev-docs/bidders/showheroes-bs.md +++ b/dev-docs/bidders/showheroes-bs.md @@ -20,22 +20,23 @@ endpoint_compression: true -### bid params +## bid params {: .table .table-bordered .table-striped } + | Name | Scope | Description | Example | Type | |-------------|----------------------------------|-------------------------------------|------------------------------------------|-----------| -| `unitId` | required | ShowHeroes MAX unit ID | `'1234abcd-5678efgh'` | `string` | +| `unitId` | required | ShowHeroes MAX unit ID | `'1234abcd-5678efgh'` | `string` | All other parameters should be sent inside openRTB request. -### openRTB2 support +## openRTB2 support {: .alert.alert-danger :} Starting with Prebid.js version 9.18 ShowHeores bidder adapter is requesting bids via openRTB protocol. Publishers can use the `ortb2` method of setting [First Party Data](https://docs.prebid.org/features/firstPartyData.html). Bidder supports all first-party data fields: site, user, segments, and imp-level first-party data. -### testing +## testing While developing or testing locally, you can request a test request by marking the openRTB as a test. To do that specifically for `showheroes-Bs` you can do: @@ -57,7 +58,7 @@ Or, more easily you can mark the whole request as a test request by doing: pbjs.setConfig({ortb2: {test: 1}}) ``` -#### Prebid Server Test Request +### Prebid Server Test Request To verify that the Prebid Server is working properly with the server-side `Showheroes` adapter a `test` property can be utilized. @@ -78,7 +79,7 @@ To verify that the Prebid Server is working properly with the server-side `Showh } ``` -#### Outstream +### Outstream Example of adunit configuration for the outstream unit: @@ -122,7 +123,7 @@ pbjs.que.push(function () { You could use this example and place it in .html example pages inside the Prebid.js repository. -#### instream +### instream Example of adunit configuration for the instream unit: @@ -165,7 +166,7 @@ pbjs.que.push(function(){ You could use this example and place it in the `test/pages/instream.html` example page inside the Prebid.js repository. -#### banner +### banner Example of adunit configuration for banner ads: @@ -197,11 +198,11 @@ pbjs.que.push(function () { You can use this example and place in the `hello_world` gpt integration test page -### Endpoint Compression +## Endpoint Compression This adapter utilizes gzip compression support built into Prebid.js core. For more information, see [Compression Support for Outgoing Requests](https://docs.prebid.org/dev-docs/bidder-adaptor.html#compression-support-for-outgoing-requests) -#### Disabling Compression +### Disabling Compression You can disable gzip compression at the bidder level using `pbjs.setBidderConfig`. Set the `gzipEnabled` value to false: