簡介
Brightcove 提供廣告跟踪日誌,以幫助您從獲利角度了解支持 SSAI 的直播和視頻的表現,並解決任何問題。這些日誌包括對廣告服務器的請求:廣告請求、錯誤和跟踪事件。
日誌還允許您計算性能指標:
- 廣告請求:向廣告服務器請求廣告的次數。
- 觸發的廣告跟踪事件:從 BC SSAI 服務器觸發的信標事件數。它可以是每種類型的細分:
AdStart
,AdComplete
,AdfirstQuartile
,Admidpoint
,AdthirdQuartile
,AdcreativeView
- Ad Delivery Rate:成功的廣告請求總數/廣告請求總數的比率
設定
要啟用 SSAI 廣告跟踪日誌,您必須執行以下操作:
文件格式
日誌文件將根據此架構組織在您的 S3 存儲桶中:
/yyyy/MM/dd/HH/<random-string>/<delivery stream name>-<delivery stream version>-<year>-<month>-<day>-<hour>-<minute>-<second>-<uuid>
<random-string>
和</uuid>
,每批都會不同,日誌以5MB或300秒的數據為批次。不同會話和作業的日誌將混合在批次中。
示例路徑/文件
/2021/07/17/00/00HwB2cbPB2/prod-ssai-ad-tracking-4040098940001-1-2021-07-17-00-37-09-caeb9e2e-8b54-42f6-b4f7-cbddfc5090e6
示例日誌條目
下面是一些示例日誌條目。
示例日誌條目:有創造力的
{
"session_id": "9b393cbf9a4d4528a850c79a283b8b25",
"summary_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25",
"adbreak_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b",
"account_id": "5100000201001",
"live_account_id": "e807026ec740429985d04b91cf936f81",
"live_job_id": "992ab149ce3e40b6a5b9c6d9842a0979",
"kind": "Creative",
"timestamp": "2021-06-28T23:12:09.632710435Z",
"span_id": 3223646445953404770,
"parent_span_id": 3004116763771491424,
"state": "active",
"fk": "ad-id-1",
"source_url": "https://somesourceasset.com/adcreative.mp4"
}
示例日誌條目:廣告請求
{
"session_id": "9b393cbf9a4d4528a850c79a283b8b25",
"summary_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25",
"adbreak_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b",
"account_id": "5100000201001",
"live_account_id": "e807026ec740429985d04b91cf936f81",
"live_job_id": "992ab149ce3e40b6a5b9c6d9842a0979",
"kind": "AdRequest",
"timestamp": "2021-06-28T23:12:09.585696184Z",
"span_id": 5596747569705325007,
"parent_span_id": 5124250183191295144,
"url": "https://ad-provider-host.com/path/to/ad-handler",
"request_headers": {
"Referer": [
"https://referer-host.com"
],
"User-Agent": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"
],
"X-Forwarded-For": [
"127.0.0.1"
]
},
"response_headers": {
"Accept-Ranges": [
"bytes"
],
"Age": [
"66004"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"1289"
],
"Content-Type": [
"application/xml"
],
"Date": [
"Mon, 28 Jun 2021 04:52:06 GMT"
],
"Etag": [
"\"0801eec0f0f1c1378b409f0b1eaa241e\""
],
"Last-Modified": [
"Wed, 28 Dec 2016 20:10:29 GMT"
],
"Server": [
"AmazonS3"
],
"Via": [
"1.1 56c69262ecfa7873b40572ba8a323243.cloudfront.net (CloudFront)"
],
"X-Amz-Cf-Id": [
"2SvJiWD30gamE4-w6KL3z9shrGpU2ZAvujfsBTJbC9KSoAy0UDzDBw=="
],
"X-Amz-Cf-Pop": [
"HIO50-C1"
],
"X-Cache": [
"Hit from cloudfront"
]
},
"status_code": 200,
"duration": 1910203645,
"provider": "vast_3"
}
示例日誌條目:會議摘要
{
"account_id": "5100000201001",
"session_id": "9b393cbf9a4d4528a850c79a283b8b25",
"live_account_id": "e807026ec740429985d04b91cf936f81",
"live_job_id": "992ab149ce3e40b6a5b9c6d9842a0979",
"live_app_id": "a51db89789e0413a87ee356bed6965b0",
"region": "us-west-2",
"kind": "SessionSummary",
"duration": 1923000000,
"status_code": 200,
"timestamp": "2021-06-28T23:12:11.499Z",
"adbreak_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b",
"summary_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25",
"odur": 32000000000,
"rdur": 32000000000,
"sdur": 34000000000,
"ad_count": 1,
"client_only_tracking": false,
"sls": false,
"ads": [
{
"type": "midroll",
"fk": "ad-id-1",
"imps": [
{
"type": "AdStart",
"url": "https://ad-provider-host.com/api/tracking?event=impression"
},
{
"type": "AdFirstQuartile",
"url": "https://ad-provider-host.com/api/tracking?event=firstQuartile"
},
{
"type": "AdMidpoint",
"url": "https://ad-provider-host.com/api/tracking?event=midpoint"
},
{
"type": "AdThirdQuartile",
"url": "https://ad-provider-host.com/api/tracking?event=thirdQuartile"
},
{
"type": "AdComplete",
"url": "https://ad-provider-host.com/api/tracking?event=complete"
}
],
"cdur": 30322000000
}
]
}
示例日誌條目:印象
{
"account_id": "5100000201001",
"region": "us-west-2",
"kind": "Impression",
"impression_type": "AdStart",
"summary_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25",
"adbreak_id": "adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b",
"live_account_id": "e807026ec740429985d04b91cf936f81",
"live_job_id": "992ab149ce3e40b6a5b9c6d9842a0979",
"session_id": "9b393cbf9a4d4528a850c79a283b8b25",
"live_app_id": "a51db89789e0413a87ee356bed6965b0",
"timestamp": "2021-06-28T23:12:11.499Z",
"url": "https://ad-provider-host.com/api/tracking?event=impression",
"request_headers": {
"Connection": "keep-alive",
"X-Forwarded-For": "127.0.0.1",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15",
"Referer": "https://referer-host.com"
},
"status_code": 200,
"duration": 114524248.00000153
}
整批
上面的示例是單獨的條目。Brightcove 將匯總這些,用新行分隔,並將匯總的日誌寫入您的 S3 存儲桶。以下是完整日誌文件的示例。
示例完整日誌文件
{"session_id":"9b393cbf9a4d4528a850c79a283b8b25","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"Creative","timestamp":"2021-06-28T23:12:09.632710435Z","span_id":3223646445953404770,"parent_span_id":3004116763771491424,"state":"active","fk":"ad-id-1","source_url":"https://somesourceasset.com/adcreative.mp4"}
{"session_id":"9b393cbf9a4d4528a850c79a283b8b25","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"AdRequest","timestamp":"2021-06-28T23:12:09.585696184Z","span_id":5596747569705325007,"parent_span_id":5124250183191295144,"url":"https://ad-provider-host.com/path/to/ad-handler","request_headers":{"Referer":["https://referer-host.com"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"],"X-Forwarded-For":["127.0.0.1"]},"response_headers":{"Accept-Ranges":["bytes"],"Age":["66004"],"Connection":["keep-alive"],"Content-Length":["1289"],"Content-Type":["application/xml"],"Date":["Mon, 28 Jun 2021 04:52:06 GMT"],"Etag":["\"0801eec0f0f1c1378b409f0b1eaa241e\""],"Last-Modified":["Wed, 28 Dec 2016 20:10:29 GMT"],"Server":["AmazonS3"],"Via":["1.1 56c69262ecfa7873b40572ba8a323243.cloudfront.net (CloudFront)"],"X-Amz-Cf-Id":["2SvJiWD30gamE4-w6KL3z9shrGpU2ZAvujfsBTJbC9KSoAy0UDzDBw=="],"X-Amz-Cf-Pop":["HIO50-C1"],"X-Cache":["Hit from cloudfront"]},"status_code":200,"duration":1910203645,"provider":"vast_3"}
{"account_id":"5100000201001","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","live_app_id":"a51db89789e0413a87ee356bed6965b0","region":"us-west-2","kind":"SessionSummary","duration":1923000000,"status_code":200,"timestamp":"2021-06-28T23:12:11.499Z","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","odur":32000000000,"rdur":32000000000,"sdur":34000000000,"ad_count":1,"client_only_tracking":false,"sls":false,"ads":[{"type":"midroll","fk":"ad-id-1","imps":[{"type":"AdStart","url":"https://ad-provider-host.com/api/tracking?event=impression"},{"type":"AdFirstQuartile","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile"},{"type":"AdMidpoint","url":"https://ad-provider-host.com/api/tracking?event=midpoint"},{"type":"AdThirdQuartile","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile"},{"type":"AdComplete","url":"https://ad-provider-host.com/api/tracking?event=complete"}],"cdur":30322000000}]}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdStart","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:12:11.499Z","url":"https://ad-provider-host.com/api/tracking?event=impression","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":114524248.00000153}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdFirstQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:12:11.501Z","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":94157248.00014868}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdMidpoint","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:12:11.502Z","url":"https://ad-provider-host.com/api/tracking?event=midpoint","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":9150570.999830961}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdThirdQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:12:11.503Z","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":13312409.999780357}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdComplete","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-0e96c29df5214a4195e7e94f9cf90c8b","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:12:11.504Z","url":"https://ad-provider-host.com/api/tracking?event=complete","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":12268809.00003016}
{"session_id":"9b393cbf9a4d4528a850c79a283b8b25","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"Creative","timestamp":"2021-06-28T23:14:35.099703094Z","span_id":6674394482725440815,"parent_span_id":1318535851542687167,"state":"active","fk":"ad-id-1","source_url":"https://somesourceasset.com/adcreative.mp4"}
{"session_id":"9b393cbf9a4d4528a850c79a283b8b25","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"AdRequest","timestamp":"2021-06-28T23:14:35.037747217Z","span_id":879241329021924545,"parent_span_id":2738404345413976285,"url":"https://ad-provider-host.com/path/to/ad-handler","request_headers":{"Referer":["https://referer-host.com"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"],"X-Forwarded-For":["127.0.0.1"]},"response_headers":{"Accept-Ranges":["bytes"],"Age":["66150"],"Connection":["keep-alive"],"Content-Length":["1289"],"Content-Type":["application/xml"],"Date":["Mon, 28 Jun 2021 04:52:06 GMT"],"Etag":["\"0801eec0f0f1c1378b409f0b1eaa241e\""],"Last-Modified":["Wed, 28 Dec 2016 20:10:29 GMT"],"Server":["AmazonS3"],"Via":["1.1 1b0911478686968732f973d6e5e31d11.cloudfront.net (CloudFront)"],"X-Amz-Cf-Id":["gwjYU97w_Ko7_VOEJo_I7mQIia4aUxI6NhpL79QBwcGovwgqsiQQ2Q=="],"X-Amz-Cf-Pop":["HIO50-C1"],"X-Cache":["Hit from cloudfront"]},"status_code":200,"duration":62517876,"provider":"vast_3"}
{"account_id":"5100000201001","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","live_app_id":"a51db89789e0413a87ee356bed6965b0","region":"us-west-2","kind":"SessionSummary","duration":74000000,"status_code":200,"timestamp":"2021-06-28T23:14:35.103Z","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","odur":32000000000,"rdur":32000000000,"sdur":34000000000,"ad_count":1,"client_only_tracking":false,"sls":false,"ads":[{"type":"midroll","fk":"ad-id-1","imps":[{"type":"AdStart","url":"https://ad-provider-host.com/api/tracking?event=impression"},{"type":"AdFirstQuartile","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile"},{"type":"AdMidpoint","url":"https://ad-provider-host.com/api/tracking?event=midpoint"},{"type":"AdThirdQuartile","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile"},{"type":"AdComplete","url":"https://ad-provider-host.com/api/tracking?event=complete"}],"cdur":30322000000}]}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdStart","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:14:35.104Z","url":"https://ad-provider-host.com/api/tracking?event=impression","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":68253645.00004798}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdFirstQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:14:35.105Z","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":73142498.99983406}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdMidpoint","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:14:35.106Z","url":"https://ad-provider-host.com/api/tracking?event=midpoint","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":7360496.000153944}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdThirdQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:14:35.107Z","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":15530145.999975502}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdComplete","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c-9b393cbf9a4d4528a850c79a283b8b25","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-522e68923faf435ebc5710ec9ba12f8c","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"9b393cbf9a4d4528a850c79a283b8b25","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:14:35.108Z","url":"https://ad-provider-host.com/api/tracking?event=complete","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":18099798.00018482}
{"session_id":"3799e473b53d47c1a4aba1a96282ae63","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"Creative","timestamp":"2021-06-28T23:17:50.848526142Z","span_id":1072414950932142870,"parent_span_id":3759119308175968927,"state":"active","fk":"ad-id-1","source_url":"https://somesourceasset.com/adcreative.mp4"}
{"session_id":"3799e473b53d47c1a4aba1a96282ae63","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"AdRequest","timestamp":"2021-06-28T23:17:50.803309913Z","span_id":5501083171814814828,"parent_span_id":2777154131847882503,"url":"https://ad-provider-host.com/path/to/ad-handler","request_headers":{"Referer":["https://referer-host.com"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"],"X-Forwarded-For":["127.0.0.1"]},"response_headers":{"Accept-Ranges":["bytes"],"Age":["66345"],"Connection":["keep-alive"],"Content-Length":["1289"],"Content-Type":["application/xml"],"Date":["Mon, 28 Jun 2021 04:52:06 GMT"],"Etag":["\"0801eec0f0f1c1378b409f0b1eaa241e\""],"Last-Modified":["Wed, 28 Dec 2016 20:10:29 GMT"],"Server":["AmazonS3"],"Via":["1.1 1cc6ed0d2d3dd9529ce544f9dfe61a53.cloudfront.net (CloudFront)"],"X-Amz-Cf-Id":["6ChJOWTNhXQ54nrI-0NfiI3HELyzVmDKFmi-6JhCYyzzcnh-FejM5A=="],"X-Amz-Cf-Pop":["HIO50-C1"],"X-Cache":["Hit from cloudfront"]},"status_code":200,"duration":463516026,"provider":"vast_3"}
{"account_id":"5100000201001","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","live_app_id":"a51db89789e0413a87ee356bed6965b0","region":"us-west-2","kind":"SessionSummary","duration":481000000,"status_code":200,"timestamp":"2021-06-28T23:17:51.274Z","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","odur":32000000000,"rdur":32000000000,"sdur":34000000000,"ad_count":1,"client_only_tracking":false,"sls":false,"ads":[{"type":"midroll","fk":"ad-id-1","imps":[{"type":"AdStart","url":"https://ad-provider-host.com/api/tracking?event=impression"},{"type":"AdFirstQuartile","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile"},{"type":"AdMidpoint","url":"https://ad-provider-host.com/api/tracking?event=midpoint"},{"type":"AdThirdQuartile","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile"},{"type":"AdComplete","url":"https://ad-provider-host.com/api/tracking?event=complete"}],"cdur":30322000000}]}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdStart","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:17:51.276Z","url":"https://ad-provider-host.com/api/tracking?event=impression","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":100628732.00001195}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdFirstQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:17:51.277Z","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":72044457.99998939}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdMidpoint","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:17:51.278Z","url":"https://ad-provider-host.com/api/tracking?event=midpoint","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":7449264.000169933}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdThirdQuartile","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:17:51.279Z","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":7948938.000015914}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdComplete","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-f1eb781318d847eea4941009c37fd115","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:17:51.280Z","url":"https://ad-provider-host.com/api/tracking?event=complete","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":9952213.999815285}
{"session_id":"3799e473b53d47c1a4aba1a96282ae63","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"Creative","timestamp":"2021-06-28T23:21:31.192038303Z","span_id":2134906764417527191,"parent_span_id":8679583036437874814,"state":"active","fk":"ad-id-1","source_url":"https://somesourceasset.com/adcreative.mp4"}
{"session_id":"3799e473b53d47c1a4aba1a96282ae63","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db","account_id":"5100000201001","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","kind":"AdRequest","timestamp":"2021-06-28T23:21:31.154993034Z","span_id":8570463038803610161,"parent_span_id":3420437761948447498,"url":"https://ad-provider-host.com/path/to/ad-handler","request_headers":{"Referer":["https://referer-host.com"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"],"X-Forwarded-For":["127.0.0.1"]},"response_headers":{"Accept-Ranges":["bytes"],"Age":["66566"],"Connection":["keep-alive"],"Content-Length":["1289"],"Content-Type":["application/xml"],"Date":["Mon, 28 Jun 2021 04:52:06 GMT"],"Etag":["\"0801eec0f0f1c1378b409f0b1eaa241e\""],"Last-Modified":["Wed, 28 Dec 2016 20:10:29 GMT"],"Server":["AmazonS3"],"Via":["1.1 41e349e25dc4bc856d0e5d2c162428a0.cloudfront.net (CloudFront)"],"X-Amz-Cf-Id":["PdYetvq3mfyZyeYyzW4zBsRGTaopewgHBTkDGKU3d4CgwrKATC8HYQ=="],"X-Amz-Cf-Pop":["HIO50-C1"],"X-Cache":["Hit from cloudfront"]},"status_code":200,"duration":37220442,"provider":"vast_3"}
{"account_id":"5100000201001","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","live_app_id":"a51db89789e0413a87ee356bed6965b0","region":"us-west-2","kind":"SessionSummary","duration":51000000,"status_code":200,"timestamp":"2021-06-28T23:21:31.195Z","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db-3799e473b53d47c1a4aba1a96282ae63","odur":32000000000,"rdur":32000000000,"sdur":34000000000,"ad_count":1,"client_only_tracking":false,"sls":false,"ads":[{"type":"midroll","fk":"ad-id-1","imps":[{"type":"AdStart","url":"https://ad-provider-host.com/api/tracking?event=impression"},{"type":"AdFirstQuartile","url":"https://ad-provider-host.com/api/tracking?event=firstQuartile"},{"type":"AdMidpoint","url":"https://ad-provider-host.com/api/tracking?event=midpoint"},{"type":"AdThirdQuartile","url":"https://ad-provider-host.com/api/tracking?event=thirdQuartile"},{"type":"AdComplete","url":"https://ad-provider-host.com/api/tracking?event=complete"}],"cdur":30322000000}]}
{"account_id":"5100000201001","region":"us-west-2","kind":"Impression","impression_type":"AdStart","summary_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db-3799e473b53d47c1a4aba1a96282ae63","adbreak_id":"adBreak-992ab149ce3e40b6a5b9c6d9842a0979-20063d6dae794906af1251c6948400db","live_account_id":"e807026ec740429985d04b91cf936f81","live_job_id":"992ab149ce3e40b6a5b9c6d9842a0979","session_id":"3799e473b53d47c1a4aba1a96282ae63","live_app_id":"a51db89789e0413a87ee356bed6965b0","timestamp":"2021-06-28T23:21:31.197Z","url":"https://ad-provider-host.com/api/tracking?event=impression","request_headers":{"Connection":"keep-alive","X-Forwarded-For":"127.0.0.1","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15","Referer":"https://referer-host.com"},"status_code":200,"duration":106990529.99960259}
日誌字段
公共領域
所有日誌類型共享這些字段。
欄位 | 類型 | 描述 |
---|---|---|
session_id |
串 | 會話 ID。每個觀眾都是獨一無二的。 |
summary_id |
串 | 會話摘要 ID。對於 VOD,與 SessionID 相同。對於直播,每個廣告時段的每個會話都是唯一的。 |
adbreak_id |
串 | 廣告插播 ID。每個廣告插播時間唯一 |
account_id |
串 | 視頻雲帳戶 ID。 |
live_account_id |
串 | 真實賬戶 ID。 |
video_id |
串 | 視訊雲端視訊 ID。 |
live_job_id |
串 | 實時作業 ID。 |
live_app_id |
串 | 實時 SSAI 應用程序 ID。 |
title_id |
串 | VOD 標題 ID。 |
kind |
串 | 此日誌的日誌種類。Creative , AdRequest , SessionSummary , 或者Impression . |
timestamp |
串 | 日誌的時間戳。編組為 RFC3339 格式。例如“2021-06-03T11:39:22.787Z”。 |
span_id |
unit64 | SpanID 是此日誌的跟踪 ID。 |
parent_span_id |
unit64 | ParentSpanID 引用父日誌的 SpanID。此值可用於跟踪 VAST 包裝器調用鏈。 |
error |
布林 | 如果存在與此日誌關聯的錯誤,則為真。其含義取決於日誌種類。 |
HTTP 字段
這些字段在用於向廣告提供商等外部服務發出的 HTTP 請求的日誌類型之間共享。
具有 HTTP 字段的日誌種類是:
欄位 | 類型 | 描述 |
---|---|---|
url |
串 | 請求網址。 |
request_headers |
地圖[字符串][]字符串 | 請求中發送的標頭。使用鍵的標題名稱和標題值的字符串列表進行映射。 |
response_headers |
地圖[字符串][]字符串 | 響應中收到的標頭。使用鍵的標題名稱和標題值的字符串列表進行映射。 |
status_code |
整數 | 響應狀態代碼。 |
duration |
整數64 | 以納秒為單位的請求持續時間。 |
SessionSummary 字段
包含會話的廣告插入摘要。
包括公共領域 .
欄位 | 類型 | 描述 |
---|---|---|
odur |
整數64 | 要插入的廣告的 OriginalDuration。值以納秒為單位。 |
rdur |
整數64 | RequestedDuration 可能與實時流中的 OriginalDuration 不同,具體取決於會話在廣告中斷期間連接的時間。例如session join 10s into 30s adbreak,Live會請求20s的廣告(odur=30,rdur=20)。值以納秒為單位。 |
sdur |
整數64 | SubstitutedDuration 是用廣告替換的實時塊的持續時間。此值可能與 OriginalDuration 不同,具體取決於從提供商返回的廣告的持續時間以及是否插入了 slate。 |
ad_count |
整數 | 插入的廣告數。 |
ads |
[] 廣告摘要 | 關於每個插入的廣告的摘要列表。 |
sls |
布林 | 如果廣告插播啟用了實時 SLS,則 SLS 為真。 |
client_only_tracking |
布林 | 如果廣告時段啟用了實時客戶端跟踪,則 ClientOnlyTracking 為真。 |
AdSummary 字段
欄位 | 類型 | 描述 |
---|---|---|
imps |
[] 印象總結 | |
fk |
串 | 此廣告的創意外鍵。 |
type |
串 | 廣告類型。例如前貼片廣告、中貼片廣告等。 |
cdur |
整數64 | CreativeDuration 是此廣告的持續時間。值以納秒為單位。 |
ImpressionSummary 字段
欄位 | 類型 | 描述 |
---|---|---|
type |
串 | 印象型。AdStart , AdComplete , AdFirstQuartile , AdMidpoint , 或者 . |
url |
串 | 將印象發送到的 URL。 |
AdRequest 字段
包含廣告提供商的 HTTP 請求和響應數據。
欄位 | 類型 | 描述 |
---|---|---|
provider |
串 | 廣告提供商類型。例如 vast3、vmap 等。 |
創新領域
包含有關來自廣告提供商的廣告創意的信息。
包括公共領域 .
欄位 | 類型 | 描述 |
---|---|---|
state |
串 |
請求時廣告素材的狀態。
VOD 的值:
|
fk |
串 | 創意的外鍵。 |
record_id |
串 | 由 VOD 使用。 |
source_url |
串 | 廣告素材的源網址。 |
印象字段
所有日誌類型共享這些字段。
欄位 | 類型 | 描述 |
---|---|---|
impression_type |
串 | 印象型。例如 AdStart、AdComplete 等。 |