GADNativeAppInstallAdView


@interface GADNativeAppInstallAdView : UIView

Base class for app install ad views. Your app install ad view must be a subclass of this class and must call superclass methods for all overriden methods.

  • This property must point to the native app install ad object rendered by this ad view.

    Declaration

    Swift

    var nativeAppInstallAd: GADNativeAppInstallAd? { get set }

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        GADNativeAppInstallAd *nativeAppInstallAd;
  • Weak reference to your ad view’s headline asset view.

    Declaration

    Swift

    @IBOutlet weak var headlineView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *headlineView;
  • Weak reference to your ad view’s call to action asset view.

    Declaration

    Swift

    @IBOutlet weak var callToActionView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *callToActionView;
  • Weak reference to your ad view’s icon asset view.

    Declaration

    Swift

    @IBOutlet weak var iconView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *iconView;
  • Weak reference to your ad view’s body asset view.

    Declaration

    Swift

    @IBOutlet weak var bodyView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *bodyView;
  • Weak reference to your ad view’s store asset view.

    Declaration

    Swift

    @IBOutlet weak var storeView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *storeView;
  • Weak reference to your ad view’s price asset view.

    Declaration

    Swift

    @IBOutlet weak var priceView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *priceView;
  • Weak reference to your ad view’s image asset view.

    Declaration

    Swift

    @IBOutlet weak var imageView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *imageView;
  • Weak reference to your ad view’s star rating asset view.

    Declaration

    Swift

    @IBOutlet weak var starRatingView: UIView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) UIView *starRatingView;
  • Weak reference to your ad view’s media asset view.

    Declaration

    Swift

    @IBOutlet weak var mediaView: GADMediaView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) GADMediaView *mediaView;
  • Weak reference to your ad view’s AdChoices view. Must set adChoicesView before setting nativeAppInstallAd, otherwise AdChoices will be rendered in the publisher’s preferredAdChoicesPosition as defined in GADNativeAdViewAdOptions.

    Declaration

    Swift

    @IBOutlet weak var adChoicesView: GADAdChoicesView? { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) GADAdChoicesView *adChoicesView;