搭配使用 Google Mobile Ads SDK 和 Open Measurement
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Open Measurement 是 IAB 標準,可讓發布商使用第三方可視度評估服務供應商,驗證曝光和點擊評估資料。
Google Mobile Ads SDK 7.43.0 以上版本支援 Open Measurement。這個版本和後續版本會與 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 放送的所有廣告。
如要使用第三方可視度評估服務供應商,請在 Ad Manager 使用者介面中設定,並將委刊項設為使用該可視度評估服務供應商。詳情請參閱「設定行動應用程式可視度評估服務供應商」。
確認透明重疊畫面不會遮擋內容
如要避免廣告遭到封鎖,遮蔽廣告的檢視區塊必須符合下列其中一項設定:
遮蔽檢視區塊的背景是否透明並不重要,檢視區塊的 Alpha 和可見度值會決定檢視區塊是否會遮蔽廣告。
如果 Open Measurement SDK 偵測到廣告遭到遮蔽,可視度供應商可能會因此判定曝光無法觀看。如要修正這個問題,請將檢視區塊的 Alpha 設為 0
,或將 isHidden
設為 TRUE
。
疑難排解
導入 Open Measurement 時,請注意下列事項:
請務必向中介服務合作夥伴確認,他們是否支援所放送廣告的開放式評估功能。
如果廣告遭到重疊的檢視畫面遮蓋,可能無法註冊可視度評估。詳情請參閱「確保透明重疊畫面不會遮擋內容」。
在測試裝置 (包括 iOS 模擬器) 上,系統會偵測到「測試廣告」標籤不會遮蔽廣告檢視區塊。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[[["\u003cp\u003eOpen Measurement, an IAB standard, lets publishers use third-party verification for impressions and clicks, supported in Google Mobile Ads SDK for iOS 7.43.0 and later.\u003c/p\u003e\n"],["\u003cp\u003eIt integrates with the Open Measurement SDK (OM SDK), enabling third-party viewability measurements through an API for verification providers.\u003c/p\u003e\n"],["\u003cp\u003eIt automatically supports standard ad formats like Banner, Interstitial, Rewarded, Native, and Native Custom ad formats using video.\u003c/p\u003e\n"],["\u003cp\u003eEnsure transparent overlays on ads have \u003ccode\u003ealpha = 0\u003c/code\u003e or \u003ccode\u003eisHidden = TRUE\u003c/code\u003e to prevent obstruction and ensure accurate viewability measurements.\u003c/p\u003e\n"],["\u003cp\u003eBe aware that mediation partner support for Open Measurement varies, obscured ads may impact viewability, and test devices have specific behaviors.\u003c/p\u003e\n"]]],[],null,["Open Measurement is an IAB standard that allows publishers to use third-party\nviewability providers to verify impressions and click measurements.\nGoogle Mobile Ads SDK\n\nsupports Open Measurement starting with version\n7.43.0\n. This and later versions of Google Mobile Ads SDK\n\nintegrates with the\n[Open Measurement (OM) SDK](https://iabtechlab.com/standards/open-measurement-sdk/)\nto enable third-party viewability measurement.\n\nGoogle Mobile Ads SDK supports OM SDK version 1.4.\n\nPrerequisites \\* Google Mobile Ads SDK 7.43.0 or higher.\n\n- Complete [Get started](/ad-manager/mobile-ads-sdk/ios/quick-start).\n\n\u003c!-- --\u003e\n\n- A configured [viewability\n provider](//support.google.com/admanager/answer/9025968#configure-a-viewability-provider) assigned to your line item.\n\nImplement Open Measurement\n\nGoogle Mobile Ads SDK automatically implements Open Measurement using\n**\"Google\"** as the Open Measurement partner name for all ads served using the\nGoogle Mobile Ads SDK.\n\nTo use a third-party viewability provider, configure it in the\nAd Manager UI, and configure your line items to use that viewability\nprovider. For more details, see [Configure a mobile app viewability provider](//support.google.com/admanager/answer/9025968).\n| **Note:** Custom native ad formats that don't render a video asset require a custom Open Measurement integration. For more information, see [Display-type Custom Native Ad Formats and Open Measurement](/ad-manager/mobile-ads-sdk/ios/custom-native-omid).\n\nEnsure that transparent overlays are non-obstructing\n\nFor an ad to not be considered blocked, the view that is obscuring the ad must\nhave one of these settings:\n\n- `alpha = 0`, or,\n\n\u003c!-- --\u003e\n\n- `isHidden = TRUE`\n\nIt doesn't matter if the obscuring view has a transparent background, the\nview's alpha and visibility values are what determine whether the view is\nblocking your ad.\n\nIf the Open Measurement SDK detects an obstruction over the ad, it could impact\nwhether a viewability provider considers the impression viewable. To fix this,\nset your view's alpha to `0` or\n\nset `isHidden` to `TRUE`.\n\n\nTroubleshooting\n\nBe aware of the following when implementing Open Measurement:\n\n- You must check with the mediation partner to learn if they support Open\n Measurement for ads they render.\n\n- Ads that are obscured by overlaying views might not register viewability\n measurements. For more information, refer to [Ensure that transparent overlays\n are non-obstructing](#obstructing).\n\n- On [test devices](/ad-manager/mobile-ads-sdk/ios/test-ads#enable_test_devices), including the\n iOS simulator, the **Test Ad** label is detected as non-obstructing\n to the ad view."]]