搭配使用 Google Mobile Ads SDK 和 Open Measurement
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Open Measurement 是 IAB 標準,可讓發布商使用第三方可視度評估服務供應商,驗證曝光和點擊評估資料。Google Mobile Ads SDK 18.1.0 以上版本支援 Open Measurement。這個版本和後續版本會與 Open Measurement (OM) SDK 整合,以便評估第三方可視度。
Google Mobile Ads SDK 支援 OM SDK 1.4 版。
必要條件
* Google Mobile Ads SDK
18.1.0
以上版本。
導入 Open Measurement
Google Mobile Ads SDK 會自動導入公開評估功能,並將「Google」做為公開評估合作夥伴名稱,用於透過 Google Mobile Ads SDK 放送的所有廣告。
如要使用第三方可視度評估服務供應商,請在 AdMob 使用者介面中設定,並將委刊項設為使用該可視度評估服務供應商。詳情請參閱「設定行動應用程式可視度評估服務供應商」。
確認透明重疊畫面不會遮擋內容
如要避免廣告遭到封鎖,遮蔽廣告的檢視區塊必須符合下列其中一項設定:
visibility = View.GONE
或 visibility = View.INVISIBLE
遮蔽檢視區塊的背景是否透明並不重要,檢視區塊的 Alpha 和可見度值會決定檢視區塊是否遮蔽廣告。
如果 Open Measurement SDK 偵測到廣告遭到遮蔽,可視度供應商可能會因此判定曝光無法觀看。如要修正這個問題,請將檢視區塊的 Alpha 值設為 0
,或將顯示設定設為 View.GONE
或 View.INVISIBLE
。
疑難排解
導入 Open Measurement 時,請注意下列事項:
請務必向中介服務合作夥伴確認,他們是否支援所放送廣告的開放式評估功能。
如果廣告遭到重疊的檢視畫面遮蓋,可能無法記錄可視度評估結果。詳情請參閱「確保透明重疊畫面不會遮擋內容」。
在測試裝置 (包括 Android 模擬器) 上,系統會偵測到「測試廣告」標籤不會遮蔽廣告檢視區塊。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-16 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-16 (世界標準時間)。"],[[["Open Measurement is an IAB standard allowing publishers to use third-party verification for impressions and clicks, supported by the Google Mobile Ads SDK for Android (version 18.1.0 and later)."],["The Mobile Ads SDK integrates with the Open Measurement SDK (OM SDK) to enable third-party viewability measurements for Banner, Interstitial, Rewarded, and Native ad formats."],["Ensure any transparent overlays on top of ads have `alpha = 0` or `visibility = View.GONE/INVISIBLE` to avoid obstructing viewability measurements."],["Open Measurement requires the Google Play Services SDK on devices and is not supported for AdMob campaigns; check with mediation partners for their support."]]],["The Google Mobile Ads SDK, version 18.1.0 and later, supports Open Measurement (OM) using the OM SDK 1.4, enabling third-party viewability verification for impressions and clicks. To use this, configure your desired provider in the AdMob UI and set line items accordingly. Ensure overlaying views do not obstruct ads by setting their alpha to 0 or visibility to GONE/INVISIBLE. Note that AdMob campaigns and some mediation partners do not have OM support. The \"Test Ad\" label is not considered obstructing on test devices.\n"]]