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:

  1. In the Unity Editor, select Window > Package Manager to open the Package Manager.

  2. Select the Advertisement package from the list, then select the most recent verified version.

  3. Click the Install or Update button.

Next steps: See documentation on installing the iOS 14 Support package.

Non-made with Unity games

  1. Download the Unity Ads framework.

  2. Drag-and-drop the framework into your Unity project folder, and copy it.

  3. In your ViewController header (.h), import Unity Ads and set the Unity Ads delegate:

Copy
#import <UIKit/UIKit.h>
#import <UnityAds/UnityAds.h>

@interface ViewController : UIViewController <UnityAdsInitializationDelegate, UnityAdsDelegate>
@end

Next steps: See documentation on configuring ad network IDs.