This page covers data collection for the Show type variable. See Show type for the corresponding reporting dimension.
The show type variable identifies the content format using a string integer code:
"0": Full episode"1": Preview or trailer"2": Clip"3": Other
Use it to separate full-program viewing from short-form content like trailers and clips when measuring engagement.
| Property | Value |
|---|---|
| Context data variable | a.media.type |
| XDM collection field | xdm.mediaCollection.sessionDetails.showType |
| Audience Manager trait | c_contextdata.a.media.type |
| Required | No |
| Sent with | Session start, session close |
Recommended implementation types
Set showType inside xdm.mediaCollection.sessionDetails when calling sendEvent:
Pass the show type as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.SHOW_TYPE.
Pass the show type as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.SHOW_TYPE.
Use createMediaSession to set showType inside sessionDetails:
Call the sessionStart endpoint with showType inside xdm.mediaCollection.sessionDetails:
Legacy implementation types (Analytics-only)
Pass the show type in the contextData object using ADB.Media.VideoMetadataKeys.ShowType:
Use ADBMobile.media.VideoMetadataKeys.SHOW_TYPE to set the show type in the StandardMediaMetadata property of the media object before calling trackSessionStart:
Use MEDIA_VideoMetadataKeySHOW_TYPE to set the show type in the standard metadata of the media object before calling mediaTrackSessionStart:
Include media.showType in the params object:
See the Media Collection API sessions reference for the full request structure.
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe CX Analytics Portfolio Roadmap Webinar - Americas & EMEA
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.
Adobe CX Analytics Portfolio Roadmap Webinar - Americas & APAC
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.