The IMA SDK must be able to tell when ads are visible to users so that it can send the correct signals back to the ad server. IMA uses Active View reporting to measure the viewability of ads. This guide explains how Active View reporting works with IMA, as well as how to verify that the SDK is able to correctly capture viewability signals.
How Active View reporting works with the IMA SDK
The
AdDisplayContainer
is created by passing in an instance ofVideoAdPlayer
.Active View receives measurements on that
VideoAdPlayer
(getLocationOnScreen
andgetGlobalVisibleRect
).
Verifying that the SDK can measure ad viewability
To check whether that the SDK is able to capture viewability signals, look for
instances of active_view_vide_measurable_impression
in the HTTP
requests and
check for the mtos
parameter. For more information, see
Monitor Active View measurement.