问题
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.
Here's an API Example link.
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).
回答1:
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.
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".
So for me the API data was always corresponding with youtube's analytics integration.
来源:https://stackoverflow.com/questions/25147822/youtube-analytics-api-channel-the-response-has-no-rows-parameter