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

# Enable Glispa (New)

> Integrate Glispa with Branch for effective mobile ad campaigns, user acquisition, and retargeting on iOS and Android.

## Overview

[Glispa](https://www.glispa.com/) is a mobile ad network that provides user acquisition and retargeting campaigns across iOS and Android. Connect Glispa to Branch to attribute clicks and installs, forward conversion events via Postbacks, and deep link users into your app.

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 Glispa in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on Glispa in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/glispa.md).

### Partner capabilities

| Capability | Details |
| --- | --- |
| Company type | Ad network |
| Deep linking | [Branch Ad Links](https://help.branch.io/marketer-hub/ad-links-new.md) (deferred deep linking) |
| Attribution | Click-through attribution, View-through attribution |
| Ad campaign types | Acquisition campaigns, Retargeting campaigns |
| Ad formats | Desktop Web Inventory, In-App Inventory |
| Click types | Client-side click, Server-side click |
| Supported platforms | iOS, Android |
| Link wrapping | Supported |
| Cost ingestion support | Not supported |
| Pricing models | CPI, CPA |

## Before you begin

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

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

Branch enables Glispa's basic setup automatically. On the **Status** tab, the **Ad Linking**, **Attribution**, and **Postbacks** cards show **Enabled**.

(Recommended) To configure the optional **PAM for Publishers** privacy setting, select **Partner settings** to open the **Manage account** dialog and enable the toggle. When enabled, [PAM for Publishers](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md#pam-for-publishers) removes advertiser-specific user identifiers from postbacks for users who haven't opted in via Apple's App Tracking Transparency (ATT) framework, prioritizing identifiers provided directly by Glispa.

## Configure attribution

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

```
http://trk.glispa.com/event/00000000-0000-0000-0000-000000000E00/${ (last_attributed_touch_data.~click_id)! }?event_id=${ (name)! }&event_oid=${ (timestamp/1000)?long }&m.device_ip=${ (user_data.ip)! }&m.idfa=${ (user_data.idfa)! }&m.gaid=${ (user_data.aaid)! }&country=${ (user_data.geo_country_code)! }&os=${ (user_data.os)! }&os_version=${ (user_data.os_version)! }&m.app_id=${ (app.name)! }&m.app_version=${ (user_data.app_version)! }&m.locale=${ (user_data.language)! }&event_timestamp=${ (timestamp/1000)?long }&revenue_amount=${ (event_data.revenue)! }&revenue_currency=${ (event_data.currency)! }&mmp=BranchIO&city=${(user_data.geo_city_en)!}&match_type==${(last_attributed_touch_data.+via_features)!}
```

To add postbacks for additional events or to customize postback 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 Glispa campaigns. Branch uses the link to attribute clicks and impressions 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 and Glispa:

- **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 and events where `Ad Partner Name = Glispa`.
- **In Glispa**: confirm that forwarded events are appearing in your Glispa attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from Glispa campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `"Glispa"` (static) |
| `~feature` | `"paid advertising"` (static) |
