This page covers data collection for the Show variable. See Show for the corresponding reporting dimension.
The show variable is the program or series name (for example, "Blinding Light" or "Coastline Mysteries"). Set it on every session whose content belongs to a series so that episodes across multiple seasons roll up to a single line item in the Show dimension. Leave it unset for one-off content that is not part of a series.
a.media.showc_contextdata.a.media.showRecommended implementation types
Set show inside xdm.mediaCollection.sessionDetails when calling sendEvent:
| code language-javascript |
|---|
|
Pass the show name as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.SHOW.
| code language-swift |
|---|
|
Pass the show name as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.SHOW.
| code language-kotlin |
|---|
|
Use createMediaSession to set show inside sessionDetails:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with show inside xdm.mediaCollection.sessionDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass the show name in the contextData object using ADB.Media.VideoMetadataKeys.Show:
| code language-javascript |
|---|
|
Use ADBMobile.media.VideoMetadataKeys.SHOW to set the show name in the StandardMediaMetadata property of the media object before calling trackSessionStart:
| code language-javascript |
|---|
|
Include media.show in the params object of your sessionStart POST request:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.