Default

Request an Ad

post

Request an advertisement based on the provided parameters. This endpoint returns targeted ads for specific placements, considering factors such as advertiser, template, user information, and targeting criteria like geography, location or custom filters. The ads delivered are optimized for relevance based on these inputs.

The simplest request includes only the placements key with one item:

POST /v0/decision

{
  "placements": [ { "key": "home" } ]
}
Header parameters
Accept-LanguagestringOptional

The Accept-Language header is an optional string that specifies the user's locale, used to determine the language of the ad creative that will be shown. If the locale is not supported or not provided, the ad creative will default to the language of the selected ad.

Supported languages include:

If the locale is provided in a regional format (e.g., en-US, fr-FR, es-ES, pt-PT, de-DE, it-IT, or nl-NL), it will be automatically converted to the ISO 639-1 standard (e.g., en, fr, es, pt, de, it, nl).

Example: en
Body
Responses
post
/v1/decision

Tracking

get

Records advertising events (impressions, clicks, views, video milestones) via an encrypted token. Validates and processes the event asynchronously, returning 202 Accepted immediately. Events include ad, creative, user, location, and metadata for analytics and reporting.

Query parameters
estringOptionalExample: <encrypted-payload>
Header parameters
X-Tracking-VersionstringOptionalExample: 2025-11-01
Responses
get
/v1/tracking

Last updated