How Are My Different Brands Performing?

Context: Your company has many different brands, so you use a different player for each brand. You want to see how each brand is performing.

How To in v3 Analytics

Query against the asset and player_id dimensions, filtering to select only player 1 and player 2. The results include the plays_requested metric.
[GET] /v3/analytics/reports/?
report_type=performance
&dimensions=asset,player_id
&filters=player_id=='player1',player_id=='player2'
&metrics=plays_requested
&start_date=2014-10-10
&end_date=2014-10-20
&api_key=yourApiKey
https://api.ooyala.com/v3/analytics/reports/?report_type=performance&dimensions=asset,player_id&filters=player_id==’player1’ player_id==’player2’&metrics=plays_requested&start_date=2014-10-10&end_date=2014-10-20 &api_key=yourApiKey&expires=yourExpiration& signature=yourSignature

Response:

                     
{  
   "status": "OK",
   "results":[  
      {
         "data":[  
            {  
              "metrics":{  
                  "plays_requested":2500
               },
               "group":{  
                  "asset":"asset_id_1",
                  "player_id":"player1",
                  "name":"unknown",
                  "status":"unknown",
                  "type":"unknown"
               }  
            },
            {  
               "metrics":{  
                  "plays_requested":2200
               },
               "group":{  
                  "asset":"asset_id_2",
                  "player_id":"player2",
                  "name":"unknown",
                  "status":"unknown",
                  "type":"unknown"
               }      
            }
         ],
         "start_date":"2014-10-10T00:00Z",
         "end_date":"2014-10-20T00:00Z"
      }
   ],
   "status_code": "200",
   "total_count": "100",
   "result_count": "2"
}

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