GoogleMobileAds Framework Reference

GADNativeAdMediaAdLoaderOptions

@interface GADNativeAdMediaAdLoaderOptions : GADAdLoaderOptions

Ad loader options for native ad media settings.

  • Image and video aspect ratios. Defaults to GADMediaAspectRatioUnknown. Portrait, landscape, and square aspect ratios are returned when this property is GADMediaAspectRatioUnknown or GADMediaAspectRatioAny.

    Declaration

    Swift

    var mediaAspectRatio: GADMediaAspectRatio { get set }

    Objective-C

    @property (nonatomic) GADMediaAspectRatio mediaAspectRatio;