User Ad Revenue

Description

Use this API to get your user level ad revenue report with ironSource and your mediated ad networks. The response will include the following breakdowns: user ID, Device ID, ad unit, Ad Network, Segment and Placement.

Notes:

  • Pulling user level statistics is done by these 2 steps:
    • API request for report URL, returns with a link to download the report
    • Download the report from the provided link
  • The revenue is calculated based on each user impression eCPM according to the App, Day, network, country, instance.
  • Each API call is per app per day and data is stored and available until 14 days backwards
  • The data for yesterday is available starting today 14:00 PM UTC
  • While yesterday’s data is updated we also refresh the data for the day before yesterday
  • To get the full list of all your applications that are using monetization ad units via API go to this Article 

API request for report URL

Note:  Note: A valid API hit returns a link to the requested file, the file will be available for download for one hour only. 

Authentication Type

Standard authentication

Method

GET  platform.ironsrc.com/partners/userAdRevenue

Required Parameters 

Name Type Description
date String YYYY-MM-DD (UTC Timezone)
appKey String Application Key (as seen on our platform)
reportType Integer Supporting different report types. At the moment, should always set to 1


Request Example URL

https://platform.ironsrc.com/partners/userAdRevenue?appKey=12345678&date=2018-12-15&reportType=1

Response Example URL

https://user-ad-revenue.s3.amazonaws.com/data/bi_databases/uar/tables/network/report_version%3Dv1/publisher_id%3D138101/application_id%3D100411/day%3D2018-07-13/000000.gz?AWSAccessKeyId=AKIAILCCGIXP5G2XNXBA&Expires=1532524582&Signature=1U%2FbrLmb%2F7TwXXdoHtb%2F%2FQjrmz0%3D

Download the report

Simply call the URL in order to fetch the report

Understand the report

Note: The report is generated without columns titles.

The columns titles and order is as followed:

  • Ad Unit
  • Advertising ID
  • Advertising ID Type
  • User ID
  • Segment
  • Placement
  • Ad Network
  • Impressions
  • Revenue

Fields Definition

Field Description Example
Ad Unit The ad unit from which the revenue was generate from rewarded_video
Advertising ID The unique ID of the user’s device 21d0e51a-772d-4b23-9fc4-296126b4f123
Advertising ID Type The unique ID type of the user’s device
IDFA/IDFV/GAID
User ID The user ID being set by the developer 135920
Segment The segment the user is related to as defined on the platform Tier 1
Placement The placement the user is related to as defined on the platform Home_Screen
Ad Network The placement the user is related to as defined on the platform Admob
Impressions The number of ads displayed to the user 1000
Revenue The Revenue generated by the user (USD) 0.5

* Date & App Key aren’t included as they are unique per report (file)