CompanionAd

public protocol CompanionAd

Represents a companion ad which is displayed besides the player.

Remark

It doesn’t extend the properties of Ad.
  • An identifier of the element in which the companion ad should be appended, if available.

    Declaration

    Swift

    var adSlotId: String? { get }
  • An alternative description for the companion ad.

    Declaration

    Swift

    var altText: String? { get }
  • The website of the advertisement.

    Declaration

    Swift

    var clickThrough: String? { get }
  • The height of the companion ad, in pixels.

    Declaration

    Swift

    var height: Int { get }
  • The URI of the ad content.

    Declaration

    Swift

    var resourceURI: String? { get }
  • The width of the companion ad, in pixels.

    Declaration

    Swift

    var width: Int { get }
  • The type of the companion ad.

    Declaration

    Swift

    var type: String { get }