搭配使用 Google Mobile Ads SDK 和 Open Measurement
Open Measurement 是 IAB 標準,可讓發布商使用第三方可視度評估服務供應商,驗證曝光和點擊評估。Google Mobile Ads SDK 7.43.0 以上版本支援 Open Measurement。這個版本和 Google Mobile Ads SDK 的後續版本會整合 Open Measurement (OM) SDK,啟用第三方可視度評估功能。
Google Mobile Ads SDK 支援 OM SDK 1.4 版。
必要條件
* Google Mobile Ads SDK 7.43.0 以上版本。
導入 Open Measurement
Google Mobile Ads SDK 會自動使用 "Google" 做為公開評估合作夥伴名稱,為所有使用 Google Mobile Ads SDK 放送的廣告導入公開評估功能。
如要使用第三方可視度評估服務供應商,請在 AdMob 使用者介面中設定該供應商,並設定委刊項以使用該可視度評估服務供應商。詳情請參閱「設定行動應用程式可視度評估服務供應商」。
確保透明疊加層不會遮蔽內容
如要避免廣告遭到遮蔽,遮蔽廣告的畫面必須具備下列其中一種設定:
無論遮蔽的檢視畫面是否有透明背景,決定檢視畫面是否會遮蔽廣告的關鍵,是檢視畫面的 Alpha 和可見度值。
如果 Open Measurement SDK 偵測到廣告上有遮蔽物,可能會影響可視度供應商是否會將曝光視為可視。如要修正這個問題,請將檢視畫面的 alpha 設為 0
,或將 isHidden
設為 TRUE
。
疑難排解
導入 Open Measurement 時,請注意下列事項:
您必須向中介服務合作夥伴確認,他們是否支援針對所顯示廣告採用開放式評估功能。
遭到重疊檢視畫面遮蓋的廣告,可能無法記錄可視度。詳情請參閱「確保透明覆疊不會遮蔽畫面」。
在測試裝置 (包括 iOS 模擬器) 上,系統會偵測到「Test Ad」標籤不會阻擋廣告檢視畫面。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-21 (世界標準時間)。
[null,null,["上次更新時間:2025-02-21 (世界標準時間)。"],[[["Open Measurement, supported by Google Mobile Ads SDK 7.43.0 and later, enables third-party viewability verification for impressions and clicks using the Open Measurement SDK."],["It automatically supports standard ad formats like Banner, Interstitial, Rewarded, and Native, requiring no extra setup after AdMob UI configuration."],["To ensure accurate viewability measurement, any transparent overlays on top of ads must have their alpha set to 0 or be hidden (`isHidden = TRUE`)."],["Open Measurement is not supported for AdMob campaigns and relies on mediation partners' support for their rendered ads."]]],["The Google Mobile Ads SDK (version 7.43.0+) supports the Open Measurement (OM) standard for third-party viewability measurement. Publishers must configure the desired provider in the AdMob UI and ensure line items use it. The SDK automatically uses \"Google\" as the OM partner. For ads to be considered viewable, any obscuring overlays must have `alpha = 0` or `isHidden = TRUE`. No support is offered for AdMob campaigns, and mediation partners might not support the Open Measurement.\n"]]