Skip to main content

Unity

Prerequisites

  • Unity LTS 2019 or above
  • For Android
    • Minimum API Level 23 or above
    • Target API Level 33 or above
    • Unity Editor version 2021.3.41f1 or above
    • If you use Proguard, please refer to the documentation.
  • For iOS
    • iOS 13.0 or above.
    • Xcode 15.2 or above
    • Cocoapods 1.10.0 or above

Installation

Download the SDK

Download the latest SDK.

To build for iOS, you need to update your iOS resolver settings under External Dependency Manager -> iOS Resolver:

unity_iOSResolver.png

Import the Unity Package

Open your Unity project and import the Unity package. The files will automatically populate as shown below.

unity_import_plugin.png

The MAS Unity plugin is built for Android and iOS platforms. After integration, please test ads on Android and/or iOS devices.

Ad Network Manager

Starting from MAS 4.8.10, we have introduced the Ad Network Manager, allowing dynamic addition or removal of ad networks. For more details, please refer to the documentation.

Note: Contact our support team for guidance on removing ad networks without impacting revenue.

Next Steps

Video Tutorial