The purpose of this article is to guide publishers who want to use the DT FairBid SDK to load and display ads from Unity Ads via DT FairBid mediation.
Unity Ads currently supports the following ad types:
- Banner
- Interstitial
- Rewarded
To integrate Unity Ads as a DT mediated network:
- Step 1: Retrieve Unity Ads parameters.
- Step 2: Add Unity Ads as a Mediated Network.
- Step 3: Add the Unity Ads SDK to your integration.
- Step 4: Test your integration.
Step 1: Retrieve Unity Ads Parameters
Before retrieving Unity Ads parameters, ensure that you have Unity Ads ad unit inventory that you want to mediate with DT. For more information about creating Unity Ads as inventory, see the following Unity Ads articles:
- Create a Unity Ads account.
- Create a Unity Ads Project for your app.
- Enable ads for the Project.
- Create placements in Unity Ads.
To set up Unity Ads as a mediated Network, locate the following Unity Ads parameters:
PARAMETER | DESCRIPTION |
---|---|
Game ID |
Unique identifier of your application within the Unity Ads system. |
Placement ID |
Unique identifier of your Ad Placement within the Unity Ads system. Two Ad Placements are created by default in Unity Ads for your application: a Rewarded and Non-Rewarded placement. |
Organization core ID |
Unique identifier of your organization is in the Unity Ad system. |
API Key |
Unique identifier for your Unity Ads account that allows DT to import performance data from your Unity Ads account. |
Obtaining the Game and Placement IDs
- From the Unity Monetization Dashboard, click Monetization > Placements.
- The Organization Settings window appears and displays the
Game ID
andPlacement ID
.
- Copy the
Game ID
andPlacement ID
, and store the values in a text file. These values are required later in Step 2 to add Unity Ads as a DT mediated network.
Obtaining the Monetization API Access (API Key)
- From the Unity Monetization Dashboard, click Setup > API Management.
The API Management window appears and displays the API Key.
- Copy the
API Key
, and store the values in a text file. This value is required later in Step 2to add Unity Ads as a DT mediated network.
Obtaining the Organization core ID
- From the Unity Monetization Dashboard, click Setup > Organization Settings.
The Organization Settings window appears and displays the Organization core ID.
- Copy the
Organization core ID
, and store the value in a text file. This value is required later in Step 2 to add Unity Ads as a DT mediated network.
Step 2: Add Unity Ads as a Mediated Network
- Ensure that you have access to parameters you retrieved from Unity Ads in Step 1.
- Add your App using the DT Console.
- Ensure that you set up a DT Placement for each Unity Ads ad type you want to mediate with DT.
To add Unity Ads as a DT mediated network:
- Log in to the DT Console, and click App Management.
- Set up Unity Ads as a mediated network for your app using the parameters you retrieved in Step 1.
-
Create an ad network instance for each placement you want to mediate with DT. Use the Unity Ads
Placement ID
you retrieved in Step 1 as the Instance ID.
Step 3: Add the Unity Ads SDK to your integration
To integrate the Unity Ads SDK, follow the instructions on the Supported Networks page.
Step 4: Test Your Integration
Use the DT Test Suite to verify that you have set up your app properly for FairBid mediation. The DT Test Suite is available for Android, iOS, and Unity apps. For more information about using the DT Test Suite, see Test Suite.