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.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eVastAdsRequest\u003c/code\u003e objects configure requests for VAST (Video Ad Serving Template) ads within the Chrome Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can either provide a VAST document directly using \u003ccode\u003eadsResponse\u003c/code\u003e or specify a URL to fetch one with \u003ccode\u003eadTagUrl\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class: VastAdsRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).VastAdsRequest\n====================================================================================================================================\n\nclass static\n\nVAST ad request configuration.\n\nConstructor\n-----------\n\n### VastAdsRequest\n\nnew\nVastAdsRequest()\n\nProperties\n----------\n\n### adsResponse\n\n(string or undefined)\n\nSpecifies a VAST document to be used as the ads response instead of\nmaking a request via an ad tag URL. This can be useful for debugging and\nother situations where a VAST response is already available.\n\n### adTagUrl\n\n(string or undefined)\n\nURL for VAST file."]]