The delegate of the GADCustomEventNativeAd object must adopt the GADCustomEventNativeAdDelegate
protocol. Methods in this protocol are used for native ad’s custom event communication with the
Google Mobile Ads SDK.
[[["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\u003e\u003ccode\u003eGADCustomEventNativeAdDelegate\u003c/code\u003e is deprecated and developers should use \u003ccode\u003eGADMediationNativeAdEventDelegate\u003c/code\u003e instead.\u003c/p\u003e\n"],["\u003cp\u003eThis protocol facilitates communication between native ad's custom events and the Google Mobile Ads SDK.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods to inform the delegate about the success or failure of custom event ad requests.\u003c/p\u003e\n"],["\u003cp\u003eUpon success, the delegate receives a \u003ccode\u003eGADMediatedUnifiedNativeAd\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eUpon failure, the delegate is notified with an error object.\u003c/p\u003e\n"]]],[],null,["# GoogleMobileAds Framework Reference\n\nGADCustomEventNativeAdDelegate\n==============================\n\nDeprecated\n\nUse GADMediationNativeAdEventDelegate instead. \n\n @protocol GADCustomEventNativeAdDelegate \u003cNSObject\u003e\n\nThe delegate of the GADCustomEventNativeAd object must adopt the GADCustomEventNativeAdDelegate\nprotocol. Methods in this protocol are used for native ad's custom event communication with the\nGoogle Mobile Ads SDK.\n- `\n ``\n ``\n `\n\n ### [-customEventNativeAd:didFailToLoadWithError:](#/c:objc(pl)GADCustomEventNativeAdDelegate(im)customEventNativeAd:didFailToLoadWithError:)\n\n `\n ` \n Deprecated\n\n Use GADMediationNativeAdEventDelegate instead. \n Tells the delegate that the custom event ad request failed. \n\n #### Declaration\n\n Swift \n\n func customEventNativeAd(_ customEventNativeAd: any ../Protocols/GADCustomEventNativeAd.html, didFailToLoadWithError error: any Error)\n\n Objective-C \n\n - (void)customEventNativeAd:\n (nonnull id\u003c../Protocols/GADCustomEventNativeAd.html\u003e)customEventNativeAd\n didFailToLoadWithError:(nonnull NSError *)error;\n\n- `\n ``\n ``\n `\n\n ### [-customEventNativeAd:didReceiveMediatedUnifiedNativeAd:](#/c:objc(pl)GADCustomEventNativeAdDelegate(im)customEventNativeAd:didReceiveMediatedUnifiedNativeAd:)\n\n `\n ` \n Deprecated\n\n Use GADMediationNativeAdEventDelegate instead. \n Tells the delegate that the custom event ad request succeeded and loaded a unified native ad. \n\n #### Declaration\n\n Swift \n\n func customEventNativeAd(_ customEventNativeAd: any ../Protocols/GADCustomEventNativeAd.html, didReceive mediatedUnifiedNativeAd: any MediatedUnifiedNativeAd)\n\n Objective-C \n\n - (void)customEventNativeAd:\n (nonnull id\u003c../Protocols/GADCustomEventNativeAd.html\u003e)customEventNativeAd\n didReceiveMediatedUnifiedNativeAd:\n (nonnull id\u003c../Protocols/GADMediatedUnifiedNativeAd.html\u003e)mediatedUnifiedNativeAd;"]]