ドキュメント

Unity Ads Monetization


iOS API reference - Swift

iOS API reference - Objective-C

Unity Ads Monetization


Import the UnityAds library

Import the UnityAds library to start using the Unity Ads SDK APIs.
読み終わるまでの所要時間 1 分最終更新 2日前

To access Unity Ads SDK APIs in an iOS project, import the
UnityAds.h
library. This enables direct use of the Unity Ads SDK classes, functions, interfaces, and listeners in your app code.
Without this import, you can’t implement ad content in your app, such as rewarded, interstitial, or banner ads. Include the following import in every file where you need to use Unity Ads SDK API functionality.
import UnityAds