GADMediatedNativeAppInstallAd

protocol GADMediatedNativeAppInstallAd : GADMediatedNativeAd

Provides methods used for constructing native app install ads. The adapter must return an object conforming to this protocol for native app install requests.

  • App title.

    Declaration

    Swift

    func headline() -> String?
  • Array of GADNativeAdImage objects related to the advertised application.

    Declaration

    Swift

    func images() -> [Any]?
  • 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() -> Any!
  • Media view.

    Declaration

    Swift

    optional func mediaView() -> Any!
  • Returns YES if the ad has video content.

    Declaration

    Swift

    optional func hasVideoContent() -> Bool