Native 分册导航
Asset Response§5.2 · Bid Response
对应请求中的 `Asset Request` 对象。交易平台(exchange)代表渲染客户端所请求或支持的每个资产的主容器对象。必需的对象须显式标记。每个对象中 {title,img,video,data} 只应存在其一,其余应为 null/absent。id 在资产数组内须唯一,以便响应可以对齐。译稿校对中ENCorresponds to the Asset Object in the request. The main container object for each asset requested or supported by Exchange on behalf of the rendering client. Any object that is required is to be flagged as such. Only one of the {title,img,video,data} objects should be present in each object. All others should be null/absent. The id is to be unique within the AssetObject array so that the response can be aligned.
| 属性 | 类型 | 必填性 | 默认值 | 描述 |
|---|---|---|---|---|
| id | integer | 可选 | — | 使用 assetsurl/dcourl 时可选;使用内嵌资产时必填。译稿校对中ENOptional if assetsurl/dcourl is being used; required if embedded asset is being used. |
| required | integer | 可选 | 0 | 若该资产为必需(出价方要求其被展示)则置 1。译稿校对中ENSet to 1 if asset is required. (bidder requires it to be displayed). |
| title | object | 可选 | — | 标题资产的 `Title Response` 对象;见 Title 对象定义。译稿校对中ENTitle object for title assets. See TitleObject definition. |
| img | object | 可选 | — | 图像资产的 `Image Response` 对象;见 Image 对象定义。译稿校对中ENImage object for image assets. See ImageObject definition. |
| video | object | 可选 | — | 视频资产的 `Video Response` 对象。注意插播类(in-stream)视频广告不属于 Native。译稿校对中ENVideo object for video assets. Note that in-stream video ads are not part of Native. |
| data | object | 可选 | — | 评分、价格等的 `Data Response` 对象。译稿校对中ENData object for ratings, prices etc. |
| link | object | 可选 | — | 行动号召(call to action)的 `Link Response` 对象。当该资产条目被激活(点击)时适用。译稿校对中ENLink object for call to actions. Applies if the asset item is activated (clicked). |
| ext | object[] | 可选 | — | 自定义 JSON 的占位对象,以支持超出标准规范的灵活性。译稿校对中ENThis object is a placeholder for custom JSON to support flexibility beyond the standard specification. |
注记
1: asset object may contain only one of title, img, data or video. 2: Bidders are encouraged not to use asset.ext for exchanging text assets. Use data.ext with custom type instead.
译注
译者注响应 asset 的 id 必须匹配请求中的 asset id;id 缺失或错位是原生创意渲染失败/资产错位的常见根因,联调时应首先核对。译稿校对中