Open Measurement is an IAB standard that allows publishers to use third-party viewability providers to verify impressions and click measurements. GMA Next Gen SDK integrates with the Open Measurement (OM) SDK to enable third-party viewability measurement.
GMA Next Gen SDK supports OM SDK version 1.4.
Prerequisites
- Complete Get started.
Implement Open Measurement
GMA Next Gen SDK automatically implements Open Measurement using "Google" as the Open Measurement partner name for all ads served using the GMA Next Gen SDK.
To use a third-party viewability provider, configure it in the AdMob 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:
alpha = 0, or,
visibility = View.GONEorvisibility = 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:
- No support for AdMob campaigns.
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.