Native 分册导航
Image Request§4.4 · Bid Request
`Image Request` 对象用于原生广告的所有图像元素,如图标(Icon)、主图(Main Image)等。推荐尺寸与宽高比见 Image Asset Types 一节。译稿校对中ENThe Image object to be used for all image elements of the Native ad such as Icons, Main Image, etc. Recommended sizes and aspect ratios are included in the Image Asset Types section.
| 属性 | 类型 | 必填性 | 默认值 | 描述 |
|---|---|---|---|---|
| type | integer | 可选 | — | 发布方支持的图像元素类型 ID;发布方可按适当格式展示该信息。见 Image Asset Types 表。译稿校对中ENType ID of the image element supported by the publisher. The publisher can display this information in an appropriate format. See Table Image Asset Types.取值表 §7.5 Image Asset Types |
| w | integer | 可选 | — | 图像宽度,单位为像素。译稿校对中ENWidth of the image in pixels. |
| wmin | integer | 推荐 | — | 图像的最小请求宽度,单位为像素。客户端对图像做任何重缩放时应使用该选项。w 与 wmin 二者应传其一;若仅包含 w,应视为精确要求。译稿校对中ENThe minimum requested width of the image in pixels. This option should be used for any rescaling of images by the client. Either w or wmin should be transmitted. If only w is included, it should be considered an exact requirement. |
| h | integer | 可选 | — | 图像高度,单位为像素。译稿校对中ENHeight of the image in pixels. |
| hmin | integer | 推荐 | — | 图像的最小请求高度,单位为像素。客户端对图像做任何重缩放时应使用该选项。h 与 hmin 二者应传其一;若仅包含 h,应视为精确要求。译稿校对中ENThe minimum requested height of the image in pixels. This option should be used for any rescaling of images by the client. Either h or hmin should be transmitted. If only h is included, it should be considered an exact requirement. |
| mimes | string[] | 可选 | All types allowed | 支持的内容 MIME 类型白名单。常见 MIME 类型包括但不限于 “image/jpg” 与 “image/gif”。各交易平台(exchange)应在集成文档中给出自己的支持类型清单;若为空,假定允许所有类型。译稿校对中ENWhitelist of content MIME types supported. Popular MIME types include, but are not limited to “image/jpg” and “image/gif”. Each Exchange should have their own list of supported types in the integration docs. If blank, assume all types are allowed. |
| ext | object | 可选 | — | 占位对象,可包含双方约定的自定义 JSON,以支持超出本规范所定标准的灵活性。译稿校对中ENThis object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification. |
译注
译者注w 与 wmin(h 与 hmin)是互斥对:只传 w 视为精确尺寸要求;允许客户端自行缩放时应传 wmin/hmin。两者同传时各 Exchange 解释不一,应避免。译稿校对中
type 3(Main)是实践中的主图位;使用 assetsurl 时应按推荐宽高比(1:1、4:3、1.91:1)各供一张,供不同版式裁切。译稿校对中