自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 Display & Video 360 API 和 SDF 上傳的檔案未提供聲明,系統就會失敗。如要進一步瞭解如何更新整合服務以進行這項聲明,請參閱
淘汰項目頁面。
ContentInstreamPosition
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
CONTENT_INSTREAM_POSITION_UNSPECIFIED |
這個版本未指定內容串流位置。這個列舉是預設值的預留位置,並非代表實際的串流廣告位置。 |
CONTENT_INSTREAM_POSITION_PRE_ROLL |
在串流內容開始前放送的廣告。 |
CONTENT_INSTREAM_POSITION_MID_ROLL |
在串流內容開頭和結尾之間放送的廣告。 |
CONTENT_INSTREAM_POSITION_POST_ROLL |
在串流內容結束時放送的廣告。 |
CONTENT_INSTREAM_POSITION_UNKNOWN |
串流內廣告位置不明。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eContent instream position identifies where ads are displayed within streaming content, such as before, during, or after the stream.\u003c/p\u003e\n"],["\u003cp\u003eThe available positions include pre-roll, mid-roll, post-roll, and unspecified/unknown options for default or undetermined placements.\u003c/p\u003e\n"],["\u003cp\u003eThese enums provide a standardized way to specify ad placement within streaming content for advertisers and publishers.\u003c/p\u003e\n"]]],["The provided content outlines the possible positions for in-stream ads. These positions include `PRE_ROLL` (ads before content), `MID_ROLL` (ads within content), and `POST_ROLL` (ads after content). Additionally, `CONTENT_INSTREAM_POSITION_UNSPECIFIED` indicates a default value, and `CONTENT_INSTREAM_POSITION_UNKNOWN` signifies an indeterminate position. The enums represent various stages within streaming content where an advertisement might be played.\n"],null,["# ContentInstreamPosition\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\nPossible content instream positions.\n\n| Enums ||\n|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CONTENT_INSTREAM_POSITION_UNSPECIFIED` | Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position. |\n| `CONTENT_INSTREAM_POSITION_PRE_ROLL` | Ads that play before streaming content. |\n| `CONTENT_INSTREAM_POSITION_MID_ROLL` | Ads that play between the beginning and end of streaming content. |\n| `CONTENT_INSTREAM_POSITION_POST_ROLL` | Ads that play at the end of streaming content. |\n| `CONTENT_INSTREAM_POSITION_UNKNOWN` | Ads instream position is unknown. |"]]