文档

支持

Open Measurement 扩展

Support Open Measurement (OM) extensions, enabling standardized viewability and verification for in-app advertising.
阅读时间2 分钟最后更新于 4 个月前

Unity Ads 支持具有 Open Measurement 功能的广告素材。IAB 的 Open Measurement SDK (OM SDK) 提供通用代码和文库,以方便第三方访问测量数据。集成 OM SDK 的站点和应用可以将测量信号发送到 Open Measurement Interface Definition (OMID) API。测量提供方可以放置收集这些信号的标签。为了能够接收和使用支持 OM 素材的广告请求,Unity 更新了其 OpenRTB 规范,以体现出广告请求和响应字段的有关变化。

父对象

属性

类型

示例

描述

bid.source
omidpn
字符串
"omidpn":"Unity3d"
Open Measurement SDK 集成的标识符。与 OMID Partner 对象的
name
参数相同。
bid.source
omidpv
字符串
"omidpv":"1.3.0"
Open Measurement SDK 集成版本。与 OMID Partner 对象的
versionString
参数相同。
bid.imp.video
api
整型数组
"api": [7]
此广告展示支持的 API 框架。值为
7
表示支持 Open Measurement。
response.seatbid.bid
api
整型
"api":7
此广告展示支持的 API 框架。值为
7
表示支持 Open Measurement (OM)。如需了解更多信息,请参阅 IAB Open Measurement SDK 手册的 API 框架 (API Frameworks) 部分。
Unity 期望响应中每个出价都有 OMID-1 API 框架值 (
7
),以便 SDK 能够处理 OM 广告素材。
如需了解更多信息,请参阅告素材格式 广告请求示例
{ "id": "ABCDEfghijkLMNOPqrstUV", "imp": [{ "id": "1", "video": { "mimes": ["video/mp4"], "minduration": 5, "maxduration": 30, "protocols": [2, 3, 5, 6], "w": 320, "h": 480, "linearity": 1, "sequence": 1, "battr": [1, 3, 5, 6, 8, 9, 13], "pos": 7, "api": [7] }, "pmp": {}, "displaymanager": "unity sdk", "displaymanagerver": "4000", "instl": 1, "tagid": "com.example.enterprise-vast", "secure": 1 }], "app": { "id": "1", "publisher": { "id": "12345" } }, "device": { "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302", "geo": { "lat": 55.5555, "lon": 11.1111, "type": 2, "country": "DNK", "region": "84", "metro": "0", "city": "Copenhagen", "utcoffset": 60 }, "ip": "111.222.111.222", "devicetype": 4, "model": "iPhone10,1", "os": "ios", "osv": "11.3.1", "hwv": "iPhone10,1", "h": 647, "w": 375, "language": "en", "carrier": "Sprint", "connectiontype": 2, "ifa": "A123456B-7C89-01D2-3456-E7F890123GH4" }, "at": 1, "tmax": 500, "source": { "pchain": "11111:12345", "omidpn": "Unity3d", "omidpv": "1.3.0" }, "regs": { "ext": {} }, "ext": { "placementType": "", "gameCategory": "Games", "subGameCategory": "Casual", "sessionDepth": 0 }}