Updating your Unity Ads SDK for iOS 14

Unity advises that all Unity publishers integrate Unity Ads 3.5.1 or later 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 might impact performance.

Made with Unity games

Install the latest version of Unity Ads through the Unity Package Manager by following these steps:

Note: As of SDK version 4.4.1, the Unity Ads package is called Unity Advertisement Legacy. From SDK version 4.4.2 and newer, this package will support only native updates for Android and iOS developers, and will no longer include updates for Unity developers. For more information, refer to the Unity Ads github repository for Android and iOS.

  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: Refer to the 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:
#import <UIKit/UIKit.h>
#import <UnityAds/UnityAds.h>

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

Next steps: Refer to the documentation on configuring ad network IDs.