Menentukan dokumen VAST yang akan digunakan sebagai respons iklan, bukan membuat permintaan melalui URL tag iklan. Hal ini dapat berguna untuk proses debug dan situasi lain saat respons VAST sudah tersedia.
[null,null,["Terakhir diperbarui pada 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"]]