GADMediatedNativeContentAd
@protocol GADMediatedNativeContentAd <GADMediatedNativeAd>Provides methods used for constructing native content ads.
-
Primary text headline.
Declaration
Objective-C
- (nullable NSString *)headline; -
Secondary text.
Declaration
Objective-C
- (nullable NSString *)body; -
List of large images. Each object is an instance of GADNativeAdImage.
Declaration
Objective-C
- (nullable NSArray<GADNativeAdImage *> *)images; -
Small logo image.
Declaration
Objective-C
- (nullable GADNativeAdImage *)logo; -
Text that encourages user to take some action with the ad.
Declaration
Objective-C
- (nullable NSString *)callToAction; -
Identifies the advertiser. For example, the advertiser’s name or visible URL.
Declaration
Objective-C
- (nullable NSString *)advertiser; -
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;