CompanionAd

public protocol CompanionAd

A CompanionAd is included in a LinearAd or a NonLinearAd. It doesn’t extend the properties of the Ad object.

  • An identifier of the element in which the companion ad should be appended.

    Declaration

    Swift

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

    Declaration

    Swift

    var altText: String? { get }
  • The website of the advertis. Only supported for StaticResource.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var width: Int? { get }