Implement Fluid Ad Server

Document image


Ad Request/Response Protocol

The Pentaleap Fluid Relevancy Engine is an adserver API is used to request and receive ads from connected demand sources.

Ad unit IDs are provided to you from your own Publisher Manager UI. Page context is passed by sharing information such as organic products, search queries and categories as relevant; you may also specify additional products and categories to be in scope for sponsorship.

Multiple Ad Units can be called in a single request, and Sponsored Product and Display/Sponsored Brand-type units are also called in the same request format.

For full specification, please check out the API specifications with examples for Sponsored Products and Display Ads in the respective sections.

IMPORTANT: Please check out the Adserver FAQ section to understand some common behaviours and rules of the ad response.

Sample request structure - the response includes both Sponsored Product and Display ads:

JS


The response returns sponsored and in some cases organic content to be rendered, plus additional information required for rendering and reporting.

Sample response:

JS