기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Analytics

Analytics

LiveOps
​
​
Analytics
  • Overview
  • Get started
  • Pricing
  • Concepts
  • Tutorials
    • Create a custom event
    • Record an event
    • Record events with a custom user ID
    • Record transaction events
    • Record ad impression events
    • Copy custom events to another environment
    • Create a custom dashboard
    • Edit a custom dashboard
    • Create a funnel
    • Track user acquisition
    • Create a custom audience
    • Run a query with SQL Data Explorer
    • Query parameter values with SQL Data Explorer
    • Optimize SQL Data Explorer queries
    • Set up Data Access
    • Record an event with the REST API
    • Generate a unique user ID with the REST API
    • Request data deletion with the REST API
    • Debug event reporting
    • SDK 5.0.0 migration
    • Migrate to Unity 6.2 with Analytics SDK 6.1.0
    • Request game data deletion
  • Reference
  • Privacy and consent
  • FAQ
  1. Unity Analytics

Record ad impression events

Record when players view ads in your game to track ad revenue and measure advertising performance.
읽는 시간 2분
최근 업데이트: 9달 전

Use the
adImpression
event to track what happens when you show an ad to a player.

Send events manually

The
adImpression
event is a standard event with a predefined schema you must match to process and track the event. A special
AdImpressionParameters
object is provided by the Analytics SDK to fulfil the schema when recording an ad impression.
Use the following code to record a minimal
adImpression
event:
public void RecordAdImpression(){ var adImpression = new AdImpressionParameters { AdProvider = AdProvider.UnityAds, AdCompletionStatus = AdCompletionStatus.Completed, AdEcpmUsd = 12.34, AdStoreDstID = "CoolStore1337", PlacementID = "PLACEMENTID", PlacementName = "PLACEMENTNAME", PlacementType = AdPlacementType.BANNER }; AnalyticsService.Instance.AdImpression(adImpression);}
Some of these fields need to be populated with values that come from your ad mediation SDK, while others are specific to your game. See the breakdown:

Property

Description

AdProvider
The ad network name or ID that served the ad, for example, UNITY, IRONSOURCE. This value is often passed on a per-impression level by your mediation provider or ad network. You might need to map it to a value in the
AdProvider
enum.
AdCompletionStatus
If the user watched the entire ad (COMPLETED), part of the ad (PARTIAL), or none of the ad (INCOMPLETE). Most applicable for interstitial ads which can be skipped by players.
AdEcpmUsd
eCPM ("effective Cost Per Mille": the revenue generated by 1000 impressions) in US Dollars. This value is often passed on a per-impression level by your mediation provider or ad network and used in ad LTV calculations. Populate this value if possible.
AdStoreDstID
The store the player is directed to after cliking the ad, for example, Google Play, App Store, Amazon.
PlacementID
The unique identifier for the placement as integrated in the game.
PlacementName
The name of the placement as integrated in the game, for example, "Boosters" or "Daily Reward". This correlates with the placement name configured in your ad network or mediation provider.
PlacementType
Indicates what type of ad is shown, for example, REWARDED, INTERSTITIAL or BANNER.
The
AdImpressionParameters
object contains a number of other fields that are less important, which you can also populate if you want.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Send events manually


이 페이지의 문제 보고