requestVOD

open fun requestVOD(contentSourceID: String, videoID: String, apiKey: String)

Requests a VOD to be played

Parameters

contentSourceID

The content source ID for video on demand server-side ad insertion streams.

videoID

The video ID for video on demand server-side ad insertion streams.

apiKey

The stream request API key. Set up the key in the Ad Manager Admin UI and use it in the application to unlock the content. The key verifies applications to access the content.


open fun requestVOD(contentSourceID: String, videoID: String, apiKey: String, networkCode: String)

Requests a VOD to be played

Parameters

contentSourceID

The content source ID for video on demand server-side ad insertion streams.

videoID

The video ID for video on demand server-side ad insertion streams.

apiKey

The stream request API key. Set up the key in the Ad Manager Admin UI and use it in the application to unlock the content. The key verifies applications to access the content.

networkCode

The network code for the Ad Manager account that owns the stream. The code is recommended because it is used to apply settings selected in the Ad Manager UI such as programmatic limited ads enablement. To find the network code, see Find Ad Manager account information.