Stay organized with collections
Save and categorize content based on your preferences.
interface MediationBannerAd
Mediated banner ad from a banner Adapter
.
Summary
Public functions |
View |
Returns the view containing the third party rendered ad.
|
Public functions
fun getView(): View
Returns the view containing the third party rendered ad.
Returns |
View |
The view in which the banner ad rendered.
|
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.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# MediationBannerAd\n=================\n\nKotlin \\|[Java](/admob/android/reference/com/google/android/gms/ads/mediation/MediationBannerAd \"View this page in Java\") \n\n\n```\ninterface MediationBannerAd\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[MediationInterscrollerAd](/admob/android/reference/kotlin/com/google/android/gms/ads/mediation/MediationInterscrollerAd) \n\n|---------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------|\n| [MediationInterscrollerAd](/admob/android/reference/kotlin/com/google/android/gms/ads/mediation/MediationInterscrollerAd) | **This interface is deprecated.** No replacement. \u003cbr /\u003e |\n\n*** ** * ** ***\n\nMediated banner ad from a banner [Adapter](/admob/android/reference/kotlin/com/google/android/gms/ads/mediation/Adapter).\n\nSummary\n-------\n\n| ### Public functions |\n|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View](https://developer.android.com/reference/android/view/View.html) | [getView](/admob/android/reference/kotlin/com/google/android/gms/ads/mediation/MediationBannerAd#getView())`()` Returns the view containing the third party rendered ad. |\n\nPublic functions\n----------------\n\n### getView\n\n```\nfun getView(): View\n```\n\nReturns the view containing the third party rendered ad. \n\n| Returns |\n|------------------------------------------------------------------------|-------------------------------------------|\n| [View](https://developer.android.com/reference/android/view/View.html) | The view in which the banner ad rendered. |"]]