Stay organized with collections
Save and categorize content based on your preferences.
GADNativeAppInstallAdView
classGADNativeAppInstallAdView: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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADNativeAppInstallAdView\n=========================\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 `\n ` \n This property must point to the native app install ad object rendered by this ad view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's headline asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's call to action asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's icon asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's body asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's store asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's price asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's image asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's star rating asset view. \n\n #### Declaration\n\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 `\n ` \n Weak reference to your ad view's media asset view. \n\n #### Declaration\n\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 `\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\n Swift \n\n @IBOutlet weak var adChoicesView: ../Classes.html#/c:objc(cs)GADAdChoicesView? { get set }"]]