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: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eVastAdsRequest\u003c/code\u003e objects configure requests for VAST (Video Ad Serving Template) ads within the Chrome Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can either provide a VAST document directly using \u003ccode\u003eadsResponse\u003c/code\u003e or specify a URL to fetch one with \u003ccode\u003eadTagUrl\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class: VastAdsRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).VastAdsRequest\n====================================================================================================================================\n\nclass static\n\nVAST ad request configuration.\n\nConstructor\n-----------\n\n### VastAdsRequest\n\nnew\nVastAdsRequest()\n\nProperties\n----------\n\n### adsResponse\n\n(string or undefined)\n\nSpecifies a VAST document to be used as the ads response instead of\nmaking a request via an ad tag URL. This can be useful for debugging and\nother situations where a VAST response is already available.\n\n### adTagUrl\n\n(string or undefined)\n\nURL for VAST file."]]