Todd Troxell
Todd Troxell

Reputation: 1

What is the proper way to request insightTrafficSourceDetail in youtube's analytics API?

I can see from the docs that insightTrafficSourceDetail is only available for certain combinations of dimensions/filters/number of results, however I can't seem to get a legit query going.

For example:

metrics=views&dimensions=insightTrafficSourceDetail&filter=insightTrafficSourceType==GOOGLE_SEARCH&max-results=1

That seems like it should work to me based on the docs, but I get this:

{"errors":[{"domain":"global","reason":"badRequest","message":"The query is not supported. Check the documentation for supported queries."}],"code":400,"message":"The query is not supported. Check the documentation for supported queries."}

Tried many other combinations to no avail.

I noticed a couple of bug reports around this, so maybe it's broken?

https://code.google.com/p/gdata-issues/issues/detail?id=3995

https://code.google.com/p/gdata-issues/issues/detail?id=3963

Upvotes: 0

Views: 660

Answers (1)

Related Questions