Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
IMA SDK uses Active View reporting to measure ad viewability.
Active View receives measurements on the VideoStreamPlayer instance passed to the StreamDisplayContainer.
You can verify the SDK's ability to capture viewability signals by looking for network requests to https://pagead2.googlesyndication.com/pcs/activeview and checking the mtos parameter.
A sample stream is available for testing viewability using CMS ID "2556080" and video ID "tears-of-steel-omid".
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.
Active View receives measurements on that VideoStreamPlayer
(getLocationOnScreen and getGlobalVisibleRect).
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.
[[["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-29 UTC."],[],["The IMA SDK utilizes Active View reporting to gauge ad viewability. This involves creating a `StreamDisplayContainer` with a `VideoStreamPlayer`, enabling Active View to measure it using `getLocationOnScreen` and `getGlobalVisibleRect`. Verification involves checking `HTTP` requests for `active_view_vide_measurable_impression` and the `mtos` parameter. A test stream (CMS ID: \"2556080\", video ID: \"tears-of-steel-omid\") is provided; monitor network logs for `ima-test-verification.js` download and a ping to `https://pagead2.googlesyndication.com/pagead/gen_204`.\n"]]