GoogleMobileAds Framework Reference

Stay organized with collections Save and categorize content based on your preferences.

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;