使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
interface MediationBannerAd
来自横幅 Adapter
的中介横幅广告。
摘要
公共函数 |
View |
返回包含第三方呈现的广告的视图。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],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. |"]]