Specifica un documento VAST da utilizzare come risposta agli annunci invece di effettuare una richiesta tramite un URL del tag annuncio. Questo può essere utile per il debug e altre situazioni in cui è già disponibile una risposta VAST.
[null,null,["Ultimo aggiornamento 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"]]