廣告適用的 Web View API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
應用程式內瀏覽器可直接顯示網路內容,使用者不必離開應用程式。通常熱門的社交、新聞、搜尋和 HTML5 遊戲應用程式中都有這項功能。這類網頁內容可能包含廣告,做為營利來源。
應用程式內瀏覽器通常採用行動應用程式 OS 元件,例如自訂分頁和 WebView
,但這些元件的預設設定並非以廣告營利為目標。
如要盡可能提升這些應用程式內瀏覽器環境中網頁內容的廣告收益成效,請參閱下列其中一種解決方案:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eIn-app browsers, frequently used in apps like social media, news, and games, allow users to view web content, including ads, without exiting the app.\u003c/p\u003e\n"],["\u003cp\u003eThese browsers often rely on OS components like Custom Tabs and WebView, which may not be optimized for ad monetization by default.\u003c/p\u003e\n"],["\u003cp\u003eTo improve ad revenue within in-app browsers, developers can optimize Custom Tabs or WebView settings.\u003c/p\u003e\n"]]],[],null,["# Web view APIs for ads\n\n[In-app browsers](//support.google.com/admanager/answer/14137220) let you\ndisplay web content without users having to leave the app. They\nare commonly found in popular social, news, search, and HTML5 game apps. This\nweb content may include ads as a source of monetization.\n\nIn-app browsers are often powered by mobile app OS components, such as\nCustom Tabs and `WebView`, whose default settings are not geared towards ads\nmonetization.\n\nTo maximize ad revenue performance of web content in these in-app browser\nenvironments, check out one of these solutions:\n\n- [Optimize Custom Tabs](/admob/android/browser/custom-tabs)\n\n- [Optimize WebView](/admob/android/browser/webview)"]]