# Integration for Mobile Apps promotion

You can run user acquisition campaigns for your mobile app. The integration process depends on your Mobile Measurement Partner (MMP).

Here’s the general process:

1. **Click Tracking**: TappAds sends a click to the tracking link, including its `clickid` parameter.
2. **App Installation**: The user installs the app.
3. **Attribution**: The Mobile Measurement Partner (MMP) attributes the installation to a specific click.
4. **Postback**: The MMP sends a postback to TappAds, containing the `clickid` from Step 1.

***

### Integration with AppsFlyer

TappAds is integrated with AppsFlyer through Media Surfer.&#x20;

Make sure to select the `mediasurfer_int` integration in AppsFlyer.&#x20;

***

### Integration with Adjust

For campaigns using Adjust, advertisers provide links in the following format:

```arduino
https://app.adjust.com/XXXXXXX
```

* **Format Details**:
  * `XXXXXXX`: Alphanumeric string without special characters (e.g., `https://app.adjust.com/bc7u4us`).
  * If separate links for iOS and Android are not provided, the link is universal and will redirect to the correct app store.
* **Steps for Integration**:
  1. Open [Adjust Partners Page](https://partners.adjust.com/).
  2. Enter the original link provided by the advertiser in the first field.
  3. Add the install callback link:

     ```bash
     https://wallapi.tappads.io/v1/tapp-cpa?click_id={clickid}
     ```
  4. Verify that the `{clickid}` macro is correctly recognized under the "Placeholders" section.
  5. Generate the final link.
  6. If needed, add extra parameters to support campaign naming, such as:

     ```
     campaign=tappads&adgroup=campaign1
     ```

***

### Integration with AppMetrica

For AppMetrica, you can use any tracker and include a separate postback for installations, formatted like this:

```bash
https://wallapi.tappads.io/v1/tapp-cpa?click_id={click_id}
```

* **Example Process**:
  1. Use the tracker and add the postback for installation.
  2. Append these parameters for detailed tracking:

     ```ruby
     ?click_id={clickid}&device_ua={ua}&device_ip={ip}
     ```
* **Final URL Example**:

  ```arduino
  https://redirect.appmetrica.yandex.com/serve/461330015817114321?click_id={clickid}&device_ua={ua}&device_ip={ip}
  ```

Provide this final link to TappAds to launch the campaign.


---

# Agent Instructions: 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:

```
GET https://tappadsdocs.gitbook.io/tappads/advertisers/instructions-for-integration/integration-for-mobile-apps-promotion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
