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
func adLoader(_ adLoader: GADAdLoader
, didReceive nativeAd: NativeAd)
Objective-C
- (void)adLoader:(nonnull GADAdLoader
*)adLoader
didReceiveNativeAd:(nonnull GADNativeAd
*)nativeAd;
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-08-20 UTC.
[[["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 2025-08-20 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGADNativeAdLoaderDelegate\u003c/code\u003e protocol enables the reception of \u003ccode\u003eGADNativeAd\u003c/code\u003e objects within a \u003ccode\u003eGADAdLoader\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen a native ad is successfully received, the \u003ccode\u003eadLoader:didReceiveNativeAd:\u003c/code\u003e method is called, providing the ad loader and the native ad itself.\u003c/p\u003e\n"]]],["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"],null,["# GoogleMobileAds Framework Reference\n\nGADNativeAdLoaderDelegate\n=========================\n\n @protocol GADNativeAdLoaderDelegate \u003c../Protocols/GADAdLoaderDelegate.html\u003e\n\nThe delegate of a GADAdLoader object implements this protocol to receive GADNativeAd ads.\n- `\n ``\n ``\n `\n\n ### [-adLoader:didReceiveNativeAd:](#/c:objc(pl)GADNativeAdLoaderDelegate(im)adLoader:didReceiveNativeAd:)\n\n `\n ` \n Called when a native ad is received. \n\n #### Declaration\n\n Swift \n\n func adLoader(_ adLoader: ../Classes/GADAdLoader.html, didReceive nativeAd: NativeAd)\n\n Objective-C \n\n - (void)adLoader:(nonnull ../Classes/GADAdLoader.html *)adLoader\n didReceiveNativeAd:(nonnull ../Classes/GADNativeAd.html *)nativeAd;"]]