Creative Instance Metrics API v4

Introduction

Creative Instance Metrics enable you to specify the third-party URLs to notify of specific ad events.

You can use this API to:

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

📘

Note

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

Resources

URIs ¶

EnvironmentURI
Staging Instancehttps://api.stg.freewheel.tv/services/v4/creative_instances/{creative_instance_id}/creative_metrics
Production Instancehttps://api.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
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.
event_typestringYesInput for this attribute can effect the name default value. See event_type Input Settings below.
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