Skip to content

Commit d47b9e9

Browse files
Showheroes Bid Adapter: enable gzip compression (#6504)
* enable compression * lint fixes
1 parent b200cd3 commit d47b9e9

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

dev-docs/bidders/showheroes.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ fpd_supported: true
1515
multiformat_supported: will-bid-on-one
1616
sidebarType: 1
1717
pbs: true
18+
endpoint_compression: true
1819
---
1920

2021
{: .alert.alert-danger :}
@@ -197,3 +198,22 @@ pbjs.que.push(function () {
197198
```
198199

199200
You can use this example and place in the `hello_world` gpt integration test page
201+
202+
## Endpoint Compression
203+
204+
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)
205+
206+
### Disabling Compression
207+
208+
You can disable gzip compression at the bidder level using `pbjs.setBidderConfig`. Set the `gzipEnabled` value to false:
209+
210+
```javascript
211+
pbjs.que.push(function () {
212+
pbjs.setBidderConfig({
213+
bidders: ['showheroes'],
214+
config: {
215+
gzipEnabled: false
216+
}
217+
});
218+
});
219+
```

0 commit comments

Comments
 (0)