> For the complete documentation index, see [llms.txt](https://help.branch.io/llms.txt).

# Enable ironSource (New)

> Integrate ironSource with Branch for mobile game user acquisition, monetization, and engagement. Optimize campaigns across iOS and Android effortlessly.

## Overview

[ironSource](https://www.ironsrc.com) is a mobile growth platform specializing in user acquisition, monetization, and engagement for mobile games, offering ad formats including rewarded video, interstitial video, and offerwall. Connect ironSource to Branch to attribute clicks and installs, configure Postbacks, and measure campaign performance across iOS and Android.

For more information about integrating ad partners in general, visit our [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

> **Note: this guide is for new Branch**
>
> Please note that this guide is about integrating ironSource in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on ironSource in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/ironsource.md).

### Partner capabilities

| Capability | Details |
| --- | --- |
| Company type | Non-SAN ad network |
| Deep linking | Supported |
| Attribution | Click-through attribution, View-through attribution |
| Ad campaign types | Acquisition campaigns, Retargeting campaigns |
| Ad formats | Interstitial video, Rewarded video, Offerwall |
| Click types | Client-side click, Server-side click |
| Supported platforms | iOS, Android |
| Link wrapping | Not supported |
| Cost ingestion support | Not supported |
| Pricing models | CPI, CPCV, CPE, CPM, CPC |

## Before you begin

To set up the ironSource integration, you need:

- Ad partner integrations enabled for your Branch account. Availability varies by Branch plan. See [Branch pricing](https://www.branch.io/pricing/) or contact your Branch representative.
- A Branch account with access to **Configuration > Ad Partners** and admin permissions to enable and configure integrations.
- The Branch SDK implemented in your app ([iOS](https://help.branch.io/developer-hub/ios-sdk-overview.md) | [Android](https://help.branch.io/developer-hub/android-sdk-overview.md)) with [event tracking](https://help.branch.io/developer-hub/track-branch-events.md) configured.
- An ironSource account with your **Advertiser ID** and **Password** available from your ironSource account manager.
- [PAM](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md) enabled (recommended).

> **Note: PAM uses two separate toggles**
>
> The **PAM for Publishers** toggle for this partner, found under **Partner settings** > **Manage account**, is separate from the account-level **PAM switch**. **PAM for Publishers** must be enabled to reconcile conversion events with your partner. To attribute events with PAM, you also need PAM enabled on the [Attribution page](https://help.branch.io/account-hub/attribution-page-new.md) under **Configuration** > **Attribution**. Learn more in our [PAM Overview](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md#pam-for-publishers).

## Enable ironSource

To begin, navigate to **Configuration > Ad Partners > ironSource**.

ironSource is a credential-based partner. Follow [Provide account credentials](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md#provide-account-credentials) in the general [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md). In the **Manage account** dialog, enter:

- **Advertiser ID**: your ironSource Advertiser ID
- **Password**: your ironSource account password

Select **Save**.

To update these credentials later, select **Partner settings** on the ironSource page to reopen the **Manage account** dialog.

## Configure attribution

By default, ironSource uses your global app attribution settings. To set attribution windows specific to ironSource, enable the **Override global app settings** toggle on the **Attribution windows** tab.

For more information, follow [Configure attribution](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md#configure-attribution) in the general [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

## Configure postbacks

Enabling ironSource automatically activates postbacks for `INSTALL`, `OPEN`, `PURCHASE`, `ACHIEVE_LEVEL`, `COMPLETE_REGISTRATION`, and `COMPLETE_TUTORIAL`. The default postback URL template is:

```
http://postback.supersonicads.com/userActivity/levelAchieved?src=branch&ifa=<#if (user_data.os)! == "IOS" && (user_data.idfa)! != "">${(user_data.idfa)!}<#elseif (user_data.os)! == "IOS">${(user_data.idfv)!}<#elseif (user_data.os)! == "ANDROID">${(user_data.aaid)!}&idfa=${ (user_data.idfa)! }&aaid=${ (user_data.aaid)! }&lat=<#if (user_data.limit_ad_tracking)! >1<#else>0&advertiserId=${ (ad_network.credentials.advertiserId)! }&password=${ (ad_network.credentials.password)! }&dynamicParameter=$${ (last_attributed_touch_data.~click_id)! }&level=${ (event_data.level)! }&CampaignId=${ (last_attributed_touch_data.~campaign_id)! }&CampaignName=${ (last_attributed_touch_data.~campaign)! }&canClaim=<#if (last_attributed_touch_data.$3p)! == (ad_network.machine_name)!>1<#else>0
```

To add postbacks for additional events or to customize behavior, follow [Configure postbacks](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md#configure-postbacks) in the general [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

## Create a Branch Ad Link

To attribute conversions from ironSource campaigns, create a Branch Ad Link and use it in your ironSource campaign setup. See [Branch Ad Links](https://help.branch.io/marketer-hub/ad-links-new.md).

## Verify your data

After your integration is connected and events are flowing, you can verify data is reaching Branch:

- **In Branch** [**Liveview**](https://app.branch.io/testing-and-monitoring/events): confirm that events from your app appear in real time. This is the fastest way to confirm SDK events are firing.
- **In Branch** [**Analysis dashboards**](https://help.branch.io/marketer-hub/analysis-dashboards-overview-new.md): review attributed installs, events, and cost data where `Ad Partner Name = ironSource`.
- **In ironSource**: confirm that forwarded events are appearing in your ironSource attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from ironSource campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `ironSource` (static) |
| `~campaign` | Campaign name |
| `~campaign_id` | Campaign ID |
| `~ad_set_name` | Ad set name |
| `~ad_name` | Ad name |
