Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
interface MediationBannerAd
Các lớp con trực tiếp đã biết
Quảng cáo biểu ngữ được dàn xếp từ Adapter
biểu ngữ.
Tóm tắt
Hàm công khai |
View |
Trả về thành phần hiển thị chứa quảng cáo do bên thứ ba hiển thị.
|
Hàm công khai
fun getView(): View
Trả về thành phần hiển thị chứa quảng cáo do bên thứ ba hiển thị.
Giá trị trả về |
View |
Khung hiển thị mà quảng cáo biểu ngữ hiển thị.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 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. |"]]