Set up Unicorn

Unicorn is an ad network integrated with Adjust. Our integration lets Unicorn receive attribution and in-app event data through automated callbacks.

In this article, learn how to set up measurement with Unicorn for your app. This includes activating the integration, creating a campaign link, and choosing what data Adjust can share with Unicorn.

Before you begin

Requirements

iOS | Android | Windows | Unity | React Native | Flutter | Adobe Air | Cordova | Marmalade | Xamarin | Cocos2d-x | Titanium | Corona

Select Unicorn and your app in Campaign Lab

  1. Under Campaign Lab, select Partners.
  2. Select New partner > Unicorn. Select Next to move to the next screen.
  3. In the App selection screen, choose the app for which you want to create the link, and enable the integration to share data with Unicorn.
  4. Select Next.

Enable data sharing

Enable data sharing to activate the integration with Unicorn. To enable data sharing:

  1. Turn on Enabled

Once you enable data sharing with Unicorn, Adjust automatically sends Unicorn the following data, by default:

  • install
  • session
  • reattribution
  • event
  • rejectedInstall
  • rejectedReattribution

Set your data sharing options

If you’re working with a multi-platform app with data sharing enabled for multiple platforms, you can:

  1. Separate data sharing options at the platform-level by selecting Use platform-specific settings.
  2. Set the same data sharing settings for multiple platforms by selecting Use global settings.

Now, under What will be shared by default?, review the activities that Adjust shares with Unicorn by default.

  • install
  • session
  • reattribution
  • event
  • rejectedInstall
  • rejectedReattribution

Send additional data

Choose the amount and type of data that you want to share with Unicorn through callbacks. Unicorn may use this information to optimize performance.

  1. Under What sources of data do you want to share?, choose the attribution source of the data you are sharing with Unicorn:
  • Data from all attribution sources
  • Only data attributed to Unicorn

Sessions

Adjust does not automatically send session callbacks due to the high volume of sessions. Sharing sessions means Unicorn will receive your app’s session activity.

In-app revenue (from in-app purchases)

Sharing in-app revenue lets Unicorn receive revenue amounts along with your revenue event data. You need to map events that generate revenue to share this data.

Map events

Map events that you want to share to the values that Unicorn can receive. Data for unmapped events is not shared with Unicorn.

Map individual events

If you have a multi-platform app, you can choose to share different events per platform with Unicorn. This lets you:

  • Set individual events to manage campaign strategies for each platform.
  • Customize data sharing per platform.

Under Map events, follow these steps to choose the in-app events you want to directly send to Unicorn.

  1. Select Map event.
  2. In the Adjust event list, choose the Adjust event that you want to share with Unicorn.
  3. Under Partner event, you need to select the Unicorn event that corresponds to the Adjust event.
    1. For single platform apps and multi-platform apps with data sharing enabled for a single platform only, you map events for that platform only. For multi-platform apps with data sharing enabled for multiple platforms, you can:
      • Select Use platform-specific mapping to map separate events at the platform-level or to not map events for certain platforms.
      • Select Use global mapping to map the same events for all platforms.
    2. In the Partner event list, choose or enter a custom event name, that you want to map the Adjust event to.
  4. Select Apply.

Now Unicorn will receive in-app event data for each of your linked events.

Map all events

If Unicorn supports mapping all events automatically, under Map events, select Map all events. This saves time in mapping individual events.

Now Unicorn will receive in-app event data for all your linked events.

Configure your link and settings

You have the option to set your:

Create your link and share it with Unicorn

In the Setup review screen, you can review your choices. You can also go back and make changes to:

  • Your selected app
  • Data sharing options
  • Link structure parameters
  • User destinations
  • Attribution settings

Select Create link to create your click URL, impression URL, QR code and link token. Creating a link also enables data sharing and the integration with Unicorn.

Once you’ve created your link, share it with Unicorn for placement in campaigns.

List of all parameters forwarded to Unicorn

Unicorn requires Adjust to send the following parameters (data points) with your callbacks:

PlaceholderInformation
{adid}Adjust device ID (all platforms)
{currency}Original ISO 4217 currency code sent from Adjust SDK
{event_name}Event name, as set in the Dashboard
{iad_conversion_type}Download status: first or subsequent app download
{iad_keyword_matchtype}Apple Search keyword matchtype
{idfa||gps_adid}IDFA, or GPS ADID if IDFA is empty
{idfv}Uppercase iOS ID for vendors
{ip_address}Device IP address
{nonce}Random lowercase alphanumeric string (unique per callback)
{os_name}Device operating system
{os_version}Operating system version number
{partner_parameters}Custom partner parameters collected by the Adjust SDK or S2S request and transmitted to third party providers via postbacks
{revenue_float}Revenue, as sent from Adjust SDK, in whole currency units
{tracking_enabled}1 if tracking is enabled, 0 if not
{user_agent}Incoming raw user agent
{activity_kind}Type of user activity
{adgroup_name}Adgroup name, as taken from the tracker
{app_id}Store App ID or Google Play Store
{app_version_short}App version number (Android), release-version-number for the bundle (iOS)
{campaign_name}Campaign name, as taken from the tracker
{click_time}Attributed click timestamp
{created_at}Activity timestamp
{rejection_reason}Reason for a rejected attribution