Open Measurement with the Next Gen Mobile Ads SDK
Stay organized with collections
Save and categorize content based on your preferences.
Open Measurement is an IAB standard that allows publishers to use third-party
viewability providers to verify impressions and click measurements.
Next Gen Mobile Ads SDK
integrates with the
Open Measurement (OM) SDK
to enable third-party viewability measurement.
Next Gen Mobile Ads SDK supports OM SDK version 1.4.
Prerequisites
Implement Open Measurement
Next Gen Mobile Ads SDK automatically implements Open Measurement using
"Google" as the Open Measurement partner name for all ads served using the
Next Gen Mobile Ads SDK.
To use a third-party viewability provider, configure it in the
Ad Manager UI, and configure your line items to use that viewability
provider. For more details, see Configure a mobile app viewability provider.
Ensure that transparent overlays are non-obstructing
For an ad to not be considered blocked, the view that is obscuring the ad must
have one of these settings:
visibility = View.GONE
or visibility = View.INVISIBLE
It doesn't matter if the obscuring view has a transparent background, the
view's alpha and visibility values are what determine whether the view is
blocking your ad.
If the Open Measurement SDK detects an obstruction over the ad, it could impact
whether a viewability provider considers the impression viewable. To fix this,
set your view's alpha to 0
or
set the visibility to View.GONE
or View.INVISIBLE
.
Troubleshooting
Be aware of the following when implementing Open Measurement:
You must check with the mediation partner to learn if they support Open
Measurement for ads they render.
Ads that are obscured by overlaying views might not register viewability
measurements. For more information, refer to Ensure that transparent overlays
are non-obstructing.
On test devices, including the
Android simulator, the Test Ad label is detected as non-obstructing
to the ad view.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eOpen Measurement (OM) is an IAB standard that allows publishers to use third-party viewability providers to verify ad impressions and click measurements, and the Google Mobile Ads SDK integrates with the OM SDK to enable this functionality.\u003c/p\u003e\n"],["\u003cp\u003eTo use Open Measurement, you need a configured viewability provider assigned to your line item in the Ad Manager UI, and the Google Mobile Ads SDK supports Open Measurement automatically in banner, interstitial, rewarded, and native ad formats.\u003c/p\u003e\n"],["\u003cp\u003eOverlays that obscure ads must have an alpha value of 0, or a visibility setting of \u003ccode\u003eView.GONE\u003c/code\u003e or \u003ccode\u003eView.INVISIBLE\u003c/code\u003e, to avoid blocking viewability measurements.\u003c/p\u003e\n"],["\u003cp\u003eWhen using mediation, you must verify with the mediation partner whether they support Open Measurement for the ads they render.\u003c/p\u003e\n"],["\u003cp\u003eOn test devices, the \u003cstrong\u003eTest Ad\u003c/strong\u003e label is considered non-obstructing to the ad view.\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.\nNext Gen 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\nNext Gen Mobile Ads SDK supports OM SDK version 1.4.\n\nPrerequisites\n\n- Complete [Get started](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/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\nNext Gen Mobile Ads SDK automatically implements Open Measurement using\n**\"Google\"** as the Open Measurement partner name for all ads served using the\nNext Gen 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\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- `visibility = View.GONE` or `visibility = View.INVISIBLE`\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 the visibility to `View.GONE` or `View.INVISIBLE`.\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/android/early-access/nextgen/test-ads#enable_test_devices), including the\n Android simulator, the **Test Ad** label is detected as non-obstructing\n to the ad view."]]