如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["`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"]]