该对象表示 banner 展示所允许的一种尺寸(即高宽组合)或一组弹性广告(Flex Ad)参数。它们通常以数组形式使用,以允许多种尺寸。建议指定 w/h 对或 wratio/hratio/wmin 组合(即用于 Flex Ads)二者之一。译稿校对中ENThis object represents an allowed size (i.e., height and width combination) or Flex Ad parameters for a banner impression. These are typically used in an array where multiple sizes are permitted. It is recommended that either the w/h pair or the wratio/hratio/wmin set (i.e., for Flex Ads) be specified.
| Attribute | Type | Description |
|---|---|---|
| w | integer | 宽度,以设备无关像素(Device Independent Pixels,DIPS)为单位。译稿校对中ENWidth in device-independent pixels (DIPS). |
| h | integer | 高度,以设备无关像素(DIPS)为单位。译稿校对中ENHeight in device-independent pixels (DIPS). |
| wratio | integer | 以比例方式表达尺寸时的相对宽度。译稿校对中ENRelative width when expressing size as a ratio. |
| hratio | integer | 以比例方式表达尺寸时的相对高度。译稿校对中ENRelative height when expressing size as a ratio. |
| wmin | integer | 当尺寸以比例方式表达时,广告将被展示的最小宽度,以设备无关像素(DIPS)为单位。译稿校对中ENThe minimum width in device-independent pixels (DIPS) at which the ad will be displayed the size is expressed as a ratio. |
| ext | object | 供交易平台(exchange)对 OpenRTB 进行专属扩展(exchange-specific extensions)的占位对象。译稿校对中ENPlaceholder for exchange-specific extensions to OpenRTB. |
译注
译者注Format:Banner 的子对象,表示 banner 展示所允许的一种尺寸(宽高组合)或一组弹性广告(Flex Ad)参数;业内文档一般保留英文对象名 Format。通常以数组形式使用,以允许多种尺寸并存。译稿校对中
w/h vs wratio/hratio/wmin 的实践建议:规范建议两组表达二选一;多尺寸并存时,竞价方应按 format 数组逐项匹配创意,不应自行推导未声明的尺寸。译稿校对中
DIPS 与物理像素:设备无关像素与 Android 的 dp、iOS 的 pt 属同一概念;与物理像素的换算依赖设备像素比(参见 Device.pxratio),创意适配时应以 DIPS 为准。译稿校对中
字段描述收录自 IAB Tech Lab OpenRTB 2.6 官方规范(CC-BY 3.0)· 枚举值来源 AdCOM 1.0 · 初稿校对中