GADNativeAd

class GADNativeAd : NSObject

Native ad base class. All native ad types are subclasses of this class.

  • Optional delegate to receive state change notifications.

  • Root view controller for handling ad actions.

    Declaration

    Swift

    var rootViewController: UnsafeMutablePointer<Int32>? { get set }
  • Dictionary of assets which aren’t processed by the receiver.

    Declaration

    Swift

    var extraAssets: [AnyHashable : Any]? { get }
  • The ad network class name that fetched the current ad. For both standard and mediated Google AdMob ads, this method returns @GADMAdapterGoogleAdMobAds. For ads fetched via mediation custom events, this method returns @GADMAdapterCustomEvents.

    Declaration

    Swift

    var adNetworkClassName: String? { get }