Verify Active View

  • The IMA SDK leverages Active View reporting to determine ad visibility and send corresponding signals to the ad server, ensuring accurate measurement of ad impressions.

  • Publishers need to initialize the IMAAdDisplayContainer with a view and include it in the IMAAdsRequest for Active View to receive viewability measurements.

  • Ad viewability measurement can be verified by monitoring HTTP requests for active_view_vide_measurable_impression and the mtos parameter, or using the provided sample stream for testing purposes.

  • Publishers using custom video displays should ensure their layouts allow for correct viewability metrics and can refer to the IMA support forum for assistance if needed.

Select platform: HTML5 Android iOS

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

  1. The publisher initializes the IMAAdDisplayContainer with a view.

  2. The publisher passes the IMAAdDisplayContainer to the IMAAdsRequest constructor.

  3. Active View receives measurements on the view.

Verifying that the SDK can measure ad viewability

To check whether that the SDK is able to capture viewability signals, look for network requests sent to https://pagead2.googlesyndication.com/pcs/activeview and check for the mtos parameter. For more information, see Monitor Active View measurement.

The following sample stream is available for viewability testing:

CMS ID: "2556080", video ID: "tears-of-steel-omid"

To test using this stream, first check the network logs for ima-test-verification.js to be downloaded and then a ping fired to https://pagead2.googlesyndication.com/pagead/gen_204 at the start of ad playback.