# Chartboost

This article is for publishers who want to use the DT FairBid SDK to load and display Chartboost ad inventory via the DT FairBid Mediation platform.

Chartboost supports the following [ad types](https://app.gitbook.com/s/8KSLu5HNiyDWpvGRZh7B/publishers/additional-resources/ad-types-and-specification):

* Banner
* Interstitial
* Rewarded

{% hint style="info" %}
DT FairBid SDK 3.45 or later supports Chartboost Banners.
{% endhint %}

To integrate Chartboost as DT mediated network:

* [Step 1: Retrieve Chartboost parameters](#step-1.-retrieve-chartboost-parameters).
* [Step 2: Add Chartboost as a DT mediated network.](#step-2.-add-chartboost-as-a-mediated-network)
* [Step 3: Add the Chartboost SDK to your integration.](#step-3.-add-the-chartboost-sdk-to-your-dt-integration)
* [Step 4: Test Your integration](#step-4-test-your-integration).

## Step 1. Retrieve Chartboost Parameters

Before retrieving Chartboost parameters, ensure that you have Chartboost ad unit inventory that you want to mediate with DT. For more information about creating Chartboost inventory, see the following Chartboost articles:

* [Create](https://docs.chartboost.com/en/monetization/get-started/#create--set-up-a-free-account) a Chartboost account.
* [Add](https://docs.chartboost.com/en/monetization/publishing/adding-your-first-app-and-campaign/#adding-apps) your app to Chartboost.
* [Create](https://docs.chartboost.com/en/monetization/publishing/ad-locations/) an ad location for your app in Chartboost.

To set up Chartboost as a DT mediated network, locate the following Chartboost parameters:

| CHARTBOOST PARAMETER | DESCRIPTION                                                                                                                                                  |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `APP ID`             | Unique identifier for your app in the Chartboost system.                                                                                                     |
| `APP SIGNATURE`      | Unique secret signature for your app in the Chartboost system. Chartboost uses this to verify that you are the owner of your app.                            |
| `User ID`            | Unique identifier for your account in the Chartboost dashboard.                                                                                              |
| `User Signature`     | Uunique secret signature for your user account in the Chartboost Dashboard. Chartboost uses this to verify that you are allowed to access account analytics. |
| `Named Location`     | Specific points in your app where you allow the display of various ad types.                                                                                 |

To obtain the Chartboost parameters for DT:

1. From the Chartboost dashboard, click **Monetization**.
2. Select your app.
3. Under **App information**, copy the `APP ID` and `APP SIGNATURE`, and save these values to a text file. These values are required later in [Step 2](#step-2.-add-chartboost-as-a-mediated-network) to add Chartboost as a DT mediated network.

<div align="left" data-with-frame="true"><img src="https://2654615282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IftQ9WUOy9feTA5sZeE%2Fuploads%2F5cgA9XnE6a59xIsKL61O%2Fimage.png?alt=media&#x26;token=6fb2b6cf-f6ed-4201-a80a-b204eb1e88ba" alt=""></div>

<br>

4. Click **Set up Mediation**.
5. Under **Authentication**, copy the `User ID` and `User Signature`, and save these values to a text file. These values are required later in Step 2 to add Chartboost as a DT mediated network.

<div align="left" data-with-frame="true"><img src="https://2654615282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IftQ9WUOy9feTA5sZeE%2Fuploads%2FF4HqvNC0GUiFhuPBAHVa%2Fimage.png?alt=media&#x26;token=688b6be6-efa2-4062-a7cb-b42bda42ac3b" alt=""></div>

<br>

## Step 2. Add Chartboost as a Mediated Network

Before you add Chartboost as a DT mediated network:

* Ensure that you have access to parameters you retrieved from Chartboost in [Step 1](#step-1.-retrieve-chartboost-parameters).
* [Add your App](https://app.gitbook.com/s/LbREhkP3WlLtP6TNVZ2Q/app-management/adding-a-new-app/adding-an-app) using the DT Console.
* Ensure that you [set up a DT Placement](https://app.gitbook.com/s/LbREhkP3WlLtP6TNVZ2Q/app-management/setting-up-an-existing-app/setting-up-placements) for each Chartboost ad location you want to mediate with DT.

To add Chartboost as a DT mediated network:

1. Log in to the [DT Console](https://console.fyber.com/), and click **App Management**.
2. [Set up](https://app.gitbook.com/s/LbREhkP3WlLtP6TNVZ2Q/app-management/setting-up-an-existing-app/setting-up-mediated-networks) Chartboost as a DT mediated network using parameters you retrieved in [Step 1](#step-1.-retrieve-chartboost-parameters).

<div align="left" data-with-frame="true"><img src="https://2654615282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IftQ9WUOy9feTA5sZeE%2Fuploads%2F72brBqLAQEIctgX8Dn3c%2Fimage.png?alt=media&#x26;token=de3a5356-aa2f-46d5-a26d-75464a3b1974" alt=""></div>

<br>

3. [Set up an ad network instance](https://app.gitbook.com/s/LbREhkP3WlLtP6TNVZ2Q/app-management/setting-up-an-existing-app/setting-up-instances) using the Chartboost `Named Location` you retrieved in [Step 1](#step-1.-retrieve-chartboost-parameters) for the **Instance ID**.

## Step 3. Add the Chartboost SDK to your DT Integration

To integrate the Chartboost SDK, follow the instructions on the [Supported Networks](https://docs.digitalturbine.com/dt-fairbid/fairbid-sdk/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](https://docs.digitalturbine.com/dt-fairbid/fairbid-sdk/tools/test-suite).

<div align="left" data-with-frame="true"><img src="https://2654615282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4IftQ9WUOy9feTA5sZeE%2Fuploads%2FoqWJTBXcQ0oynphWzkiP%2FIMG_4982_copy%20(2).jpg?alt=media&#x26;token=24ad859d-8e24-4307-ba67-a2c908893584" alt="" width="188"></div>
