You are here: Demand Partners > Real-time bidding > OpenRTB API > HTTP headers - OpenRTB

HTTP headers - OpenRTB

Last updated on August 23, 2016

Ad Exchange sets the following additional HTTP headers in each bid requestWhen OpenX Ad Exchange receives an ad request, it sends a communication containing details about the impression to selected real-time bidders to solicit bids for it.:

Header type


X-OpenX-Id Contains the value of id in the User object of the bid request
X-OpenX-RtbReal-time bidding, auctioning online inventory within an ad exchange. Buyers bid for the impression based on the value of the user, whereas the seller sets pricing floors and awards the impression to the highest bidder. The auction process takes place in milliseconds, which is why the process is referred to as “real-time.” Contains the value of buyeruid or customdata in the User object of the bid request
x-openrtb-version Contains the OpenRTB version of the bid request, such as "2.3"
Content-Encoding Indicates the request's compression method (if any), such as "gzip"

Note: This header (if populated) indicates that the request will need to be decompressed and the type of compression used.

Accept-Encoding Indicates the accepted options of compression in bid responses, such as "gzip"

Note: Compressed responses are not required.

Feedback form