Updating your Unity Ads SDK for iOS 14
Unity advises that all Unity publishers integrate Unity Ads 3.5.1 or higher into their apps for iOS 14. Apps using older versions of Unity Ads will not be able to accurately report users’ App Tracking Transparency (ATT) status to advertisers, which may impact performance.
Made with Unity games
Install the latest version of Unity Ads through the Unity Package Manager, by following these steps:
-
In the Unity Editor, select Window > Package Manager to open the Package Manager.
-
Select the
Advertisement
package from the list, then select the most recent verified version. -
Click the Install or Update button.
Non-made with Unity games
-
Drag-and-drop the framework into your Unity project folder, and copy it.
-
In your
ViewController
header (.h
), import Unity Ads and set the Unity Ads delegate:
#import <UIKit/UIKit.h>
#import <UnityAds/UnityAds.h>
@interface ViewController : UIViewController <UnityAdsInitializationDelegate, UnityAdsDelegate>
@end