GoogleDAIConfiguration

@objc(THEOplayerGoogleDAIConfiguration)
public class GoogleDAIConfiguration : NSObject, ServerSideAdInsertionConfiguration, Codable

The Google DAI configuration.

  • The identifier for the SSAI pre-integration, defaults to GoogleDAISSAIIntegrationID.

    Declaration

    Swift

    public var integration: SSAIIntegrationId
  • The type of the requested stream.

    Declaration

    Swift

    @objc
    public var availabilityType: StreamType
  • The API key for the stream request.

    Remark

    • This key is used to verify applications that are attempting to access the content.
    • This key is configured through the Google Ad Manager UI.

    Declaration

    Swift

    @objc
    public var apiKey: String
  • The authorization token for the stream request.

    Remark

    • This token is used instead of the API key for stricter content authorization.
    • The publisher can control individual content streams authorizations based on this token.

    Declaration

    Swift

    @objc
    public var authToken: String?
  • The identifier for a stream activity monitor session.

    Declaration

    Swift

    @objc
    public var streamActivityMonitorID: String?
  • The ad tag parameters added to stream request.

    Declaration

    Swift

    @objc
    public var adTagParameters: [String : String]?