Ad network adapters interact with the mediation SDK using an object that implements the
GADMAdNetworkConnector protocol. The connector object can be used to obtain necessary
information for ad requests, and to call back to the mediation SDK on ad request returns and
user interactions.
When you need to show a landing page or any other modal view, such as when a user clicks or when
your Ads SDK needs to show an interstitial, use this method to obtain a UIViewController that
you can use to show your modal view. Call the -presentViewController:animated:completion: method
of the returned UIViewController.
Tells the connector that the adapter has received a mediated native ad. |mediatedNativeAd| is
used by the Google Mobile Ads SDK to construct a native ad object.
Tells the connector that the adapter has received a unified mediated native ad.
mediatedUnifiedNativeAd is used by the Google Mobile Ads SDK to construct a unified native ad
object.
[[["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 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADMAdNetworkConnector\n======================\n\n @protocol GADMAdNetworkConnector \u003c../Protocols/GADMediationAdRequest.html\u003e\n\nAd network adapters interact with the mediation SDK using an object that implements the\nGADMAdNetworkConnector protocol. The connector object can be used to obtain necessary\ninformation for ad requests, and to call back to the mediation SDK on ad request returns and\nuser interactions.\n- `\n ``\n ``\n `\n\n ### [-viewControllerForPresentingModalView](#/c:objc(pl)GADMAdNetworkConnector(im)viewControllerForPresentingModalView)\n\n `\n ` \n When you need to show a landing page or any other modal view, such as when a user clicks or when\n your Ads SDK needs to show an interstitial, use this method to obtain a UIViewController that\n you can use to show your modal view. Call the -presentViewController:animated:completion: method\n of the returned UIViewController. \n\n #### Declaration\n\n Objective-C \n\n - (UIViewController *)viewControllerForPresentingModalView;\n\n- `\n ``\n ``\n `\n\n ### [-adVolume](#/c:objc(pl)GADMAdNetworkConnector(im)adVolume)\n\n `\n ` \n Returns the preferred ad volume as a fraction of system volume (0.0 to 1.0). \n\n #### Declaration\n\n Objective-C \n\n - (float)adVolume;\n\n- `\n ``\n ``\n `\n\n ### [-adMuted](#/c:objc(pl)GADMAdNetworkConnector(im)adMuted)\n\n `\n ` \n Returns whether the ad should be muted. \n\n #### Declaration\n\n Objective-C \n\n - (BOOL)adMuted;\n\n[Adapter Callbacks\n-----------------](#/Adapter%20Callbacks)\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didFailAd:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didFailAd:)\n\n `\n ` \n Tells the connector that the adapter failed to receive an ad. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter didFailAd:(NSError *)error;\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didReceiveAdView:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didReceiveAdView:)\n\n `\n ` \n Tells the connector that the adapter received a banner ad. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n didReceiveAdView:(UIView *)view;\n\n- `\n ``\n ``\n `\n\n ### [-adapterDidReceiveInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterDidReceiveInterstitial:)\n\n `\n ` \n Tells the connector that the adapter received an interstitial. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterDidReceiveInterstitial:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didReceiveMediatedNativeAd:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didReceiveMediatedNativeAd:)\n\n `\n ` \n Tells the connector that the adapter has received a mediated native ad. \\|mediatedNativeAd\\| is\n used by the Google Mobile Ads SDK to construct a native ad object. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n didReceiveMediatedNativeAd:(id\u003c../Protocols/GADMediatedNativeAd.html\u003e)mediatedNativeAd;\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didReceiveMediatedUnifiedNativeAd:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didReceiveMediatedUnifiedNativeAd:)\n\n `\n ` \n Tells the connector that the adapter has received a unified mediated native ad.\n mediatedUnifiedNativeAd is used by the Google Mobile Ads SDK to construct a unified native ad\n object. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n didReceiveMediatedUnifiedNativeAd:\n (id\u003c../Protocols/GADMediatedUnifiedNativeAd.html\u003e)mediatedUnifiedNativeAd;\n\n[Ad events\n---------](#/Ad%20events)\n\n- `\n ``\n ``\n `\n\n ### [-adapterDidGetAdClick:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterDidGetAdClick:)\n\n `\n ` \n Tells the connector that the adapter recorded a user click. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterDidGetAdClick:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterWillLeaveApplication:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterWillLeaveApplication:)\n\n `\n ` \n Tells the connector that the adapter will leave the application because of a user action. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterWillLeaveApplication:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterWillPresentFullScreenModal:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterWillPresentFullScreenModal:)\n\n `\n ` \n Tells the connector that the adapter will present a full screen modal. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterWillPresentFullScreenModal:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterWillDismissFullScreenModal:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterWillDismissFullScreenModal:)\n\n `\n ` \n Tells the connector that the adapter will dismiss a full screen modal. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterWillDismissFullScreenModal:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterDidDismissFullScreenModal:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterDidDismissFullScreenModal:)\n\n `\n ` \n Tells the connector that the adapter dismissed a full screen modal. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterDidDismissFullScreenModal:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterWillPresentInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterWillPresentInterstitial:)\n\n `\n ` \n Tells the connector that the adapter will present an interstitial. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterWillPresentInterstitial:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterWillDismissInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterWillDismissInterstitial:)\n\n `\n ` \n Tells the connector that the adapter will dismiss an interstitial. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterWillDismissInterstitial:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n- `\n ``\n ``\n `\n\n ### [-adapterDidDismissInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapterDidDismissInterstitial:)\n\n `\n ` \n Tells the connector that the adapter did dismiss an interstitial. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapterDidDismissInterstitial:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter;\n\n[Deprecated\n----------](#/Deprecated)\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didReceiveInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didReceiveInterstitial:)\n\n `\n ` \n Deprecated. Use -adapterDidReceiveInterstitial:. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n didReceiveInterstitial:(NSObject *)interstitial;\n\n- `\n ``\n ``\n `\n\n ### [-adapter:clickDidOccurInBanner:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:clickDidOccurInBanner:)\n\n `\n ` \n Deprecated. Use -adapterDidGetAdClick:. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n clickDidOccurInBanner:(UIView *)view;\n\n- `\n ``\n ``\n `\n\n ### [-adapter:didFailInterstitial:](#/c:objc(pl)GADMAdNetworkConnector(im)adapter:didFailInterstitial:)\n\n `\n ` \n Deprecated. Use -adapter:didFailAd:. \n\n #### Declaration\n\n Objective-C \n\n - (void)adapter:(id\u003c../Protocols/GADMAdNetworkAdapter.html\u003e)adapter\n didFailInterstitial:(NSError *)error;"]]