Unity Ads

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

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:

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

  1. From the Unity Monetization Dashboard, click Monetization > Placements.
  2. The Organization Settings window appears and displays the Game ID and Placement ID.

Unity placement ID.png

  1. Copy the Game ID and Placement 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)

  1. From the Unity Monetization Dashboard, click Setup > API Management.
    The API Management window appears and displays the API Key.

Unity Ads API Key.png

  1. 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

  1. From the Unity Monetization Dashboard, click Setup > Organization Settings.
    The Organization Settings window appears and displays the Organization core ID.

organization ID.png

  1. 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:

  1. Log in to the DT Console, and click App Management.
  2. Set up Unity Ads as a mediated network for your app using the parameters you retrieved in Step 1.

Screen_Shot_2023-02-19_at_16.29.08.png 

  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.

DT Test Suite screen showing app is ready for mediation

Back to Top ⇧