Data Compression (gzip)

circle-exclamation

It is mandatory to use Compressed JSON to reduce the amount of data exchanged between you and Adagio, as this decreases latency times between servers, and traffic listening costs for all parties involved.

Configure compressed JSON bid requests and enable compressed responses:

1

Compress your HTTP request body with gzip

2

Add a Content-Encoding: gzip HTTP header to indicate that the request is compressed

3

Add an Accept-Encoding: gzip header to indicate that you can accept a compressed response

circle-info

Bid responses include a Content-Encoding: gzip HTTP header to indicate compression. To distinguish between JSON and Compressed JSON formats, check for this header. If present, decompress the HTTP body before processing.

Last updated

Was this helpful?