Import the UnityAds library to start using the Unity Ads SDK APIs.
Read time 1 minuteLast updated a day ago
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.