GoogleMobileAds Framework Reference

  • GADNativeAdImageAdLoaderOptions provides options for native ad image settings.

  • The disableImageLoading property controls whether the SDK loads image asset content or provides URLs to fetch the content, defaulting to NO (SDK loads images).

  • The shouldRequestMultipleImages property determines if multiple images are loaded for each asset, defaulting to NO.

GADNativeAdImageAdLoaderOptions


@interface GADNativeAdImageAdLoaderOptions : GADAdLoaderOptions

Ad loader options for native ad image settings.

  • Indicates whether 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 isImageLoadingDisabled: Bool { get set }

    Objective-C

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

    Declaration

    Swift

    var shouldRequestMultipleImages: Bool { get set }

    Objective-C

    @property (nonatomic) BOOL shouldRequestMultipleImages;