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:
- 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.
Next steps: Refer to the documentation on install the iOS 14 Support package.
Non made-with-Unity games
- Download the Unity Ads framework.
- 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
Next steps: Refer to the documentation on configure ad network IDs.