This page covers data collection for the Ad break start time variable. See Pod position for the corresponding reporting dimension.
The ad break start time variable is the offset of the ad break inside the content, measured in seconds. For a pre-roll the value is 0; for a mid-roll the value is the playhead position at which the break begins.
a.media.ad.podSecondc_contextdata.a.media.ad.podSecondRecommended implementation types
Set offset inside xdm.mediaCollection.advertisingPodDetails when calling sendEvent:
| code language-javascript |
|---|
|
Pass the start time in seconds as the third argument to createAdBreakObject.
| code language-swift |
|---|
|
Pass the start time in seconds as the third argument to createAdBreakObject.
| code language-kotlin |
|---|
|
Set offset inside xdm.mediaCollection.advertisingPodDetails when calling sendMediaEvent for media.adBreakStart:
| code language-brightscript |
|---|
|
Call the adBreakStart endpoint with offset inside xdm.mediaCollection.advertisingPodDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass the start time as the third argument to ADB.Media.createAdBreakObject:
| code language-javascript |
|---|
|
Pass the start time in seconds as the third argument to ADBMobile.media.createAdBreakObject:
| code language-javascript |
|---|
|
Include media.ad.podSecond in the params object of your adBreakStart POST request:
| code language-json |
|---|
|
See the Media Collection API events reference for the full request structure.