Native 分册导航
Event Tracker Response§5.8 · Bid Response
事件追踪器响应为对象数组,规定出价方希望追踪的事件类型以及用于追踪的 URL/信息。出价方只能以请求中声明可用的追踪方式作答。注意多数 JavaScript 追踪器期望在曝光时加载,因此一般不建议买方对其他事件以 JavaScript 追踪器作答,但其适当性由各买方自行判断。译稿校对中ENThe event trackers response is an array of objects and specifies the types of events the bidder wishes to track and the URLs/information to track them. Bidder must only respond with methods indicated as available in the request. Note that most javascript trackers expect to be loaded at impression time, so it’s not generally recommended for the buyer to respond with javascript trackers on other events, but the appropriateness of this is up to each buyer.
| 属性 | 类型 | 必填性 | 默认值 | 描述 |
|---|---|---|---|---|
| event | integer | 必填 | — | 要追踪的事件类型。见 Event Types 表。译稿校对中ENType of event to track. See Event Types table.取值表 §7.6 Event Types |
| method | integer | 必填 | — | 所请求的追踪方式类型。见 Event Tracking Methods 表。译稿校对中ENType of tracking requested. See Event Tracking Methods table.取值表 §7.7 Event Tracking Methods |
| url | string | 可选 | — | 图像或 js 的 URL。image 或 js 方式必填,custom 方式可选。译稿校对中ENThe URL of the image or js. Required for image or js, optional for custom. |
| customdata | object | 可选 | — | 与交易平台(exchange)单独约定的自定义追踪 key:value 对象数组,例如需求方平台(DSP, Demand-Side Platform)在追踪公司处的账号。如 {“accountnumber”:”123”}。译稿校对中ENTo be agreed individually with the exchange, an array of key:value objects for custom tracking, for example the account number of the DSP with a tracking company. IE {“accountnumber”:”123”}. |
| 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. |
译注
译者注只能使用请求中声明可用的 event/method 组合;超范围作答时部分 Exchange 会丢弃整个追踪数组而非单条。译稿校对中
js 追踪器通常期望在曝光时加载:对非曝光事件回 js 追踪器不被推荐,部分渲染侧不会执行,测量缺口应改用 img 或 custom 方式补足。译稿校对中