Performance (Deprecated)

The asset performance report shows comprehensive performance at the account or asset level.

Warning: The v2 Analytics API has been deprecated. See Ooyala IQ Analytics for more details on the new v3 Analytics API.

Get Performance Analytics (Videos)

[GET]/v2/analytics/reports/level/performance/total/date_range 
[GET]/v2/analytics/reports/account/performance/videos/date_range

Get Performance Analytics (Geo)

[GET]/v2/analytics/reports/level/performance/countries[/country]/date_range
[GET]/v2/analytics/reports/level/performance/regions/date_range
[GET]/v2/analytics/reports/level/performance/cities/date_range
[GET]/v2/analytics/reports/level/performance/countries/country/regions[/region]/date_range
[GET]/v2/analytics/reports/level/performance/countries/country/regions/region/cities[/city]/date_range
[GET]/v2/analytics/reports/level/performance/dmas[/dma]/date_range

Get Performance Analytics (Domains and URLs)

[GET]/v2/analytics/reports/level/performance/domains[/domain]/date_range
[GET]/v2/analytics/reports/level/performance/domains/domain/urls[/url]/date_range
[GET]/v2/analytics/reports/level/performance/urls[/url]/date_range

Get Performance Analytics (Platforms and Devices)

[GET]/v2/analytics/reports/level/performance/device_types[/devicetype]/date_range
[GET]/v2/analytics/reports/level/performance/device_types/devicetype/platforms[/platform]/date_range
[GET]/v2/analytics/reports/level/performance/platforms[/platform]/date_range

Examples

This example returns video performance results:

[GET]/v2/analytics/reports/account/performance/videos/2012-01-01...2012-01-24

which returns a response similar to the following:

{  
   "results":[  
      {  
         "name":"Lady GAGA London Live Special",
         "movie_data":{  
            "embed_code":"dkY3YzMzoyy7arcaUiJIoQ-9N6nz-KeG",
            "type":"Video",
            "status":"live"
         },
         "metrics":{  
            "video":{  
               "plays":123766,
               "video_starts":120665,
               "playthrough_50":1430,
               "uniq_plays":{  
                  "weekly_uniqs":104137,
                  "monthly_uniqs":102876,
                  "daily_uniqs":107163
               },
               "playthrough_100":788,
               "playthrough_75":1171,
               "initial_plays":123467,
               "displays":136751,
               "uniq_video_starts":{  
                  "weekly_uniqs":102905,
                  "monthly_uniqs":101686,
                  "daily_uniqs":105786
               },
               "uniq_displays":{  
                  "weekly_uniqs":115246,
                  "monthly_uniqs":113813,
                  "daily_uniqs":118562
               },
               "time_watched":2965310785,
               "video_bytes_downloaded":623902999875,
               "playthrough_25":1952
            }
         }
      },
      {  
         "name":"NISSAN Presents Premium Live Collection",
         "movie_data":{  
            "embed_code":"NnbmExMzoexZjgi3lYb90VORV46sxvQV",
            "type":"Channel",
            "status":"live"
         },
         "metrics":{  
            "video":{  
               "plays":123486,
               "video_starts":120396,
               "playthrough_50":342,
               "replays":83,
               "uniq_replays":{  
                  "weekly_uniqs":72,
                  "monthly_uniqs":71,
                  "daily_uniqs":73
               },
               "uniq_plays":{  
                  "weekly_uniqs":104135,
                  "monthly_uniqs":102874,
                  "daily_uniqs":107153
               },
               "playthrough_100":76,
               "playthrough_75":178,
               "initial_plays":123469,
               "displays":136447,
               "uniq_video_starts":{  
                  "weekly_uniqs":102907,
                  "monthly_uniqs":101688,
                  "daily_uniqs":105780
               },
               "uniq_displays":{  
                  "weekly_uniqs":115246,
                  "monthly_uniqs":113810,
                  "daily_uniqs":118553
               },
               "time_watched":6305296573,
               "playthrough_25":969
            }
         }
      }
   }
}
Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

This example returns the performance results for the account:

[GET]/v2/analytics/reports/account/performance/total/2011-08-01...2011-08-02

which returns a response similar to the following:

{  
   "results":[  
      {  
         "metrics":{  
            "video":{  
               "plays":969,
               "playthrough_50":350,
               "uniq_replays":{  
                  "weekly_uniqs":13,
                  "monthly_uniqs":13,
                  "daily_uniqs":14
               },
               "replays":15,
               "uniq_player_loads":{  
                  "weekly_uniqs":681,
                  "monthly_uniqs":681,
                  "daily_uniqs":778
               },
               "uniq_plays":{  
                  "weekly_uniqs":367,
                  "monthly_uniqs":367,
                  "daily_uniqs":403
               },
               "playthrough_100":229,
               "playthrough_75":293,
               "displays":2707,
               "initial_plays":693,
               "uniq_displays":{  
                  "weekly_uniqs":742,
                  "monthly_uniqs":742,
                  "daily_uniqs":865
               },
               "time_watched":45596418,
               "player_loads":1971,
               "video_bytes_downloaded":4864577326,
               "playthrough_25":451
            }
         },
         "id":"total"
      }
   ]
}

This example returns the top two cities, ordered by plays:

[GET]/v2/analytics/reports/account/performance/cities/2011-08-01...2011-08-02?limit=2&order_by=plays

which returns a response similar to the following:

{  
   "results":[  
      {  
         "name":"Sydney",
         "geo_data":"{\"location\":{\"lat\":\"-33.883333\",\"long\":\"151.216667\"}}",
         "id":"AU:7256:2448",
         "metrics":{  
            "video":{  
               "plays":99,
               "playthrough_50":30,
               "uniq_replays":{  
                  "weekly_uniqs":1,
                  "monthly_uniqs":1,
                  "daily_uniqs":1
               },
               "replays":1,
               "uniq_player_loads":{  
                  "weekly_uniqs":26,
                  "monthly_uniqs":26,
                  "daily_uniqs":33
               },
               "uniq_plays":{  
                  "weekly_uniqs":22,
                  "monthly_uniqs":22,
                  "daily_uniqs":29
               },
               "playthrough_100":13,
               "playthrough_75":20,
               "displays":270,
               "initial_plays":77,
               "uniq_displays":{  
                  "weekly_uniqs":28,
                  "monthly_uniqs":28,
                  "daily_uniqs":37
               },
               "time_watched":2711089,
               "player_loads":196,
               "video_bytes_downloaded":505785218,
               "playthrough_25":40
            }
         }
      },
      {  
         "name":"Mountain View",
         "geo_data":"{\"location\":{\"lat\":\"37.3861111\",\"long\":\"-122.0827778\"}}",
         "id":"US:9280:20142",
         "metrics":{  
            "video":{  
               "plays":90,
               "playthrough_50":31,
               "uniq_replays":{  
                  "weekly_uniqs":2,
                  "monthly_uniqs":2,
                  "daily_uniqs":2
               },
               "replays":3,
               "uniq_player_loads":{  
                  "weekly_uniqs":59,
                  "monthly_uniqs":59,
                  "daily_uniqs":82
               },
               "uniq_plays":{  
                  "weekly_uniqs":34,
                  "monthly_uniqs":34,
                  "daily_uniqs":41
               },
               "playthrough_100":20,
               "playthrough_75":28,
               "displays":355,
               "initial_plays":59,
               "uniq_displays":{  
                  "weekly_uniqs":67,
                  "monthly_uniqs":67,
                  "daily_uniqs":98
               },
               "time_watched":4069756,
               "player_loads":263,
               "video_bytes_downloaded":374955894,
               "playthrough_25":33
            }
         }
      }
   ],
   "next_page_token":"W1siY29sdW1uIiwiQ086MTAwNjU6NDcwMiJdLFsiZGlyZWN0aW9uIiwwXSxbImluZGV4IiwxMF0sWyJ2YWx1ZSIsMjJdXQ=="
}
Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

This example returns the top two cities in California, ordered by plays:

[GET]/v2/analytics/reports/account/performance/countries/US/regions/California/cities/2011-08-01...2011-08-02?limit=2&order_by=plays

which returns a response similar to the following:

{  
   "results":[  
      {  
         "name":"San Bruno",
         "geo_data":"{\"location\":{\"lat\":\"37.6305556\",\"long\":\"-122.4100000\"}}",
         "id":"US:9280:20850",
         "metrics":{  
            "video":{  
               "plays":15,
               "uniq_player_loads":{  
                  "weekly_uniqs":1,
                  "monthly_uniqs":1,
                  "daily_uniqs":1
               },
               "uniq_plays":{  
                  "weekly_uniqs":1,
                  "monthly_uniqs":1,
                  "daily_uniqs":1
               },
               "displays":36,
               "initial_plays":14,
               "uniq_displays":{  
                  "weekly_uniqs":1,
                  "monthly_uniqs":1,
                  "daily_uniqs":1
               },
               "time_watched":81511,
               "player_loads":29,
               "video_bytes_downloaded":41992404,
               "playthrough_25":2
            }
         }
      },
      {  
         "name":"Mountain View",
         "geo_data":"{\"location\":{\"lat\":\"37.3861111\",\"long\":\"-122.0827778\"}}",
         "id":"US:9280:20142",
         "metrics":{  
            "video":{  
               "plays":12,
               "playthrough_50":2,
               "uniq_replays":{  
                  "weekly_uniqs":1,
                  "monthly_uniqs":1,
                  "daily_uniqs":1
               },
               "replays":2,
               "uniq_player_loads":{  
                  "weekly_uniqs":18,
                  "monthly_uniqs":18,
                  "daily_uniqs":18
               },
               "uniq_plays":{  
                  "weekly_uniqs":7,
                  "monthly_uniqs":7,
                  "daily_uniqs":7
               },
               "playthrough_100":1,
               "playthrough_75":2,
               "displays":58,
               "initial_plays":5,
               "uniq_displays":{  
                  "weekly_uniqs":19,
                  "monthly_uniqs":19,
                  "daily_uniqs":19
               },
               "time_watched":788648,
               "player_loads":38,
               "video_bytes_downloaded":45327745,
               "playthrough_25":3
            }
         }
      }
   ],
   "next_page_token":"W1siY29sdW1uIiwiVVM6OTI4MDoyMDI4MCJdLFsiZGlyZWN0aW9uIiwwXSxbImluZGV4IiwxMF1d"
}
Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

This example returns performance results for asset 4234fds34ude:

[GET]/v2/analytics/reports/asset/4234fds34ude/performance/total/2011-08-01

which returns a response with no results:

{  
   "response_code":404,
   "message":"No data found."
}
Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

해당 내용이 도움 되었습니까?