기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Ads Monetization

Unity Ads Android SDK

Unity Ads iOS SDK

Unity Ads SDK

Unity Ads Monetization

Unity Ads Monetization
​
​
Unity 개발자 가이드
  • Unity SDK 개요
  • Unity용 Unity Ads SDK 설치
  • Unity에서 SDK 초기화
  • Unity에서 인터스티셜 광고 구현
  • Unity에서 보상형 광고 구현
  • Unity에서 배너 광고 구현
Unity Ads API 레퍼런스
  • Unity용 Unity Ads API 레퍼런스(C#)
  1. 게임 성장
  2. Unity Ads
  3. Unity 개발자용 Unity Ads SDK 연동 가이드

Unity에서 인터스티셜 광고 구현

Unity 프로젝트에 인터스티셜 광고를 구현합니다. 게임플레이 순간이나 앱 전환 시점에 광고 콘텐츠를 로드하고 C# 스크립트를 통해 표시합니다.
읽는 시간 2분
최근 업데이트: 9시간 전

Advertisements API
를 사용하여 전체 화면 인터스티셜 광고를 표시하려면 SDK를 초기화한 다음
Load
함수를 사용하여 광고 콘텐츠를 광고 단위로 로드하고
Show
함수를 사용하여 광고를 표시합니다.
참고
SDK 버전 4.4.1부터 Unity 에디터에서는 Unity Ads 패키지를 Advertisement Legacy 패키지라고 부릅니다. Advertisement Legacy 패키지 버전 4.12는 계속 작동하지만 새로운 기능이나 향상된 기능에 대한 추가 업데이트는 수신하지 않습니다. SDK 버전 4.12는 Apple 개인정보 보호 매니페스트 업데이트를 지원하며, 패키지에 대한 추가 업데이트는 계획되어 있지 않습니다.
SDK 3.7.0 이상에서는
IUnityAdsLoadListener
및
IUnityAdsShowListener
콜백을 사용하여 광고 콘텐츠를 Load 또는 Show에 성공하거나 실패하는 경우에 대한 로직을 각각 구현할 수 있습니다.
참고
Show
메서드를 호출할 때 플레이스먼트 ID를 지정해야 합니다. 그렇지 않으면 오류가 발생합니다.

인터스티셜 광고 예시

using UnityEngine;using UnityEngine.Advertisements;public class InterstitialAdExample : MonoBehaviour, IUnityAdsLoadListener, IUnityAdsShowListener{ [SerializeField] string _androidAdUnitId = "Interstitial_Android"; [SerializeField] string _iOSAdUnitId = "Interstitial_iOS"; string _adUnitId; void Awake() { // Get the Ad Unit ID for the current platform: _adUnitId = (Application.platform == RuntimePlatform.IPhonePlayer) ? _iOSAdUnitId : _androidAdUnitId; } // Load content to the Ad Unit: public void LoadAd() { // IMPORTANT! Only load content AFTER initialization (in this example, initialization is handled in a different script). Debug.Log("Loading Ad: " + _adUnitId); Advertisement.Load(_adUnitId, this); } // Show the loaded content in the Ad Unit: public void ShowAd() { // Note that if the ad content wasn't previously loaded, this method will fail Debug.Log("Showing Ad: " + _adUnitId); Advertisement.Show(_adUnitId, this); } // Implement Load Listener and Show Listener interface methods: public void OnUnityAdsAdLoaded(string adUnitId) { // Optionally execute code if the Ad Unit successfully loads content. } public void OnUnityAdsFailedToLoad(string _adUnitId, UnityAdsLoadError error, string message) { Debug.Log($"Error loading Ad Unit: {_adUnitId} - {error.ToString()} - {message}"); // Optionally execute code if the Ad Unit fails to load, such as attempting to try again. } public void OnUnityAdsShowFailure(string _adUnitId, UnityAdsShowError error, string message) { Debug.Log($"Error showing Ad Unit {_adUnitId}: {error.ToString()} - {message}"); // Optionally execute code if the Ad Unit fails to show, such as loading another ad. } public void OnUnityAdsShowStart(string _adUnitId) { } public void OnUnityAdsShowClick(string _adUnitId) { } public void OnUnityAdsShowComplete(string _adUnitId, UnityAdsShowCompletionState showCompletionState) { }}
다음 단계: 구현 내용을 한 단계 더 발전시키려면 Unity에서 보상형 광고 구현 기술 자료를 참조하십시오.

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

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

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

  • 보고 있는 페이지
    • 인터스티셜 광고 예시


이 페이지의 문제 보고