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 ad requests.
-
App title.
Declaration
Objective-C
- (nullable NSString *)headline;
-
Array of GADNativeAdImage objects related to the advertised application.
Declaration
Objective-C
- (nullable NSArray<GADNativeAdImage *> *)images;
-
App description.
Declaration
Objective-C
- (nullable NSString *)body;
-
Application icon.
Declaration
Objective-C
- (nullable GADNativeAdImage *)icon;
-
Text that encourages user to take some action with the ad. For example
Install
.Declaration
Objective-C
- (nullable NSString *)callToAction;
-
App store rating (0 to 5).
Declaration
Objective-C
- (nullable NSDecimalNumber *)starRating;
-
The app store name. For example,
App Store
.Declaration
Objective-C
- (nullable NSString *)store;
-
String representation of the app’s price.
Declaration
Objective-C
- (nullable NSString *)price;
-
AdChoices view.
Declaration
Objective-C
- (nullable UIView *)adChoicesView;
-
Media view.
Declaration
Objective-C
- (nullable UIView *)mediaView;
-
Indicates whether the ad has video content.
Declaration
Objective-C
- (BOOL)hasVideoContent;