The following YouTube Analytics query is suddenly failing for me (has worked for the past couple of weeks):
https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel==[my channel id]&start-date=2010-10-27&end-date=2010-10-30&metrics=views&dimensions=day,insightTrafficSourceType&sort=day&prettyPrint=false
The error:
{"error":{"errors":[{"domain":"global","reason":"badRequest","message":"Invalid query. Query did not conform to the expectations."}],"code":400,"message":"Invalid query. Query did not conform to the expectations."}}
Appears to be related to the "insightTrafficSourceType" dimension as the query succeeds if I only use the "day" dimension. This also fails if I use the "insightPlaybackLocationType" dimensions.
Did something change with the API? I would like to use both of these dimensions in my reports.
Any help would be appreciated.
Thanks, J