自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。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 |
插播广告的位置未知。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]