L'SDK IMA deve essere in grado di rilevare quando gli annunci sono visibili agli utenti in modo da poter
inviare gli indicatori corretti all'ad server. IMA utilizza i
report di Visualizzazione attiva
per misurare la visibilità degli annunci. Questa guida spiega come funziona la generazione di report Visualizzazione attiva con IMA, nonché come verificare che l'SDK sia in grado di acquisire correttamente gli indicatori di visibilità.
Come funziona la generazione di report di Visualizzazione attiva con l'SDK IMA
Visualizzazione attiva riceve le misurazioni relative a VideoAdPlayer
(getLocationOnScreen e getGlobalVisibleRect).
Verifica che l'SDK possa misurare la visibilità degli annunci
Per verificare se l'SDK è in grado di acquisire indicatori di visibilità, cerca
le richieste di rete inviate a https://pagead2.googlesyndication.com/pcs/activeview
e controlla il parametro mtos. Per ulteriori informazioni, vedi
Monitorare le misurazioni di Visualizzazione attiva.
[null,null,["Ultimo aggiornamento 2025-09-06 UTC."],[[["\u003cp\u003eThe IMA SDK leverages Active View reporting to determine and relay ad visibility to the ad server, ensuring accurate measurements for billing and performance analysis.\u003c/p\u003e\n"],["\u003cp\u003eActive View relies on the \u003ccode\u003eAdDisplayContainer\u003c/code\u003e and \u003ccode\u003eVideoAdPlayer\u003c/code\u003e components to gather spatial information about the ad's position on the screen.\u003c/p\u003e\n"],["\u003cp\u003eAd viewability can be confirmed by monitoring HTTP requests for \u003ccode\u003eactive_view_vide_measurable_impression\u003c/code\u003e instances and the presence of the \u003ccode\u003emtos\u003c/code\u003e parameter, signaling successful measurement.\u003c/p\u003e\n"],["\u003cp\u003eIf custom video displays are used, adjustments to the layout might be needed to guarantee proper metric collection and accurate Active View reporting.\u003c/p\u003e\n"]]],[],null,["Select platform: [HTML5](/interactive-media-ads/docs/sdks/html5/client-side/viewability \"View this page for the HTML5 platform docs.\") [Android](/interactive-media-ads/docs/sdks/android/client-side/viewability \"View this page for the Android platform docs.\") [iOS](/interactive-media-ads/docs/sdks/ios/client-side/viewability \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nThe IMA SDK must be able to tell when ads are visible to users so that it can\nsend the correct signals back to the ad server. IMA uses\n[Active View reporting](//support.google.com/admanager/answer/3154105)\nto measure the viewability of ads. This guide explains how Active View\nreporting works with IMA, as well as how to verify that the SDK is able to\ncorrectly capture viewability signals.\n\nHow Active View reporting works with the IMA SDK\n\n1. The [`AdDisplayContainer`](/interactive-media-ads/docs/sdks/android/client-side/api/reference/com/google/ads/interactivemedia/v3/api/AdDisplayContainer)\n is created by passing in an instance of\n [`VideoAdPlayer`](/interactive-media-ads/docs/sdks/android/client-side/api/reference/com/google/ads/interactivemedia/v3/api/player/VideoAdPlayer).\n\n2. Active View receives measurements on that `VideoAdPlayer`\n (`getLocationOnScreen` and `getGlobalVisibleRect`).\n\nVerifying that the SDK can measure ad viewability\n\nTo check whether that the SDK is able to capture viewability signals, look for\nnetwork requests sent to `https://pagead2.googlesyndication.com/pcs/activeview`\nand check for the `mtos` parameter. For more information, see\n[Monitor Active View measurement](//support.google.com/admanager/answer/6123557).\n| **Note:** If you use your own video display and maintain full control over playback, you might need to modify your layout to ensure that the necessary metrics are being correctly returned. For additional assitance, reach out to us on the [IMA support forum](//groups.google.com/g/ima-sdk)."]]