No results found

New Calculated Fields in Video Cloud Analytics API

Just a quick post to let Video Cloud customers know that we've added a cool new feature in our Analytics API: calculated fields. Now you can create your own custom fields out of existing metrics. Here's an example:

https://analytics.api.brightcove.com/v1/data?accounts=1752604059001&dimensions=video&fields=avg_seconds_viewed:video_seconds_viewed/video_view,video_seconds_viewed,video.name&sort=-video_view&limit=4

The calculated field is avg_seconds_viewed and is defined in-line as video_seconds_viewed/view_view. You can use standard arithmetic operators to define the calculate field. For detailed information, take a look at the documentation.

We hope you enjoy this new feature!