GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADNativeAdLoaderDelegate
The delegate of a GADAdLoader object implements this protocol to receive GADNativeAd ads.
-
Called when a native ad is received.
Declaration
Swift
@MainActor func adLoader(_ adLoader: GADAdLoader, didReceive nativeAd: NativeAd)
Objective-C
- (void)adLoader:(nonnull GADAdLoader *)adLoader
didReceiveNativeAd:(nonnull GADNativeAd *)nativeAd;
[null,null,["Last updated 2026-02-04 UTC."],[],["The `GADNativeAdLoaderDelegate` protocol handles receiving native ads. Its core function, `adLoader:didReceiveNativeAd:`, is invoked when a native ad is successfully received. This method provides the `GADAdLoader` instance and the delivered `GADNativeAd` object, allowing the delegate to access and utilize the received ad within its implementation. The method is available in both Swift and Objective-C.\n"]]