本文介绍了YouTube 分析 API 通道:响应没有行参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用 API 检索 channel 内容的聚合指标时,报告返回一行数据,其中包含指定日期内每个请求指标的总数范围.

When using the API for retrieving aggregated metrics for the channel's content the report returns a single row of data that contains totals for each requested metric during the specified date range.

这是一个 API 示例链接.

有时甚至没有收到帐户信息;对象 rows 不存在于响应中,而仅存在于 columnHeaders,即使该帐户已填充了适当的字段(我可以在 youtube 上的个人资料中看到它).

Sometimes not even account information is received; the object rows is not present in the response but only columnHeaders, even though the account has the appropriate fields populated (I can see it on the profile available on youtube).

推荐答案

我和 jay 做了同样的观察.不知何故,一些指标没有返回结果行.但对我来说,这些缺失的行在 youtube 的 Analytics 集成中也不可用.

I have made the same observations as jay. Somehow some metrics returned no result rows. But for me it turned out that those missing rows were also not available in youtube's Analytics integration.

如您所见,所有Interaktionen(交互)"的值为 0,但Geteilte Inhalte(份额)"列与其他列不同.它没有附加值.如果您点击该指标,您会收到以下通知

As you can see, all "Interaktionen (Interactions)" have 0 values, but the "Geteilte Inhalte (shares)" column differs from the rest. It has no values attached. If you click on the metric you get the following notification

它说:目前没有可用的数据,请选择不同的时间范围或再等几天".

It says: "There is no data available at the moment, chose a diffrent time range or wait some more days".

所以对我来说,API 数据总是与 youtube 的分析集成相对应.

So for me the API data was always corresponding with youtube's analytics integration.

这篇关于YouTube 分析 API 通道:响应没有行参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 03:03