Revenue Analytics Data

The API request comprises of elements that can be combined to query your revenue analytics data. The parameters apply to this table:

https: //api-metrics.flurry.com/public/v1/data/iapRevenue/day/app/product?metrics=revenueUSD,purchases,purchaseQuantity&dateTime=2017-04-01/2017-04-02&sort=revenueUSD&filters=[...]&topN=[..]&sort=[..]&having=[..]&format=[..]&timeZone=[..]

Below are metrics that are available for reporting.

Revenue Analytics Metrics

Metric Description
purchases  
purchaseQuantity  
purchaseDevices  
purchaseUsers  
revenueUSD revenue in USD
revenueEUR revenue in EUR
revenueINR revenue in INR
revenueRUB revenue in RUB
revenueCNY revenue in CNY
revenueBRL revenue in BRL
revenueGBP revenue in GBP
revenueTWD revenue in TWD
revenueJPY revenue in JPY
revenueHKD revenue in HKD
revenueCAD revenue in CAD
revenueILS revenue in ILS
revenueAUD revenue in AUD
revenueOriginalCurrency revenue original currency

Revenue Analytics Dimensions

Below are dimensions and dimension attributes that are available for reporting.

Dimension Description Value
company Flurry company account id, name (default)
app Flurry app id, name (default), company|id, apiKey, platform|id, platform|name
region Region id and name id, name (default)
category App category id and name id, name (default)
campaign    
platform    
product    
productType    
productConsumableType    
productSubscriptionType    
transactionType    
transactionOutcome    
transactionValidationState    
originalPurchaseCurrency    
city    

Revenue Analytics time Grain

  • day
  • week
  • month
  • all

Refer to Analytics API for all the parameters, list of error codes and other general information about this API

Example Revenue Analytics Query

Retrieve IAP purchases for one day for all company apps broken out by each product with revenue in USD

Request:

https://api-metrics.flurry.com/public/v1/data/iapRevenue/day/app/product?metrics=revenueUSD,purchases,purchaseQuantity&dateTime=2017-04-01/2017-04-02&sort=revenueUSD

Response:

{
        "rows": [{
                "dateTime": "2017-04-01 00:00:00.000-07:00",
                "app|name": "foo",
                "product|name": "Coins 10 pack",
                "revenueUSD": 9.99,
                "purchases": 10,
                "purchaseQuantity": 10
            },{
                "dateTime": "2017-04-01 00:00:00.000-07:00",
                "app|name": "foo",
                "product|name": "Coins Bonus Pack",
                "revenueUSD": 99,
                "purchases": 100,
                "purchaseQuantity": 100
            },{
                "dateTime": "2017-04-01 00:00:00.000-07:00",
                "app|name": "bar",
                "product|name": "Monthly Subscription",
                "revenueUSD": 49.5,
                "purchases": 50,
                "purchaseQuantity": 50
            }]
}