Skip to content

docs for gzip support for bid requests#6011

Merged
pm-harshad-mane merged 5 commits into
prebid:masterfrom
jlquaccia:docs_for_gzip_support_for_bid_requests
May 22, 2025
Merged

docs for gzip support for bid requests#6011
pm-harshad-mane merged 5 commits into
prebid:masterfrom
jlquaccia:docs_for_gzip_support_for_bid_requests

Conversation

@jlquaccia
Copy link
Copy Markdown
Contributor

Adds documentation for the PBJS endpointCompression bidderSettings feature. This feature allows Publishers to optionally enables bid requests to be Gzip compressed before being sent out to bid adapter endpoints.

🏷 Type of documentation

  • new feature

📋 Checklist

GH Issue: prebid/Prebid.js#12973
PR: prebid/Prebid.js#13033

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 25, 2025

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 3e9277c
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/682e5628373c8f00080365b8
😎 Deploy Preview https://deploy-preview-6011--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread dev-docs/publisher-api-reference/bidderSettings.md Outdated
@jlquaccia jlquaccia force-pushed the docs_for_gzip_support_for_bid_requests branch from 3bf32b1 to c552e6d Compare May 9, 2025 22:07
Copy link
Copy Markdown
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Waiting for the change to be merged and released, then we can merge this.

Comment thread dev-docs/bidder-adaptor.md Outdated

#### Compression Support for Outgoing Requests

Prebid.js core now includes support for gzip compression of bidder request payloads (This can help reduce payload size and improve performance).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This can help reduce payload" ---> "This helps reduce payload"

Comment thread dev-docs/bidder-adaptor.md Outdated

The following criteria must be met for a request to be compressed:

* Browser supports gzip compression
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should calrify that browser compatability check is conducted by prebid core/util

Comment thread dev-docs/bidder-adaptor.md Outdated
* Participating bidders have enabled compression support within their bid adapter by updating their outgoing bidder requests to include `request.options.endpointCompression = true`
* Participating bidders have implemented compression support on their server-side endpoint

If the above criteria is met, Prebid core will automatically compress outgoing data payloads.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prebid will pass the compressed payload if request.options.endpointCompression = true is set by bidder and browser is compatible

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can even mention that PubMatic bidder already utilizes this feature, refer the code.

@pm-harshad-mane pm-harshad-mane merged commit 2641987 into prebid:master May 22, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants