This page covers data collection for the First digital date variable. See First digital date for the corresponding reporting dimension.
The first digital date variable is the date the content first aired on any digital platform. Any date format is accepted but Adobe recommends YYYY-MM-DD for consistency. Use alongside First air date to compare digital release timing with original broadcast.
a.media.digitalDatec_contextdata.a.media.digitalDateRecommended implementation types
Set firstDigitalDate inside xdm.mediaCollection.sessionDetails when calling sendEvent:
| code language-javascript |
|---|
|
Pass the first digital date as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.FIRST_DIGITAL_DATE.
| code language-swift |
|---|
|
Pass the first digital date as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.FIRST_DIGITAL_DATE.
| code language-kotlin |
|---|
|
Use createMediaSession to set firstDigitalDate inside sessionDetails:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with firstDigitalDate inside xdm.mediaCollection.sessionDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass the first digital date in the contextData object using ADB.Media.VideoMetadataKeys.FirstDigitalDate:
| code language-javascript |
|---|
|
Use ADBMobile.media.VideoMetadataKeys.FIRST_DIGITAL_DATE to set the first digital date in the StandardMediaMetadata property of the media object before calling trackSessionStart:
| code language-javascript |
|---|
|
Include media.firstDigitalDate in the params object:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.