Creative Instance Metrics API V4

Overview

The Creative Instance Metrics API V4 enables users to specify third-party URLs, enabling notifications of specific ad events.

Use the Creative Instance Metrics API V4 to:

  • Create creative instance metrics
  • Update creative instance metrics
  • Delete creative instance metrics

πŸ“˜

NOTE

If you cannot configure multiple third-party tracking URLs at the network level, contact your account team.

Uniform Resource Identifiers (URI)

EnvironmentURI
Productionhttps://api.freewheel.tv/services/v4/creative_instances/{creative_instance_id}/creative_metrics
Staginghttps://api.stg.freewheel.tv/services/v4/creative_instances/{creative_instance_id}/creative_metrics

Attributes

The requirements of some of the attributes below change based on the settings of other attributes. For example, the input for the event_type attribute can affect the name default value. See event_type Input Settings.

ParameterValueRequired?Notes
event_typestringYesInput for this attribute can affect the name default value. See the table below.
namestringYes, if event_type input is CUSTOM_CLICK or CUSTOM_COUNTER.If event_type is not CUSTOM_CLICK or CUSTOM_COUNTER, the name default value is set according to the event_type input. See event_type Input Settings below.
urlstringNoNo default value is set.
tracking_provider_idintegerNoNo default value is set.
is_click_throughbooleanYes, If event_type input is DEFAULT_CLICK_ALL_PLATFORMSIf event_type is set as DEFAULT_CLICK_NON_MOBILE or DEFAULT_CLICK_MOBILE, is_click_through defaults as true.

For other event types, the is_click_through default value as false.

event_type Input Settings

The input for the event_type attribute can effect the name default value. See below.

event_type Inputname (required or default)
DEFAULT_IMPRESSION_TRACKERSet default as defaultImpression
DEFAULT_CLICK_ALL_PLATFORMSSet default as defaultClick
DEFAULT_CLICK_NON_MOBILESet default as defaultClick
DEFAULT_CLICK_MOBILESet default as defaultClick
CUSTOM_CLICKName is required.
CUSTOM_COUNTERName is required.
SURVEYSet default as survey
QUARTER_VIEWED_TRACKERSet default as β€œfirstQuartile
HALF_VIEWED_TRACKERSet default as midPoint
THREE_QUARTER_VIEWED_TRACKERSet default as thirdQuartile
COMPLETESet default as complete