Ad Plugin content data

The Content Data object is used to pass to the adserver data describing your video content. This data fields should be defined in a contentData object of the main object passed at registration.

The contentData object can contain the following keys:

Name Type Description
sas_contentid String Identifier of the content video
sas_contentTitle String Name of the content video
sas_videoContentType String Type of the content video
sas_videoContentCategory String Category of the content video
sas_videoContentDuration Number Duration of the content video in seconds
sas_videoSeasonNumber Number Season number of the content video
sas_contentid String Identifier of the content video
sas_videoEpisodeNumber Number Episode number of the content video
sas_videoContentRating String Permissible audience of the content video (general audiences, parental guidance, adult, ...)
sas_contentproviderid String Identifier of the content provider
sas_contentProviderName String EName of the content provider
sas_videoContentDistributorId String Identifier of the content distributor
sas_videoContentDistributorName String Name of the content distributor
sas_videoContentTags Array of strings Multiple value keywords describing the video content
sas_externalContentId String Identifier of the content in a third party system
sas_videoCmsId String Identifier of the video content management system in charge of the content
sas_videoContentChannelName String Name of the content channel
sas_videoContentNetworkName String Name of the content network

            sas.video.register({
    id: "playerId",	
    adData: {...},
    configuration: ...,
    contentData: {
        sas_contentid: 'Content ID',
        sas_contentTitle: 'Content title',
        sas_videoContentType: 'Content type',
        sas_videoContentCategory: 'Content category',
        sas_videoContentDuration: 300,
        sas_videoSeasonNumber: 1,
        sas_videoEpisodeNumber: 1,
        sas_videoContentRating: 'Content rating',
        sas_contentproviderid: 'Content provider ID',
        sas_contentProviderName: 'Content provider name',
        sas_videoContentDistributorId: 'Content distributor ID',
        sas_videoContentDistributorName: 'Content distributor name',
        sas_videoContentTags: ['Content tag 1', 'Content tag 2'],
        sas_externalContentId: 'External content ID',
        sas_videoCmsId: 'sCMS ID',
        sas_videoContentChannelName: 'channel name',
        sas_videoContentNetworkName: 'network name'
    },
    ...
});