GADMediatedNativeAd

@protocol GADMediatedNativeAd <NSObject>

Base protocol for mediated native ads.

  • Returns a delegate object that receives state change notifications.

    Declaration

    Swift

    func mediatedNativeAdDelegate() -> GADMediatedNativeAdDelegate?

    Objective-C

    - (nullable id<GADMediatedNativeAdDelegate>)mediatedNativeAdDelegate;
  • Returns a dictionary of asset names and object pairs for assets that are not handled by properties of the GADMediatedNativeAd subclass.

    Declaration

    Swift

    func extraAssets() -> [AnyHashable : Any]?

    Objective-C

    - (NSDictionary *_Nullable)extraAssets;