RewardedVideoAdUnit

public class RewardedVideoAdUnit : AdUnit, VideoBasedAdUnitProtocol

Represents an rewarded ad unit for original type of integration.

  • Deprecated property for video parameters.

    Note

    This property is deprecated. Please use videoParameters instead.

    Declaration

    Swift

    @available(*, deprecated, message: "This property is deprecated. Please, use videoParameters instead.")
    public var parameters: VideoParameters { get set }
  • Property for video parameters.

    Declaration

    Swift

    public var videoParameters: VideoParameters { get set }
  • Initializes a RewardedVideoAdUnit with the given configuration ID.

    Declaration

    Swift

    public init(configId: String)

    Parameters

    configId

    The configuration ID for the ad unit.

  • Initializes a RewardedVideoAdUnit with the given configuration ID and minimum size percentages.

    Declaration

    Swift

    public convenience init(configId: String, minWidthPerc: Int, minHeightPerc: Int)

    Parameters

    configId

    The configuration ID for the ad unit.

    minWidthPerc

    The minimum width percentage for the ad unit.

    minHeightPerc

    The minimum height percentage for the ad unit.