GoogleMobileAds Framework Reference

  • GADNativeAdViewAdOptions is used to configure the view of native ads.

  • It allows setting the preferred position for the AdChoices icon, with a default of 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;