自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
Dimensions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"widthPixels": integer,
"heightPixels": integer
} |
字段 |
widthPixels |
integer
宽度(以像素为单位)。
|
heightPixels |
integer
高度(以像素为单位)。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eDimensions are represented using a JSON object with \u003ccode\u003ewidthPixels\u003c/code\u003e and \u003ccode\u003eheightPixels\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003ewidthPixels\u003c/code\u003e and \u003ccode\u003eheightPixels\u003c/code\u003e fields are integers indicating the dimensions in pixels.\u003c/p\u003e\n"]]],[],null,["# Dimensions\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.\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDimensions.\n\n| JSON representation |\n|-------------------------------------------------------------|\n| ``` { \"widthPixels\": integer, \"heightPixels\": integer } ``` |\n\n| Fields ||\n|----------------|---------------------------------|\n| `widthPixels` | `integer` The width in pixels. |\n| `heightPixels` | `integer` The height in pixels. |"]]