GADMediatedNativeAppInstallAd
protocol GADMediatedNativeAppInstallAd : GADMediatedNativeAdProvides methods used for constructing native app install ads. The adapter must return an object conforming to this protocol for native app install ad requests.
-
App title.
Declaration
Swift
func headline() -> String? -
Array of GADNativeAdImage objects related to the advertised application.
Declaration
Swift
func images() -> [GADNativeAdImage]? -
App description.
Declaration
Swift
func body() -> String? -
Application icon.
Declaration
Swift
func icon() -> GADNativeAdImage? -
Text that encourages user to take some action with the ad. For example
Install
.Declaration
Swift
func callToAction() -> String? -
App store rating (0 to 5).
Declaration
Swift
func starRating() -> NSDecimalNumber? -
The app store name. For example,
App Store
.Declaration
Swift
func store() -> String? -
String representation of the app’s price.
Declaration
Swift
func price() -> String? -
AdChoices view.
Declaration
Swift
optional func adChoicesView() -> UIView? -
Media view.
Declaration
Swift
optional func mediaView() -> UIView? -
Indicates whether the ad has video content.
Declaration
Swift
optional func hasVideoContent() -> Bool