GoogleMobileAds Framework Reference

  • GADNativeAdViewAdOptions provides customization settings for the appearance of native ads.

  • These options are used to configure the view and can be set through the preferredAdChoicesPosition property.

  • preferredAdChoicesPosition controls the placement of the AdChoices icon within the ad view, defaulting to 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;