GADUnifiedNativeAd

@interface GADUnifiedNativeAd : NSObject

Unified native ad. To request this ad type, pass kGADAdLoaderAdTypeUnifiedNative (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader’s initializer method. If you request this ad type, your delegate must conform to the GADUnifiedNativeAdLoaderDelegate protocol.

  • Headline

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *headline;
  • Text that encourages user to take some action with the ad. For example Install.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *callToAction;
  • Icon image.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) GADNativeAdImage *icon;
  • Description.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *body;
  • Array of GADNativeAdImage objects.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable)
        NSArray<GADNativeAdImage *> *images;
  • App store rating (0 to 5).

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSDecimalNumber *starRating;
  • The app store name. For example, App Store.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *store;
  • String representation of the app’s price.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *price;
  • Identifies the advertiser. For example, the advertiser’s name or visible URL.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *advertiser;
  • Video controller for controlling video playback in GADUnifiedNativeAdView’s mediaView.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable)
        GADVideoController *videoController;
  • Optional delegate to receive state change notifications.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<GADUnifiedNativeAdDelegate>
        delegate;