CSAI
Client Side ad Insertion
THEOplayer exposes THEOAdDescription, GoogleImaAdDescription and SpotXAdDescription that could be used to achieve Client side ad insertion. If you need to use Server Side Ad Insertion (SSAI), 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 |
-
Provides additional information for an advertisement.
Remark
The description can be of typeGoogleImaAdDescription
.Declaration
Swift
public protocol AdDescription
-
An
See moreAdDescription
object that will be added to the player when using the Google Ima ad integration.Declaration
Swift
@objc(THEOplayerGoogleImaAdDescription) open class GoogleImaAdDescription : NSObject, AdDescription, AdDescription_Objc, Codable
-
The advertisement configuration of the player.
See moreDeclaration
Swift
@available(*, deprecated, message: "This class will be removed in future releases.") @objc(THEOplayerAdsConfiguration) public class AdsConfiguration : NSObject, Encodable