# Meta Audience Network

This article is for publishers who want to use the DT FairBid SDK to load and display ads from Meta Audience Network.

{% hint style="info" %}
Meta Audience Network supports bidding Instances only.
{% endhint %}

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

* Banner
* Interstitial
* Rewarded

To integrate Meta as a DT mediated network:

* [Step 1: Retrieve Meta parameters](#step-1-retrieve-meta-parameters).
* [Step 2: Add Meta as a DT Mediated Network](#step-2-add-meta-as-a-dt-mediated-network).
* [Step 3: Add the Meta Audience Network SDK to your integration](#step-3-add-the-meta-audience-network-sdk-to-your-integration).
* [Step 4: Test your integration](#step-4-test-your-integration).

## Step 1: Retrieve Meta parameters

Before retrieving Meta parameters, ensure that you have Meta ad inventory by completing the following tasks in your Meta dashboard:

* [Create](https://business.facebook.com/business/loginpage/?next=https%3A%2F%2Fbusiness.facebook.com%2F%3Fnav_ref%3Dbiz_unified_f3_login_page_to_mbs\&login_options%5B0%5D=FB\&login_options%5B1%5D=IG\&login_options%5B2%5D=SSO\&config_ref=biz_login_tool_flavor_mbs) a Meta Business Manager account.
* [Set up](https://developers.facebook.com/docs/audience-network/bidding/partner-mediation/audience-network-setup) your Meta Audience Network with your app and placements.

To enable Meta as an Ad Network with DT, obtain the Placement IDs for the placements you want to offer through DT.

To retrieve your Placement ID:

1. From the Meta App Dashboard, click **Audience Network**, and select your app.\
   Your app details display along with a list of placements associated with your app.
2. For each placement you want to mediate with DT, click **copy ID**, and store these values in a text file. These values are required later in [Step 2](#step-2-add-meta-as-a-dt-mediated-network) to add Meta 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%2F0y2LzxNIb4uA4FlVisvS%2Fimage.png?alt=media&#x26;token=d63c811b-1dec-4bc5-abc9-bbe06bce1c55" alt=""></div>

## Step 2: Add Meta as a DT Mediated Network

Before you add Meta as a DT mediated network:

* Ensure that you have access to parameters you retrieved from Meta in [Step 1](#step-1-retrieve-meta-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 Meta ad type you want to mediate with DT.

To add Meta 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) **Meta bidder** as a mediated network using the parameters you retrieved in [Step 1](#h_01J539AMSFZYF0AMN757AFG32H).

<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%2FDUU6sSXDg0IZXGy4ChmV%2Fimage.png?alt=media&#x26;token=34345a87-88c6-4914-ab04-a8227c920533" alt=""></div>

3. [Set up an ad network instance](https://app.gitbook.com/s/LbREhkP3WlLtP6TNVZ2Q/app-management/setting-up-an-existing-app/setting-up-instances) for each Meta Placement you want DT to mediate. Use the Meta `Placement&nbsp;ID` you retrieved in [Step 1](#h_01J539AMSFZYF0AMN757AFG32H) as the **Instance ID**.

## Step 3: Add the Meta Audience Network SDK to your Integration

To integrate the Meta Audience Network 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>
