Gibt ein VAST-Dokument an, das als Anzeigenantwort verwendet wird, anstatt eine Anfrage über eine Anzeigen-Tag-URL zu senden. Dies kann bei der Fehlerbehebung und in anderen Situationen nützlich sein, in denen bereits eine VAST-Antwort verfügbar ist.
[null,null,["Zuletzt aktualisiert: 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"]]