GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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 }
[null,null,["Last updated 2025-08-20 UTC."],[],["The `GADNativeAdViewAdOptions` class configures the view of native ads. It allows setting the `preferredAdChoicesPosition`, which determines the location of the AdChoices icon. The default position is `GADAdChoicesPositionTopRightCorner`. This property can be accessed and modified through both Swift and Objective-C using the variable or the property `preferredAdChoicesPosition`. The position of the AdChoices icon is defined by the `GADAdChoicesPosition` enum.\n"]]