Set up NSwitch

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

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

Before you begin

Requirements

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

Select NSwitch and your app in Campaign Lab

  1. Under Campaign Lab, select Partners.
  2. Select New partner > NSwitch. 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 NSwitch.
  4. Select Next.

Enable data sharing

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

  1. Turn on Enabled

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

  • install
  • event
  • rejectedInstall

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 NSwitch by default.

  • install
  • event
  • rejectedInstall

Send additional data

Choose the amount and type of data that you want to share with NSwitch through callbacks. NSwitch 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 NSwitch:
  • Data from all attribution sources
  • Only data attributed to NSwitch

In-app revenue (from in-app purchases)

Sharing in-app revenue lets NSwitch 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 NSwitch can receive. Data for unmapped events is not shared with NSwitch.

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

  1. Select Map event.
  2. In the Adjust event list, choose the Adjust event that you want to share with NSwitch.
  3. In the Partner event list, choose or enter a custom event name that you want to map the Adjust event to. You might have to map an event to several values.
  4. Select Apply.

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

Configure your link and settings

You have the option to set your:

Create your link and share it with NSwitch

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 NSwitch.

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

List of all parameters forwarded to NSwitch

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

PlaceholderInformation
{android_id}Android ID (Android only)
{country}Device two-character country code
{device_name}Device model number
{gps_adid}Google Play Store advertising ID
{idfa}ID for advertisers (iOS only)
{ip_address}Device IP address
{isp}Device internet service provider
{language}Device two-character language code
{mac_md5}Uppercase MAC MD5 hash
{match_type}Attribution method
{os_version}Operating system version number
{revenue_float}Revenue, as sent from Adjust SDK, in whole currency units
{revenue}Revenue, as sent from Adjust SDK in cents
{sdk_version}Adjust SDK version (per app)
{click_time}Attributed click timestamp
{created_at}Activity timestamp
{install_begin_time}App download began timestamp (Android and Google Play Store only)
{installed_at}Install (i.e., first app open) timestamp
{referral_time}User landed on app Play Store page timestamp (Android and Google Play Store only)
{rejection_reason}Reason for a rejected attribution