CSAI
Client Side Ad Insertion
THEOplayer exposes GoogleImaAdDescription that could be used to achieve client side ad insertion. Using Google IMA requires the THEOplayer GoogleIMA Integration to be added to your project. For more information please refer here If you need to use Server Side Ad Insertion (SSAI), please consider checking its own documentation here.
GoogleInteractiveMediaAds.xcframework
The following is the support matrix for the GoogleInteractiveMediaAds SDK versions that THEOplayer is linked against. Although using a different version might work, we advise using the same version that THEOplayer is using to avoid any compatibility issues.
| PlayerVersion | GoogleInteractiveMediaAds versions |
|---|---|
| 11.X | iOS 3.31.0 - tvOS 4.16.0 |
-
Provides additional information for an advertisement.
See moreRemark
The description can be of typeGoogleImaAdDescription.Declaration
Swift
public protocol AdDescription -
An
See moreAdDescriptionobject that will be added to the player when using the Google Ima ad integration.Declaration
Swift
open class GoogleImaAdDescription : NSObject, AdDescription, Codable
CSAI Reference