SSAI
Server Side ad Insertion
THEOplayer Supports Yospace and Google DAI server side ad insertion. If you need to use Client Side Ad Insertion (CSAI), please consider checking its documentations here.
GoogleInteractiveMediaAds.framework
The following is the supportMatrix for the GoogleInteractiveMediaAds SDK versions that THEOplayer is linked against. Although using a different version might work, we advise to use the exact same version that THEOplayer is using to avoid any compatibility issues.
| PlayerVersion | playerSuiteVersion | GoogleInteractiveMediaAds verions | 
|---|---|---|
| 2.84.0+ | 2021.2.0+ | iOS 3.14.1 - tvOS 4.4.1 | 
- 
                  
                  The ServerSideAdInsertionConfiguration protocol which specifies information to play a stream with server-side-inserted ads. See moreRemark To integrate with specific SSAI vendors, check the Server-Side Ad Insertion pre-integration API.DeclarationSwift @objc(THEOplayerServerSideAdInsertionConfiguration) public protocol ServerSideAdInsertionConfiguration
- 
                  
                  The SSAI integration identifier. See moreDeclarationSwift @objc(THEOplayerSSAIIntegrationId) public enum SSAIIntegrationId : Intextension SSAIIntegrationId: Codable
- 
                  
                  API for the Yospace pre-integration. See moreDeclarationSwift public protocol Yospace : EventDispatcherProtocol
- 
                  
                  The configuration of the Yospace log level. See moreDeclarationSwift @objc(THEOplayerYospaceLogLevelConfiguration) public class YospaceLogLevelConfiguration : NSObject, Codable
- 
                  
                  The ServerSideAdInsertionConfiguration for the Yospace integration. See moreDeclarationSwift @objc(THEOplayerYospaceServerSideAdInsertionConfiguration) public class YospaceServerSideAdInsertionConfiguration : NSObject, ServerSideAdInsertionConfiguration, Codable
- 
                  
                  DeclarationSwift @objc(THEOplayerYospaceEvent) public class YospaceEvent : NSObject, EventProtocol
- 
                  
                  The See moreYospaceEventtypes.DeclarationSwift public struct YospaceEventTypes
- 
                  
                  Fired when the Yospace.activeSessionchanges.DeclarationSwift @objc(THEOplayerYospaceSessionChangedEvent) public class YospaceSessionChangedEvent : YospaceEvent
- 
                  
                  The Google DAI configuration. See moreDeclarationSwift @objc(THEOplayerGoogleDAIConfiguration) public class GoogleDAIConfiguration : NSObject, ServerSideAdInsertionConfiguration, Codable
- 
                  
                  Represents a configuration for server-side ad insertion with the Google DAI pre-integration for live streams. See moreDeclarationSwift @objc(THEOplayerGoogleDAILiveConfiguration) public class GoogleDAILiveConfiguration : GoogleDAIConfiguration
- 
                  
                  A Google DAI typed source. See moreDeclarationSwift @objc(THEOplayerGoogleDAITypedSource) public class GoogleDAITypedSource : TypedSource
- 
                  
                  Represents a configuration for server-side ad insertion with the Google DAI pre-integration for vod streams. See moreDeclarationSwift @objc(THEOplayerGoogleDAIVodConfiguration) public class GoogleDAIVodConfiguration : GoogleDAIConfiguration
- 
                  
                  The enum for Stream type, can either be live or vod. See moreDeclarationSwift @objc(THEOplayerStreamType) public enum StreamType : Intextension StreamType: Codable
 SSAI  Reference
      SSAI  Reference