Skip to main content

Unity Ads Advertising Statistics API

Last updated 10/05/2026
tip

Note that data generated by third-party data integration counts toward the cluster's data consumption

Summary​

Interface overview​

InterfaceTypeGranularityAttributionCostRevenueImpressionsClicksConversions
Advertising Statistics APIAPIAggregated metrics✅✅✅✅

This plan sends Unity Ads ad delivery data back to Thinking Analytics (hereinafter the AE system) through the Advertising Statistics API. The plan supports:

  • Sending basic report metrics from Unity Ads, such as cost, clicks, and impressions, back to the AE system

Integration process​

  1. Log in to the Unity Dashboard and get the Organization ID and API Key of the project whose data you want to ingest
  2. Log in to the AE backend, go to the Third-party Integration module, add a Unity integration plan, and complete the related configuration
  3. Check whether the AE system receives the data successfully, and build reports

1. Get the authorization information​

1.1 Get the Organization ID​

In the Unity Dashboard, select the Settings page under Growth in the left sidebar. In the Organization table, find the Organization ID, then copy and save it (note that this is not the Organization Core ID).

1.2 Get the API Key​

Select the API Management tab under Growth in the left sidebar again. In the Stats API Access table, find the API Key, then copy and save it.

2. Plan configuration​

After you get the authorization information from the Unity backend, log in to the AE system and configure the new plan in the Third-party Integration module. The image below shows the configuration page of the Unity Ads Advertising Statistics API. Follow this section to create the plan:

2.1 Authorization information configuration​

Click the Configure authorization information button under Authorization Information and enter the information you obtained in the previous step in the pop-up:

2.2 Sync Schedule​

In the Sync Schedule module, you can set the policy for the AE system to pull Unity Ads Advertising Statistics API data on a schedule. You can choose to pull data for a period of time at a specific time every day. Because pulled data also counts toward the data volume, avoid pulling data for overly long periods on a schedule

2.3 Receive Settings​

You can control whether the data is written as events. If you turn this off, the data is not written to the event table, so do not turn off this setting.

2.4 Configuration​

Finally, in the Configuration module, you can control the detailed settings of data pulling, including the time aggregation granularity of the data, the metric fields and dimensions to pull, and the event name after ingestion.

The content of the configuration is a JSON, which you can customize as follows:

ModuleNameDescription
sink_eventevent_nameEvent name after ingestion; customizable; string type.
source

time_granularity

Time granularity of data pulling. Options:

  • Day: day
  • Hour: hour
metricsMetric fields of the corresponding API; list type; customizable
group_byGrouping dimensions in the data; list type; customizable
transferdouble_columnsMetrics in the data; list type. These fields are ingested as numeric types when the data is received, and the other fields are ingested as strings (or time). We don't recommend changing it
  • Grouping dimensions

The following are the group-by dimensions supported by the Unity Advertising Statistics API. To adjust them, add the names of the dimensions you need to source.group_by

Dimension nameDescriptionIngested field namePulled by default

campaignSet

Group by Campaign Setcampaign_set_idYes
campaign_set_nameYes
campaignGroup by Campaigncampaign_idYes
campaign_nameYes
creativePackGroup by Creative Packcreative_pack_idYes
creative_pack_nameYes
targetGroup by target gametarget idYes
target store idYes
target nameYes
adTypeGroup by ad typead_typeYes
sourceAppIdGroup by source gamesource_app_idYes
storeGroup by app storestoreYes
countryGroup by country (region)countryYes
platformGroup by platformplatformYes
osVersionGroup by OS versionos_versionYes
skadConversionValueGroup by SKAdNetwork conversion valueskad_conversion_value
  • Metric fields

In addition to the group-by dimensions, the Unity Ads Advertising Statistics API also provides the following metric fields. To adjust them, add the names of the metrics you need to source.metrics.

Metric nameIngested field nameField descriptionPulled by default
timestamptimestampEvent timeYes
startsstartsAd impressionsYes
viewsviewsCompleted ad viewsYes
clicksclicksAd clicksYes
installsinstallsInstalls after viewing the adYes
spendspendSpendYes
skadInstallsskad_installsSKAdNetwork installs
skadCpiskad_cpiSKAdNetwork CPI

skadConversion

skad_conversionSKAdNetwork conversions

2.5 Event ingestion rules​

  • The timestamp field in the data, that is, the time field of data aggregation, is used as the #event_time of the aggregated data
  • If not renamed, the event name of the data is -- unity_ads_api_data
  • All other fields are ingested

2.6 Standardized fields​

The AE system standardizes some fields in Unity Ads Advertising Statistics API data:

FieldStandardized fieldDescription
campaign_namete_ads_object.campaign_nameCampaign name
campaign_idte_ads_object.campaign_idCampaign ID
creative_pack_namete_ads_object.ad_group_nameAd group name
creative_pack_idte_ads_object.ad_group_idAd group ID
countryte_ads_object.countryCountry or region code
platformte_ads_object.platformPlatform, such as Android or iOS
startste_ads_object.impressionsImpressions
clickste_ads_object.clicksClicks
installste_ads_object.installsConversions (installs)
spendte_ads_object.costUser acquisition cost
Was this page helpful?