GoogleDAIVodConfiguration

@objc(THEOplayerGoogleDAIVodConfiguration)
public class GoogleDAIVodConfiguration : GoogleDAIConfiguration

Represents a configuration for server-side ad insertion with the Google DAI pre-integration for vod streams.

  • The identifier for the publisher content for on-demand streams.

    Remark

    • The publisher content comes from a CMS.
    • This property is required for on-demand streams.

    Declaration

    Swift

    @objc
    public var contentSourceID: String
  • The identifier for the video content source for on-demand streams.

    Remark

    This property is required for on-demand streams.

    Declaration

    Swift

    @objc
    public var videoID: String
  • The builder for the Google DAI configuration.

    Declaration

    Swift

    @objc
    public init(videoID: String,
                contentSourceID: String,
                apiKey: String,
                authToken: String?,
                streamActivityMonitorID: String?,
                adTagParameters: [String: String]?)

    Parameters

    videoID

    The identifier for the video content source.

    apiKey

    The key for the stream request.

    authToken

    The authorization token for the stream request.

    streamActivityMonitorID

    The identifier for a stream activity monitor.

    adTagParameters

    The ad parameters that are added to the stream request.