This page covers data collection for the Media feed type variable. See Media feed type for the corresponding reporting dimension.
The media feed type variable identifies the broadcast feed (for example, "East-HD", "West-SD", or "4K"). Use it when the same content is delivered through multiple regional or quality feeds and engagement needs to be broken out per feed.
a.media.feedc_contextdata.a.media.feedRecommended implementation types
Set feed inside xdm.mediaCollection.sessionDetails when calling sendEvent:
| code language-javascript |
|---|
|
Pass the feed type as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.MEDIA_FEED.
| code language-swift |
|---|
|
Pass the feed type as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.MEDIA_FEED.
| code language-kotlin |
|---|
|
Use createMediaSession to set feed inside sessionDetails:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with feed inside xdm.mediaCollection.sessionDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass the feed in the contextData object using ADB.Media.VideoMetadataKeys.Feed:
| code language-javascript |
|---|
|
Use ADBMobile.media.VideoMetadataKeys.FEED to set the media feed type in the StandardMediaMetadata property of the media object before calling trackSessionStart:
| code language-javascript |
|---|
|
Include media.feed in the params object:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.