Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Ad Manager trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
IMA SDK phải có khả năng cho biết thời điểm người dùng nhìn thấy quảng cáo để có thể gửi tín hiệu chính xác trở lại máy chủ quảng cáo. IMA sử dụng báo cáo Chế độ xem đang kích hoạt để đo lường khả năng xem của quảng cáo. Hướng dẫn này giải thích cách báo cáo Chế độ xem đang kích hoạt hoạt động với IMA, cũng như cách xác minh rằng SDK có thể ghi lại chính xác các tín hiệu về khả năng xem.
Active View nhận được các chỉ số đo lường về VideoAdPlayer đó (getLocationOnScreen và getGlobalVisibleRect).
Xác minh rằng SDK có thể đo lường khả năng xem quảng cáo
Để kiểm tra xem SDK có thể thu thập tín hiệu về khả năng xem hay không, hãy tìm các yêu cầu mạng được gửi đến https://pagead2.googlesyndication.com/pcs/activeview và kiểm tra tham số mtos. Để biết thêm thông tin, hãy xem bài viết Giám sát hoạt động đo lường của Chế độ xem đang kích hoạt.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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)."]]