Saltar al contenido principal
POST
Consume

Autorizaciones

X-API-Key
string
header
requerido

Partner API key (ck_…). Created by Interactive Layers; shown only once.

Parámetros de ruta

playback_id
string
requerido
opportunity_id
string
requerido

Respuesta

Successful Response

eligible
boolean
requerido
reason
string
requerido

Why the break is or is not eligible. Playbacks with routing steps can also answer requested (iADServer step), steps_exhausted (no askable step left), steps_changed (on /next: the project's lists were edited and after_step is no longer the step asked), midroll_disabled (no mid-roll steps), preroll_disabled (no pre-roll steps) and gam_disconnected. context.skipped_steps lists each skipped step with its reason: covered_by_contextual, no_linked_campaigns, profile_unavailable, no_scene_at_preroll, iadserver_unavailable, iadserver_refused or a scene reason.

context
Context · object | null
ad_tag_url
string | null

Opaque VAST URL to fetch exactly as given. On a playback created with graphics, an iADServer step with a tag answers its permanent tag with sid set to the plan's commerce.session and a correlator kept for this break: do not add, change or remove sid or correlator; a repeated fetch returns the same delivery.

router_id
string | null
provider
string | null
ticket
string | null
attempt_id
string | null
expires_at
number | null
status
string | null
step
integer | null

Index, from 0, of the step that answered. Only on playbacks with routing steps.

steps_left
integer | null

Steps after this one in the moment's list. 0 when no other step can be asked. Only on playbacks with routing steps.

kind
enum<string> | null

Kind of the step that answered, contextual or common. Only on playbacks with routing steps.

Opciones disponibles:
contextual,
common
connection_id
string | null

Ad-server connection of the step that answered. Only on playbacks with routing steps.

ad_profile_id
string | null

Ad profile of the step that answered. Only on playbacks with routing steps.