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

# Enable AdColony Performance Media (New)

> Connect AdColony Performance Media to Branch to attribute clicks and installs on mobile video campaigns.

## Overview

[AdColony Performance Media](https://www.adcolony.com) is a mobile video advertising network, now part of Digital Turbine. Connect AdColony Performance Media to Branch to attribute clicks and installs and configure Postbacks.

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 AdColony Performance Media in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on AdColony Performance Media in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/adcolony-performance-media.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 | Banner, Interstitial, Video, Recommendation, App of Day |
| Click types | Client-side click, Server-side click |
| Supported platforms | iOS, Android, Amazon |
| Link wrapping | Supported |
| Cost ingestion support | Not supported |
| Pricing models | CPI, CPC, CPM, CPA, CPV |

## Before you begin

To set up the AdColony Performance Media 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.
- An AdColony Performance Media account with admin access.
- [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 AdColony Performance Media

To begin, navigate to **Configuration > Ad Partners > AdColony Performance Media**.

AdColony Performance Media doesn't require credentials to activate. The integration is enabled automatically when you select **Enable AdColony Performance Media** on the AdColony Performance Media page.

## Configure attribution

By default, AdColony Performance Media uses your global app attribution settings. To set attribution windows specific to AdColony Performance Media, 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 AdColony Performance Media automatically activates postbacks. The default postback URL template is:

```
https://adcolony.servecvr.com/?nid=36&transaction_id=${ (last_attributed_touch_data.~click_id)! }&event_id=${ (last_attributed_touch_data[(ad_network.goal_ids[ (name)])])!}&timestamp=${ (timestamp/1000)?long }&adv_mmp=branch&adv_creative=${ (last_attributed_touch_data.~creative_name)! }&mtid=${ (last_attributed_touch_data.mtid)! }&adv_mmp_id=<#if (user_data.os)! == "IOS" && (user_data.idfa)!?has_content >${(user_data.idfa)!}<#elseif (user_data.os)! == "IOS">${(user_data.idfv)!}<#elseif (user_data.os)! == "ANDROID"&& (user_data.aaid)!?has_content  >${(user_data.aaid)!}<#elseif (user_data.os)! == "ANDROID">${(user_data.android_id)!}<#elseif (user_data.os)! == "ROKU" >${(user_data.roku_rida)!}<#elseif (user_data.os)! == "SAMSUNG"  >${(user_data.samsung_ifa)!}<#elseif (user_data.os)! == "LG"  >${(user_data.lg_ifa)!}<#elseif (user_data.os)! == "PANASONIC" >${(user_data.panasonic_ifa)!}<#elseif (user_data.os)! == "WINDOWS"  >${(user_data.windows_aid)!}<#elseif (user_data.os)! == "PLAYSTATION" >${(user_data.playstation_ifa)!}<#elseif (user_data.os)! == "XBOX" >${(user_data.xbox_msai)!}</#if>&adv_event_name=${ (name)! }&adv_click_time=${(last_attributed_touch_timestamp/1000)?long }&affiliate_id=${ (last_attributed_touch_data.~secondary_publisher)! }&adv_app_id=<@loop data=app.app_bundles val="bundle"><#if user_data.os == bundle.os><#if bundle.os=="ANDROID"><@break/><#elseif bundle.os == "IOS">${(bundle.ios.itunes_id?substring(2))!}</#if><@break/></#if></@loop>&adv_app_name=${ (app.name)! }&adv_app_version=${ (user_data.app_version)! }&adv_sdk_country=${ (user_data.geo_country_code)! }&adv_device_model=${ (user_data.model)! }&adv_ip=${ (user_data.ip)! }&adv_ua=${ (user_data.user_agent)! }&adv_device_language=${ (user_data.language)! }&adv_os=${ (user_data.os)! }&adv_os_version=${ (user_data.os_version)! }&is_viewthrough=<#if (last_attributed_touch_data.$3p)! == (ad_network.machine_name)!>1<#else>0</#if>&goal_name=${(ad_network.goal_ids["${(name)!}"])!}&event_id=${ (last_attributed_touch_data.event_id)! }&event_id2=${ (last_attributed_touch_data.event_id2)! }&event_id3=${ (last_attributed_touch_data.event_id3)! }&event_id4=${ (last_attributed_touch_data.event_id4)! }&event_id5=${ (last_attributed_touch_data.event_id5)! }&event_id6=${ (last_attributed_touch_data.event_id6)! }
```

> **Note: Event ID required**
>
> AdColony Performance Media requires the Event ID that corresponds to each postback. Enter these values and save. Contact your AdColony Performance Media account manager to obtain them.

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

Create a Branch Ad Link to use in your AdColony Performance Media campaigns. Branch uses the link to attribute clicks and deep link users into your app.

Follow [Create 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-data-sources-new.md): review attributed installs and events where `Ad Partner Name = AdColony Performance Media`.
- **In AdColony Performance Media**: confirm that forwarded events are appearing in your AdColony Performance Media attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from AdColony Performance Media campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `"AdColony Performance Media"` (static) |
