Sweden SDK Metadata: Difference between revisions
From Engineering Client Portal
No edit summary |
|||
Line 16: | Line 16: | ||
|- | |- | ||
| type || || type of asset || "content" || ✓ | | type || || type of asset || "content" || ✓ | ||
|- | |||
| userid || || the user login ID. Used by MMS reach model. ''The uploaded value needs to be hashed with MD5''. || "5558a05a-83b4-4579-9e1c-99b211506c0b" || required if login feature | |||
|- | |- | ||
| assetid || Content ID, mms_tid || unique ID assigned to an asset within the same media house. || | | assetid || Content ID, mms_tid || unique ID assigned to an asset within the same media house. || | ||
Line 32: | Line 35: | ||
<small>'''Example:''' origcode=29 | <small>'''Example:''' origcode=29 | ||
See the complete list of channel reference library with the channel number on [https://mms.se/?page_id=108 MMS homepage] tab "referensbandade kanaler".</small> <br> <small>Please convert all JSON objects into strings.</small> | See the complete list of channel reference library with the channel number on [https://mms.se/?page_id=108 MMS homepage] tab "referensbandade kanaler".</small> <br> <small>Please convert all JSON objects into strings.</small> | ||
|| | || required for clients that have DAI service (Telia, Telenor, Allente, Comhem, Boxer, Sappa, Discovery, Cmore) | ||
|- | |- | ||
| program || Program Name, ns_st_pr || program name || '''custom''' '''example:''' leif-och-billy <br> | | program || Program Name, ns_st_pr || program name || '''custom''' '''example:''' leif-och-billy <br> | ||
Line 63: | Line 66: | ||
var contentMetadataObject = { | var contentMetadataObject = { | ||
type: "content", | type: "content", | ||
userid: "5558a05a-83b4-4579-9e1c-99b211506c0b", | |||
assetid: "simulcast_29", | assetid: "simulcast_29", | ||
length: "3359", | length: "3359", |
Revision as of 15:18, 20 July 2021
Digital Metadata
Digital Metadata can pass through key values using the Nielsen reserved keys. The keys and values are listed by the product below.
Section 1 focuses on the content metadata
Section 2 focuses on the Ad metadata.
Content Metadata
Nielsen Key | MMS Attribute Name, MMS Field Name | Description | Values | Required |
---|---|---|---|---|
type | type of asset | "content" | ✓ | |
userid | the user login ID. Used by MMS reach model. The uploaded value needs to be hashed with MD5. | "5558a05a-83b4-4579-9e1c-99b211506c0b" | required if login feature | |
assetid | Content ID, mms_tid | unique ID assigned to an asset within the same media house. |
For VoD use internal format. Length limit: 20 characters. No special characters |
✓ |
length | Clip Length, ns_st_cl | length of content in seconds | Length of content in seconds.
|
✓ |
clientpassparam | MMS Values, mms_values | pass-through parameters | For clients that provide DAI (dynamic ad insertion) service, this has a standard format: origcode=channelnumber.
Example: origcode=29
See the complete list of channel reference library with the channel number on MMS homepage tab "referensbandade kanaler". |
required for clients that have DAI service (Telia, Telenor, Allente, Comhem, Boxer, Sappa, Discovery, Cmore) |
program | Program Name, ns_st_pr | program name | custom example: leif-och-billy Leave blank for simulcast. |
✓ |
title | Episode Name, ns_st_ep | episode name | custom example: en-ny-tjej-i-byn Leave blank for simulcast. |
✓ |
playlisttitle | Title Playlist, ns_st_pl | playlist reference as a string | string value with playlist name for example: barn | |
ispremiumcontent | MMS Premium, mms_premium | identify premium level via yes or no | "yes" or "no" | ✓ |
isautoplay | Auto Start, mms_auto | identify if autoplay is enabled on the video | "yes" or "no" | ✓ |
plugv | Player Version, ns_st_mv | player version. increment by 1 for each new version. | alphanumeric example: 1.0.1 | ✓ |
playerv | Mediaplayer, ns_st_mp | player identifier | alphanumeric example: HTML5, JW Player, Sonic | ✓ |
Example of metadata object for content:
var contentMetadataObject = {
type: "content",
userid: "5558a05a-83b4-4579-9e1c-99b211506c0b",
assetid: "simulcast_29",
length: "3359",
clientpassparam: "origcode=29",
program: "leif-och-billy",
title: "en-ny-tjej-i-byn",
playlisttitle: "barn",
ispremiumcontent: "yes",
isautoplay: "yes",
plugv: "1.0.1",
playerv: "Sonic"
};
Ad Metadata
Nielsen Key | MMS Attribute Name, MMS Field Name | Description | Values | Required |
---|---|---|---|---|
type | Ad Type, ns_st_ad | type of ad | "preroll", "midroll", "postroll", "ad" if specific ad type cannot be identified. | ✓ |
assetid | Film Code, mms_customadid | custom Ad ID | Film code/Copy code.
Custom examples: S1MYME202B, 51TRER1001, H1KYLE3032, E1UMBR1001 |
✓ |
length | Clip Length, ns_st_cl | length of ad in seconds | Length of ad in seconds. | ✓ |
isprogrammatic | Programmatic, mms_programmatic | identify if the ad is bought prommatic. | "yes" or "no" | |
isthirdpartyad | MMS Thirdparty, mms_thirdparty | identify if the ad is from third party ad server | "yes" or "no" | |
adplatformorigin | MMS Origin, mms_origin | identify where an ad is originated. It is used when isprogrammatic=yes or isthirdpartyad=yes. | custom examples: Smartclip, YuMe | |
adidx | Position in Break, ns_st_an | placement in ad break. It is passed by ad servers. | Custom with the following format:
{ad placement}/{total number of ads in an ad break} Example: 2/5, the second ad in an ad break with 5 ads. |
✓ |
Example of metadata object for Ad:
var prerollMetadataObject = {
type: "preroll",
assetid: "E1UMBR1001",
length: "3359",
isprogrammatic: "yes",
isthirdpartyad: "yes",
adplatformorigin: "YuMe",
adidx: "1/5"
};