Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

GoogleMobileAds Framework Reference

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


@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.



    var mediaAspectRatio: GADMediaAspectRatio { get set }


    @property (nonatomic) GADMediaAspectRatio mediaAspectRatio;