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

# Enable Mintegral (New)

> Connect Mintegral to Branch to attribute clicks and installs on user acquisition and retargeting campaigns.

## Overview

[Mintegral](https://www.mintegral.com/en) is a programmatic mobile advertising platform offering user acquisition, retargeting, and monetization, operating as part of Mobvista. Connect Mintegral 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 Mintegral in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on Mintegral in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/mintegral.md).

### Partner capabilities

| Capability | Details |
| --- | --- |
| Company type | Affiliate network |
| Deep linking | Supported |
| Attribution | Click-through attribution, View-through attribution |
| Ad campaign types | Retargeting campaigns |
| Ad formats | Picture, Video, Playable |
| Click types | Client-side click |
| Supported platforms | iOS, Android, APK |
| Link wrapping | Supported |
| Cost ingestion support | Supported |
| Pricing models | CPI, CPC, CPM, CPA, CPV, CPL |

## Before you begin

To set up the Mintegral 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.
- A Mintegral 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 Mintegral

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

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

## Configure attribution

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

```
http://postback.mintegral.net/install?pl=${ (user_data.os)! }&campuuid=${ (last_attributed_touch_data.campuuid)! }&clickid=${ (last_attributed_touch_data.~click_id)! }&ip=${ (user_data.ip)! }&os=${ (user_data.os_version)! }&devid=${ (user_data.idfa)! }&gaid=${ (user_data.aaid)! }&install_time=${ (timestamp/1000)?long }&type=Branch&country=${ (user_data.geo_country_code)! }&app_version=${ (user_data.app_version)! }&ua=${ (user_data.user_agent)! }&language=${ (user_data.language)! }&app_id=<@loop data=app.app_bundles val="bundle"><#if user_data.os == bundle.os><#if bundle.os=="ANDROID">${(bundle.android.package_name)!}<#elseif bundle.os == "IOS">${(bundle.ios.bundle_id)!}</#if><@break/></#if></@loop>&attribu_type=<#if (last_attributed_touch_data.$3p)! == (ad_network.machine_name)!>1<#else>0</#if>&reengagement_event=${(reengagement_activity.event_name)!}&reengagement_attribu_type=<#if reengagement_activity.attributed> 1 <#else> 0 </#if>&reengagement_event_time=${(reengagement_activity.timestamp)!}&reengagement_partner=${(reengagement_activity.touch_data.tilde_advertising_partner_name)!}&reengagement_3p=${(reengagement_activity.touch_data.dollar_3p)!}
```

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 Mintegral 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 = Mintegral`.
- **In Mintegral**: confirm that forwarded events are appearing in your Mintegral attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from Mintegral campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `"Mintegral"` (static) |

### Link parameters

By default, Branch automatically appends these link parameters to Mintegral ad links. When a user clicks the link, Mintegral provides the corresponding values, which Branch ingests and uses for attribution and reporting.

| Branch parameter | Link placeholder |
| --- | --- |
| Custom Link Macro | `{uuid}` |
| Click ID | `{click_id}` |
| Ad Set Name | `{offer_name}` |
| Creative ID | `{creative_id}` |
| Creative Name | `{creative_name}` |
| Campaign ID | `{uuid}` |
| Click User Agent | `{ua}` |
| Click IDFA | `{idfa}` |
| Click AAID | `{gaid}` |
| Secondary Publisher | `{affiliate_id}` |
