Określa dokument VAST, który ma być używany jako odpowiedź na żądanie reklamy zamiast przesyłać żądanie za pomocą adresu URL tagu reklamy. Może to być przydatne podczas debugowania i w innych sytuacjach, w których odpowiedź VAST jest już dostępna.
[null,null,["Ostatnia aktualizacja: 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"]]