GoogleCSAIRequest

public protocol GoogleCSAIRequest : GoogleIMAAdRequest

Type that represents Google CSAI Ad Request.

  • The end point to which ads must be requested.

    Declaration

    Swift

    var adTagUrl: String { get set }
  • Specifies whether to update the MPNowPlayingInfoCenter content with the title “Advertisement”. If disabled, MPNowPlayingInfoCenter is untouched. The default value is NO.

    Declaration

    Swift

    var disableNowPlayInfo: Bool { get }
  • For VMAP and ad rules playlists, only play ad breaks scheduled after this time (in seconds). This setting is strictly after the specified time. For example, setting playAdsAfterTime to 15 will ignore an ad break scheduled to play at 15s.

    Note

    This is typically used for resuming playback after a mid-roll position.

    Declaration

    Swift

    var playAdsAfterTime: TimeInterval? { get }
  • PAL session configuration for programmatic access

    Declaration

    Swift

    var palConfiguration: PALSessionConfiguration? { get }