Chỉ định một tài liệu VAST để dùng làm phản hồi quảng cáo thay vì
đưa ra yêu cầu qua URL thẻ quảng cáo. Việc này có thể hữu ích khi gỡ lỗi và trong các trường hợp khác khi đã có phản hồi VAST.
[null,null,["Cập nhật lần gần đây nhất: 2023-12-02 UTC."],[[["`VastAdsRequest` configures requests for VAST video ads within the Cast framework."],["It allows specifying either a VAST ad tag URL for retrieving ads or directly providing a VAST document for use."],["Properties include `adTagUrl` for the ad request URL and `adsResponse` for providing a pre-fetched VAST response."]]],["The `VastAdsRequest` class configures VAST ad requests. It can be instantiated using `new VastAdsRequest()`. Key properties include `adsResponse`, which takes a VAST document string, allowing pre-existing ad responses to be used instead of a URL request. The `adTagUrl` property, a string, defines the URL of the VAST file to retrieve for the ad response. These properties define how a VAST ad response is configured.\n"]]