本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
用戶端追蹤 API
下列範例顯示播放程式如何將資訊清單中的廣告中繼資料與用戶端追蹤回應承載中的完整追蹤事件資料與creativeId
和SDK連結adId
。
範例 JSON訊息:
{ "avails": [ { "adBreakTrackingEvents": [], "ads": [ { "adId": "5", "adParameters": "", "adProgramDateTime": null, "adSystem": "2.0", "adTitle": "AD-caribbean2-15", "adVerifications": [], "companionAds": [], "creativeId": "1234", "creativeSequence": "2", "duration": "PT15S", "durationInSeconds": 15, "extensions": [], "mediaFiles": { "mediaFilesList": [], "mezzanine": "" }, "skipOffset": null, "startTime": "PT30S", "startTimeInSeconds": 30, "trackingEvents": [ { "beaconUrls": [ "https://
myServer
/impression" ], "duration": "PT15S", "durationInSeconds": 15, "eventId": "5", "eventProgramDateTime": null, "eventType": "impression", "startTime": "PT30S", "startTimeInSeconds": 30 } ], "vastAdId": "" } ], "availId": "5", "availProgramDateTime": null, "duration": "PT15S", "durationInSeconds": 15, "meta": null, "nonLinearAdsList": [], "startTime": "PT30S", "startTimeInSeconds": 30 } ], "nextToken": "UFQ1TTM0Ljk2N1NfMjAyMi0xMS0xOFQwNDozMzo1Mi4yNDUxOTdaXzE%3D", "nonLinearAvails": [] }