GoogleMobileAds Framework Reference
GADNativeAdViewAdOptions
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 }
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
[null,null,["Last updated 2025-02-04 UTC."],[[["`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."]]],[]]