GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADNativeAppInstallAdView
class 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.
-
Weak reference to your ad view’s headline asset view.
Declaration
Swift
@IBOutlet weak var headlineView: UIView? { get set }
-
Weak reference to your ad view’s call to action asset view.
Declaration
Swift
@IBOutlet weak var callToActionView: UIView? { get set }
-
Weak reference to your ad view’s icon asset view.
Declaration
Swift
@IBOutlet weak var iconView: UIView? { get set }
-
Weak reference to your ad view’s body asset view.
Declaration
Swift
@IBOutlet weak var bodyView: UIView? { get set }
-
Weak reference to your ad view’s store asset view.
Declaration
Swift
@IBOutlet weak var storeView: UIView? { get set }
-
Weak reference to your ad view’s price asset view.
Declaration
Swift
@IBOutlet weak var priceView: UIView? { get set }
-
Weak reference to your ad view’s image asset view.
Declaration
Swift
@IBOutlet weak var imageView: UIView? { get set }
-
Weak reference to your ad view’s star rating asset view.
Declaration
Swift
@IBOutlet weak var starRatingView: UIView? { get set }
-
Weak reference to your ad view’s media asset view.
Declaration
Swift
@IBOutlet weak var mediaView: GADMediaView? { get set }
-
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-03-03 UTC.
[null,null,["Last updated 2021-03-03 UTC."],[],[],null,["GADNativeAppInstallAdView \n\n class GADNativeAppInstallAdView : UIView\n\nBase class for app install ad views. Your app install ad view must be a subclass of this class\nand must call superclass methods for all overriden methods.\n- `\n ``\n ``\n `\n\n [nativeAppInstallAd](#/c:objc(cs)GADNativeAppInstallAdView(py)nativeAppInstallAd)`\n ` \n This property must point to the native app install ad object rendered by this ad view. \n\n Declaration \n Swift \n\n var nativeAppInstallAd: ../Classes/GADNativeAppInstallAd.html? { get set }\n\n- `\n ``\n ``\n `\n\n [headlineView](#/c:objc(cs)GADNativeAppInstallAdView(py)headlineView)`\n ` \n Weak reference to your ad view's headline asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var headlineView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [callToActionView](#/c:objc(cs)GADNativeAppInstallAdView(py)callToActionView)`\n ` \n Weak reference to your ad view's call to action asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var callToActionView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [iconView](#/c:objc(cs)GADNativeAppInstallAdView(py)iconView)`\n ` \n Weak reference to your ad view's icon asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var iconView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [bodyView](#/c:objc(cs)GADNativeAppInstallAdView(py)bodyView)`\n ` \n Weak reference to your ad view's body asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var bodyView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [storeView](#/c:objc(cs)GADNativeAppInstallAdView(py)storeView)`\n ` \n Weak reference to your ad view's store asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var storeView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [priceView](#/c:objc(cs)GADNativeAppInstallAdView(py)priceView)`\n ` \n Weak reference to your ad view's price asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var priceView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [imageView](#/c:objc(cs)GADNativeAppInstallAdView(py)imageView)`\n ` \n Weak reference to your ad view's image asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var imageView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [starRatingView](#/c:objc(cs)GADNativeAppInstallAdView(py)starRatingView)`\n ` \n Weak reference to your ad view's star rating asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var starRatingView: UIView? { get set }\n\n- `\n ``\n ``\n `\n\n [mediaView](#/c:objc(cs)GADNativeAppInstallAdView(py)mediaView)`\n ` \n Weak reference to your ad view's media asset view. \n\n Declaration \n Swift \n\n @IBOutlet weak var mediaView: ../Classes/GADMediaView.html? { get set }\n\n- `\n ``\n ``\n `\n\n [adChoicesView](#/c:objc(cs)GADNativeAppInstallAdView(py)adChoicesView)`\n ` \n Weak reference to your ad view's AdChoices view. Must set adChoicesView before setting\n nativeAppInstallAd, otherwise AdChoices will be rendered in the publisher's\n preferredAdChoicesPosition as defined in GADNativeAdViewAdOptions. \n\n Declaration \n Swift \n\n @IBOutlet weak var adChoicesView: ../Classes.html#/c:objc(cs)GADAdChoicesView? { get set }"]]