> For the complete documentation index, see [llms.txt](https://docs.digitalturbine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalturbine.com/measurement/mmp-guides/tenjin.md).

# Tenjin

This is a multi-step guide for setting up your Digital Turbine campaign with Tenjin.

{% stepper %}
{% step %}

#### [Add Digital Turbine as a Channel](#add-digital-turbine-as-a-channel-1)

Set up Digital Turbine as a Channel on the Tenjin dashboard.
{% endstep %}

{% step %}

#### [Add a Campaign](#add-a-campaign-1)

Configure a campaign and generate tracking URLs.
{% endstep %}

{% step %}

#### [Configure Attribution and Postback Settings](#configure-attribution-and-postback-settings-1)

Set up event callbacks and define custom event settings.
{% endstep %}

{% step %}

#### [Configure Lookback Settings](#configure-lookback-settings-1)

Configure partner-specific lookback settings for attribution.
{% endstep %}
{% endstepper %}

## Add Digital Turbine as a Channel

To add Digital Turbine as a channel:

1. From the [Tenjin dashboard](https://dashboard.tenjin.com/login), go to **CONFIGURE→Channels**.

<div align="left" data-full-width="false" data-with-frame="true"><figure><img src="/files/SZ0LnrLRBfSpbayQCLQM" alt=""><figcaption></figcaption></figure></div>

2. Click **Add a Channel**.\
   The **New Marketing Channel** page appears.

<div align="left" data-with-frame="true"><figure><img src="/files/Az597rrNajHIYynKDUZK" alt=""><figcaption></figcaption></figure></div>

3. Search for `Digital Turbine`, and click the tile for **Digital Turbine Media**.\
   The **Account Info** details appear.
4. Enter your Digital Turbine **Client Id** and **Client Secret** provided by your Digital Turbine representative.

<div align="left" data-with-frame="true"><figure><img src="/files/1I1gyEYcVKZH2wcvOxYz" alt=""><figcaption></figcaption></figure></div>

5. Click **Add Ad Account**.

## Add a Campaign

To add a campaign:

1. From the Tenjin dashboard, go to **CONFIGURE→Campaigns**.\
   The **Campaigns** page appears.

<div align="left" data-with-frame="true"><figure><img src="/files/AV2utGwEXSYYeDc0yvJ1" alt="" width="524"><figcaption></figcaption></figure></div>

2. Click **Create Campaign**.\
   The **New Campaign** window appears.

<div align="left" data-with-frame="true"><figure><img src="/files/tK5jBNYBXH4ognApw0d4" alt=""><figcaption></figcaption></figure></div>

<div align="left" data-with-frame="true"><img src="/files/35c5331de0c9a72a4e81316728eee071427339aa" alt=""></div>

3. From the **MARKETING ACCOUNT** drop-down list, select **Digital Turbine Media Account**.
4. From the **APP** drop-down list, select your app.
5. In the **NAME** field, enter a name for the campaign.
6. Click **Create Campaign**.\
   The new campaign is added.&#x20;
7. On the **Campaigns** page, click the newly created campaign in the list of campaigns.\
   The **CAMPAIGN DETAILS** page appears.

<div align="left" data-with-frame="true"><img src="/files/689f336718a5783e2b5077f4b3a2668ca18a9721" alt=""></div>

8. Copy the **Click Tracking URL** and **Impression Tracking URL** and send them to your Digital Turbine representative.

## Configure Attribution and Postback Settings

To configure attribution and postback settings:

1. From the **CAMPAIGN DETAILS** page, or the main menu, click your **App** name.\
   The **App** settings appear.

<div align="left" data-with-frame="true"><img src="/files/124b3d4d3da4ee8fa2a50e3082540e2f38caeb3d" alt=""></div>

2. Go to **Callbacks**.

<div align="left" data-with-frame="true"><figure><img src="/files/gkjbX1eLuruSvkis2HJS" alt=""><figcaption></figcaption></figure></div>

3. On the **Integrations** tab, click the **CHANNELS AND PARTNERS** from the drop-down list and then search for and select `Digital Turbine Media`.
4. Ensure that the **STATUS** toggle is **On** for the **First App Open** event (the Tenjin install event).
5. Ensure that the **USER FILTER** is set to **all users**.
6. To add custom DT events and map them to the respective Tenjin events, click **+ ADD EVENTS**.\
   The **Digital Turbine Media custom event** window appears.\
   For more information, see [DT event name](#dt-event-name).

<div align="left" data-with-frame="true"><figure><img src="/files/wKJWhsqhafxyCrgnAn3G" alt=""><figcaption></figcaption></figure></div>

7. For each custom event, ensure that you have specified the following settings:

* From the **EVENT NAME** drop-down list, select a Tenjin event.
* Ensure that the **USER FILTER** is set to **all users**.
* Specify the standard DT event name that you want to associate with the selected Tenjin event.

<details>

<summary>DT Event Names</summary>

Digital Turbine machine learning algorithms rely on standard event names to improve ad targeting, optimization, measurement, and insights. For best results, use these names for event mapping:

* `ad_revenue`
* `app_open`
* `purchase`
* `level_achieved`
* `ad_click`
* `ad_view`
* `login`
* `add_payment_info`
* `add_to_cart`
* `add_to_wishlist`
* `checkout_initiated`
* `complete_registration`
* `complete_tutorial`
* `reservation`
* `update`
* `subscribe`
* `search`
* `view_content`
* `credits_spent`
* `achievement_unlocked`
* `app_rated`
* `tutorial_complete`
* `social_share`

If there's no suitable name on this list for an event, you can add an arbitrary event name. Use custom names without spaces or special characters other than the underscore ( \_ ).

</details>

8. Click **Save**.

## Configure Lookback Settings

To set partner-specific lookback windows:

1. From the **Apps** window, go to the **Attribution** tab.\
   The default Tenjin lookback settings for the app appear.

<div align="left" data-with-frame="true"><figure><img src="/files/ijLmGnDerKQB1TRnhOlZ" alt=""><figcaption></figcaption></figure></div>

2. Under **CHANNELS AND PARTNERS**, search for and select `Digital Turbine Media`.\
   The lookback settings for the **Digital Turbine Media** channel appear.

<div align="left" data-with-frame="true"><figure><img src="/files/SEst9OVjVeE2lSxgDiJe" alt=""><figcaption></figcaption></figure></div>

3. Set the **Override App Settings** toggle to **On**.
4. Set **Device Matching** to `30 days`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digitalturbine.com/measurement/mmp-guides/tenjin.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
