Youtube 分析 API 的延迟 [英] Latency with Youtube Analytics API

查看:19
本文介绍了Youtube 分析 API 的延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此页面(http://apiblog.youtube.com/2012/03/keeping-things-fresh.html) 很好地解释了使用 Youtube API 2.0 版获得的结果的延迟.Youtube Analytics API 是否有相同的解释?

This page (http://apiblog.youtube.com/2012/03/keeping-things-fresh.html) does a great job of explaining the latency of results obtained using the Youtube API version 2.0. Is there an equivalent explanation for the Youtube Analytics API?

我今天观看并喜欢了一个之前没有任何操作的视频,然后使用 Analytics API 检索了统计信息(开始日期和结束日期都等于今天),但我的操作没有得到反映 - 所有指标仍然为零.我需要等到明天才能计算今天的总数吗?如果是,有什么方法可以获取当天的分析数据?

I viewed and liked a video today that previously had no action and then retrieved statistics using the Analytics API (with both start-date and end-date equal to today) and my actions were not reflected - all metrics were still zero. Do I need to wait until tomorrow for today's totals to be calculated? If yes, is there any way to get the current day's analytics?

推荐答案

YouTube Analytics API 使用与 YouTube Analytics 网站相同的后端,适用于网站的有关数据新鲜度的公共信息也适用于 API.有一些相关信息在

The YouTube Analytics API uses the same backend as the YouTube Analytics website, and the public information about data freshness that applies to the website also applies to the API. There's some relevant info at

http://support.google.com/youtube/bin/static.py?hl=en&guide=1714169&page=guide.cs

具体来说,页面底部显示(截至目前):

Specifically, the bottom of the page reads (as of right now):

YouTube 分析数据每天更新,这意味着这些报告中显示的数字可能与观看页面、频道页面、视频管理器或其他来源上显示的公开值不同.

YouTube Analytics data is updated daily, which means that the numbers displayed in these reports may differ from the public values displayed on the Watch page, Channel page, Video Manager, or other sources.

我认为我们不能具体保证数据更新的时间,但可以肯定的是,前一天的数据是在太平洋时间午夜(YouTube 分析使用的时区)之后的某个时间处理的.

I don't think we specifically guarantee what time of day the data updates, but it's safe to assume that the previous day's data is processed sometime after midnight Pacific Time (which is the time zone used for YouTube Analytics).

这篇关于Youtube 分析 API 的延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆