GADNativeAdImageAdLoaderOptions

@interface GADNativeAdImageAdLoaderOptions : GADAdLoaderOptions

Ad loader options for native ad image settings.

  • Indicates if image asset content should be loaded by the SDK. If set to YES, the SDK will not load image asset content and native ad image URLs can be used to fetch content. Defaults to NO, image assets are loaded by the SDK.

    Declaration

    Swift

    var disableImageLoading: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL disableImageLoading;
  • Indicates if multiple images should be loaded for each asset. Defaults to NO.

    Declaration

    Swift

    var shouldRequestMultipleImages: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL shouldRequestMultipleImages;
  • Indicates preferred image orientation. Defaults to GADNativeAdImageAdLoaderOptionsOrientationAny.

    Declaration

    Swift

    var preferredImageOrientation: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic)
        GADNativeAdImageAdLoaderOptionsOrientation preferredImageOrientation;