Aby omawiać nasze usługi i przekazywać opinie na ich temat, dołącz do oficjalnego kanału Discord usługi Ad Manager na serwerze społeczności Google Ads i pomiarów.
Informacje dotyczące czasu trwania aktualnie odtwarzanej reklamy.
punkty styczności
(tablica null lub nienullowa z nienullowymi elementami CuePoint)
Punkty wywołania reklamy w strumieniu na żądanie. Te dane mogą się zmieniać w trakcie przesyłania. Ta zmienna będzie wypełniana tylko w detektorze zdarzeń dla zdarzenia CUEPOINTS_CHANGED {
errorMessage
(null lub ciąg znaków)
Komunikat o błędzie w przypadku błędu strumienia.
manifestFormat
(null lub ciąg znaków)
Format pliku manifestu strumienia. Może to być HLS lub DASH.
streamId
(null lub ciąg znaków)
Identyfikator służący do jednoznacznej identyfikacji bieżącego strumienia.
napisy
(tablica {url: string, language: string, language_name: string}, która może być niepusta lub pusta)
Napisy do odtwarzanego strumienia. Jest to tablica obiektów, w których każdy obiekt ma „język”, „nazwa języka”, który rozróżnia konkretny zestaw napisów, jeśli istnieje ich więcej w tym samym języku, oraz „adres URL”, który wskazuje na plik napisów.
URL
(null lub ciąg znaków)
Adres URL pliku manifestu strumienia, który ma być odtworzony.
[[["Ł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-08-21 UTC."],[[["\u003cp\u003e\u003ccode\u003eStreamData\u003c/code\u003e is a class in Google Ad Manager's HTML5 SDK that provides information about a stream, such as ad progress, cue points, errors, manifest format, stream ID, subtitles, and manifest URL.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eadProgressData\u003c/code\u003e for ad timing, \u003ccode\u003ecuepoints\u003c/code\u003e for ad markers, \u003ccode\u003eerrorMessage\u003c/code\u003e for stream errors, \u003ccode\u003emanifestFormat\u003c/code\u003e (HLS or DASH), \u003ccode\u003estreamId\u003c/code\u003e for identification, \u003ccode\u003esubtitles\u003c/code\u003e for available subtitles, and \u003ccode\u003eurl\u003c/code\u003e for the stream's manifest URL.\u003c/p\u003e\n"]]],["The `StreamData` class provides details about a media stream. Key properties include `adProgressData` for ad timing, `cuepoints` for on-demand ad markers, and `errorMessage` for stream errors. It defines `manifestFormat` (HLS or DASH) and `streamId` for stream identification. `subtitles` offers an array of subtitle options with URL, language, and language name. Lastly, `url` contains the stream's manifest URL for playback.\n"],null,["# Class: StreamData\n\nStreamData\n==========\n\nclass public\n\nA class for specifying stream data.\n\nProperties\n----------\n\n### adPeriodData\n\n(null or non-null [AdPeriodData](/ad-manager/dynamic-ad-insertion/sdk/html5/reference/js/AdPeriodData))\n\nThe ad period data for the current ad period being played. This is only\npopulated in the AD_PERIOD_STARTED {\n\n### adProgressData\n\n(null or non-null [AdProgressData](/ad-manager/dynamic-ad-insertion/sdk/html5/reference/js/AdProgressData))\n\nTiming related information for currently playing ad.\n\n### cuepoints\n\n(null or non-null Array of non-null [CuePoint](/ad-manager/dynamic-ad-insertion/sdk/html5/reference/js/CuePoint))\n\nThe ad cuepoints for the on-demand stream. These may change as the stream\nprogresses. This will only be populated in the event listener for the\nCUEPOINTS_CHANGED {\n\n### errorMessage\n\n(null or string)\n\nThe error message in the case of a stream error.\n\n### manifestFormat\n\n(null or string)\n\nThe format of the stream manifest. This could be either HLS or DASH.\n\n### streamId\n\n(null or string)\n\nThe ID used to uniquely identify the current stream.\n\n### subtitles\n\n(null or non-null Array of {url: string, language: string, language_name: string})\n\nThe subtitles for the stream being played. This is an array of objects,\nwhere each object has a \"language\", a \"language name\" which\ndifferentiates the specific set of subtitles if multiple sets exist for\nthe same language , and a \"url\" which points to the subtitles file.\n\n### url\n\n(null or string)\n\nThe manifest URL of the stream that needs to be played."]]