GoogleMobileAds Framework Reference

  • GADNativeAdViewAdOptions provides customization settings for the appearance of native ads, such as the preferred position of the AdChoices icon within the ad view.

  • Developers can use the preferredAdChoicesPosition property to specify where the AdChoices icon should be displayed, with the default being the top right corner.

GADNativeAdViewAdOptions


@interface GADNativeAdViewAdOptions : GADAdLoaderOptions

Ad loader options for configuring the view of native ads.

  • Indicates preferred location of AdChoices icon. Default is GADAdChoicesPositionTopRightCorner.

    Declaration

    Swift

    var preferredAdChoicesPosition: AdChoicesPosition { get set }

    Objective-C

    @property (nonatomic) GADAdChoicesPosition preferredAdChoicesPosition;