Install SDK
Last updated
Last updated
This documentation guides you through integrating the MyChips Offerwall into your Unity project. The MyChips Offerwall is a powerful tool for monetizing your game by rewarding users with in-game items or currency in exchange for engaging with advertisements. By following these steps, you'll seamlessly add the Offerwall to your game, enhancing user engagement and potentially increasing your revenue.
Ensure a Unity project is already set up.
Familiarize yourself with basic Unity operations.
Have an active MyChips account to access your ad unit ID, essential for integration.
Unity Version Requirement: Minimum version 2020.3.
First, download the MyChips Offerwall Unity
After downloading the package, you can import it into your Unity project using one of the following methods:
Using Unity's Import Package Menu:
Open Unity and load your project.
Go to Assets > Import Package > Custom Package.
Select the downloaded MyChips Offerwall package and click Open.
Ensure all files are selected in the import window, then click Import.
Using Drag and Drop:
Simply drag and drop the downloaded package directly into the Unity Assets area.
Ensure you're in the first scene of your game where you intend to integrate the Offerwall. This is usually the main menu or the initial loading scene.
Navigate to Window
> MyChips Settings
in the Unity editor menu.
Click Add Prefab
to add the MyChips Offerwall prefab to your scene.
Select the created MyChips game object in your scene. In the Inspector window, you'll need to add your Ad Unit ID.
Ad Unit ID
To find your Ad Unit ID:
Log into your MyChips publisher dashboard.
Navigate to the section where your ad units are listed.
Copy the Ad Unit ID designated for the Android/iOS platform.
Paste this ID into the corresponding field in the MyChips game object's Inspector window.
To display the Offerwall within your game, use the following code snippet at the point where you want the Offerwall to appear:
If your game implements its own user ID logic, you can set a custom user ID for the Offerwall:
Replace "your_custom_user_id"
with your actual user ID variable or value.