A view that displays search ads.
To show search ads:
1) Create a GADSearchBannerView and add it to your view controller’s view hierarchy.
2) Create a GADDynamicHeightSearchRequest object to hold the search query and other search
data.
3) Call GADSearchBannerView’s -loadRequest: method with the
GADDynamicHeightSearchRequest object.
If the banner view is initialized with GADAdSizeFluid and the corresponding request is created
with dynamic height parameters, this delegate will be called when the ad size changes.
Declaration
Swift
@IBOutlet weak var adSizeDelegate: (any GADAdSizeDelegate)? { get set }
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[[["GADSearchBannerView displays search ads within your app by integrating with your view controller."],["To load ads, create a GADDynamicHeightSearchRequest containing search parameters and use it with the GADSearchBannerView's `loadRequest` method."],["When using `GADAdSizeFluid` and dynamic height requests, an optional `adSizeDelegate` can be set to handle ad size changes."]]],[]]