This page covers data collection for the Authorized variable. See Authorized for the corresponding reporting metric.
The authorized variable flags a session whose user has been authorized through Adobe Pass / TV-Everywhere. Set it to "TRUE" when authorization is confirmed; leave it unset otherwise. Pair with MVPD to break out authentication by provider.
a.media.pass.authc_contextdata.a.media.pass.authRecommended implementation types
Set authorized inside xdm.mediaCollection.sessionDetails when calling sendEvent:
| code language-javascript |
|---|
|
Pass the authorized flag as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.AUTHORIZED.
| code language-swift |
|---|
|
Pass the authorized flag as a metadata key in the HashMap argument to trackSessionStart. Use MediaConstants.VideoMetadataKeys.AUTHORIZED.
| code language-kotlin |
|---|
|
Use createMediaSession to set authorized inside sessionDetails:
| code language-brightscript |
|---|
|
Call the sessionStart endpoint with authorized inside xdm.mediaCollection.sessionDetails:
| code language-json |
|---|
|
Legacy implementation types (Analytics-only)
Pass the authorized flag in the contextData object using ADB.Media.VideoMetadataKeys.Authorized:
| code language-javascript |
|---|
|
Use ADBMobile.media.VideoMetadataKeys.AUTHORIZED to set the authorized flag in the StandardMediaMetadata property of the media object before calling trackSessionStart:
| code language-javascript |
|---|
|
Include media.pass.auth in the params object:
| code language-json |
|---|
|
See the Media Collection API sessions reference for the full request structure.