GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

Events - Ads

Use this reference to interpret ad-related events provided using the Experiences SDK onEventTriggered callback. It lists the ad event structure and explains each event_action and its associated values.

Events have the structure outlined in the table that follows.

  • There are three ad types: Ad, Banner, and IMA.

Table structure

  • Field: The field name.
  • Field data: For fields with a variant type, this column specifies the name of the field data within the variant
  • Type: The type of the field or field data (if the field is a variant). Possible types include Number, Varchar, or Boolean.
  • Example: A sample value or instance of the field.
  • Description: An explanation of the field's meaning, if necessary.
  • From version: The SDK version from which this field started being reported.
  • web/mobile: Indicates whether the field reports data only when a viewer is on web ("web"), mobile ("mobile"), or both (no entry).
  • Options: Lists possible values for the field if it has a finite set of options.

Ads events

FieldField dataTypeExampleDescriptionFrom versionweb/mobileOptions
Ad (Variant)ad_idVarchar6733773748Ad unique id
Ad (Variant)ad_titleVarchartelefonica_ucl
Ad (Variant)ad_indexNumber22
Ad (Variant)ad_systemVarcharGDFP
Ad (Variant)ad_descriptionVarchartelefonica_ucl ad
Ad (Variant)ad_pathVarchar182539303/hotstar
Ad (Variant)ad_durationNumber15
Ad (Variant)ad_duration_viewed_percentNumber58Percentage of the video duration that the user watched
Ad (Variant)ad_start_triggerVarcharWidgetMethod by which the user accessed the adWidget, "", null

In the table below, you'll find descriptions for each event_action, along with indicators showing whether the event_action reports a specific field (fields from the Ad variant only).

  • Note, that each event_action reports not only the fields listed in the table below, but also all generic fields, as described on the events page.

event_actionad_viewad_clickad_exitad_playback_pausead_forced_playback_pausead_playback_playad_forced_playback_playbanner_ad_viewbanner_ad_loadbanner_ad_clickima_all_ads_completedima_ad_clickedima_ad_completedima_ad_loadedima_ad_pausedima_ad_resumedima_ad_skippedima_ad_startedima_ad_tappedima_ad_first_quartileima_ad_midpointima_ad_third_quartile
DescriptionThis event will triggered when the user viewed the ad contentThis event will triggered when the user clicked on the ad contentThis event will triggered when the user exited the ad contentThis event will triggered when the click on the pause button (for video format ads)This event will triggered when the click on the play button (for video format ads)This event will triggered when the user viewed the ad contentThis event will triggered when the request was fulfilled and the ad server return a valid adThis event will triggered when the user clicked on the ad content
ad_idVVVVVVVVVVVV
ad_titleVVVVVVVVVVVV
ad_indexVVVVVVVVVVVVVVVVVVV
ad_systemVVVVVVVVVVVV
ad_descriptionVVVVVVVVVVVV
ad_pathVVV
ad_durationVVVVVVVVVVVVVVV
ad_duration_viewed_percentVVV
ad_start_triggerVVVVVVVVVVVVV
ad_exit_triggerVVVVVVVVVVVVV
session_idVVVVVVVVVVVVVVVVVVVVVV
advertiser_idVVVVVVVVVVVVVVVVVVV
advertiser_nameVVVVVVVVVVVVVVVVVVV
content_typeVVVVVVVVVVVVVVVVVVVV
story_idVVVVVVVVVVVVVVVVVVVVVV
story_titleVVVVVVVVVVVVVVVVVVVVVV
moment_idVVVVVVVVVVVVVVVVVVVVVV
moment_titleVVVVVVVVVVVVVVVVVVVVVV
skippableVVVVVVVVVVVV
skip_time_offsetVVVVVVVVVVVV
audio_stateVVVVVVVVVVVVVVVVVVV
playback_action_methodVVVVVVVVVVVVVV

Did this page help you?