The Ad Serving API offers media owners a RESTful HTTP interface, enabling them to request ads, receive ad responses, and report proof of plays (PoPs).
Request
Call the API to request an ad. This informs LynxSSP that an ad space is available and ready to be filled.
For development or testing purposes, please refer to our Sandbox Environment Documentation (See Sandbox Environment ↗) to simulate API requests without affecting production data.
Request Body Parameter
Request Query Parameter
Request Body
The VAST tag includes both tracking event URLs and an impression URL. These URLs must be triggered (fired) by your player in order for impressions and tracking events to be properly recorded on our side.
Empty Response
HTTP Status Code: 204 No Content
In some scenarios, the ad request endpoint may return a successful response with no body content. This typically indicates that:
- The request was valid and processed successfully.
- However, there are no ads to return based on the given parameters or request context.