AdRequestError

@objc(YMAAdRequestError)
@objcMembers
public class AdRequestError : NSObject

A class with error for requested ad.

  • The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.

    Declaration

    Swift

    public var adUnitId: String? { get }
  • Error for requested ad.

    Declaration

    Swift

    public var error: Error { get }
  • Undocumented

    Declaration

    Swift

    @objc(initWithAdUnitId:error:)
    public convenience init(adUnitId: String?, error: Error)