自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
VideoPlayerSize
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
VIDEO_PLAYER_SIZE_UNSPECIFIED |
此版本未指定视频播放器大小。此枚举是默认值的占位符,并不代表真实的视频播放器大小。 |
VIDEO_PLAYER_SIZE_SMALL |
视频播放器的尺寸小于 400×300 像素(桌面设备),或者所占的屏幕空间不超过 20%(移动设备)。 |
VIDEO_PLAYER_SIZE_LARGE |
视频播放器的尺寸介于 400x300 像素和 1280x720 像素之间(桌面设备),或者所占的屏幕空间介于 20% 到 90% 之间(移动设备)。 |
VIDEO_PLAYER_SIZE_HD |
视频播放器的尺寸为 1280×720 像素或更大(桌面设备),或者所占的屏幕空间大于 90%(移动设备)。 |
VIDEO_PLAYER_SIZE_UNKNOWN |
视频播放器的尺寸未知。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eVideo player sizes are categorized into unspecified, small, large, HD, and unknown.\u003c/p\u003e\n"],["\u003cp\u003eSmall video players are less than 400x300 pixels on desktop or cover up to 20% of the screen on mobile.\u003c/p\u003e\n"],["\u003cp\u003eLarge video players range from 400x300 to 1280x720 pixels on desktop or cover 20% to 90% of the mobile screen.\u003c/p\u003e\n"],["\u003cp\u003eHD video players are at least 1280x720 pixels on desktop or cover over 90% of the mobile screen.\u003c/p\u003e\n"],["\u003cp\u003eAn unspecified size serves as a placeholder and does not reflect an actual video player size, while an unknown size indicates the dimensions are undetermined.\u003c/p\u003e\n"]]],["The provided information outlines possible video player sizes. `VIDEO_PLAYER_SIZE_UNSPECIFIED` is a placeholder for a default value. `VIDEO_PLAYER_SIZE_SMALL` is under 400x300 on desktop or up to 20% of screen on mobile. `VIDEO_PLAYER_SIZE_LARGE` ranges from 400x300 to 1280x720 on desktop, or 20% to 90% on mobile. `VIDEO_PLAYER_SIZE_HD` is 1280x720 or more on desktop, over 90% on mobile. `VIDEO_PLAYER_SIZE_UNKNOWN` indicates the size is undetermined.\n"],null,["# VideoPlayerSize\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 video player sizes.\n\n| Enums ||\n|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `VIDEO_PLAYER_SIZE_UNSPECIFIED` | Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size. |\n| `VIDEO_PLAYER_SIZE_SMALL` | The dimensions of the video player are less than 400×300 (desktop), or up to 20% of screen covered (mobile). |\n| `VIDEO_PLAYER_SIZE_LARGE` | The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile). |\n| `VIDEO_PLAYER_SIZE_HD` | The dimensions of the video player are 1280×720 or greater (desktop), or over 90% of the screen covered (mobile). |\n| `VIDEO_PLAYER_SIZE_UNKNOWN` | The dimensions of the video player are unknown. |"]]