自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
ContentDuration
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
CONTENT_DURATION_UNSPECIFIED |
此版本中未指定内容时长。此枚举是默认值的占位符,并不代表实际内容时长。 |
CONTENT_DURATION_UNKNOWN |
内容时长未知。 |
CONTENT_DURATION_0_TO_1_MIN |
内容时长为 0-1 分钟。 |
CONTENT_DURATION_1_TO_5_MIN |
内容时长为 1-5 分钟。 |
CONTENT_DURATION_5_TO_15_MIN |
内容时长为 5-15 分钟。 |
CONTENT_DURATION_15_TO_30_MIN |
内容时长为 15-30 分钟。 |
CONTENT_DURATION_30_TO_60_MIN |
内容时长为 30-60 分钟。 |
CONTENT_DURATION_OVER_60_MIN |
内容时长超过 60 分钟。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis documentation details the different enums used to categorize content based on its duration.\u003c/p\u003e\n"],["\u003cp\u003eThe content duration options range from under a minute to over an hour, offering a variety of length classifications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCONTENT_DURATION_UNSPECIFIED\u003c/code\u003e and \u003ccode\u003eCONTENT_DURATION_UNKNOWN\u003c/code\u003e serve as placeholders or indicators of missing duration information.\u003c/p\u003e\n"],["\u003cp\u003eEach enum clearly defines the duration range it represents, facilitating easy categorization and understanding of content length.\u003c/p\u003e\n"]]],["The content defines various duration options for content. These options include `CONTENT_DURATION_UNSPECIFIED` (a default placeholder), `CONTENT_DURATION_UNKNOWN`, and specific ranges: `CONTENT_DURATION_0_TO_1_MIN`, `CONTENT_DURATION_1_TO_5_MIN`, `CONTENT_DURATION_5_TO_15_MIN`, `CONTENT_DURATION_15_TO_30_MIN`, `CONTENT_DURATION_30_TO_60_MIN`, and `CONTENT_DURATION_OVER_60_MIN`. Each enum represents a different timeframe for the length of content, ranging from unspecified to over 60 minutes.\n"],null,["# ContentDuration\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 durations options.\n\n| Enums ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CONTENT_DURATION_UNSPECIFIED` | Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration. |\n| `CONTENT_DURATION_UNKNOWN` | The content duration is unknown. |\n| `CONTENT_DURATION_0_TO_1_MIN` | Content is 0-1 minute long. |\n| `CONTENT_DURATION_1_TO_5_MIN` | Content is 1-5 minutes long. |\n| `CONTENT_DURATION_5_TO_15_MIN` | Content is 5-15 minutes long. |\n| `CONTENT_DURATION_15_TO_30_MIN` | Content is 15-30 minutes long. |\n| `CONTENT_DURATION_30_TO_60_MIN` | Content is 30-60 minutes long. |\n| `CONTENT_DURATION_OVER_60_MIN` | Content is over 60 minutes long. |"]]