> ## Documentation Index
> Fetch the complete documentation index at: https://help.airbridge.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Moloco

Airbridge supports integration with Moloco, including cost integration and agency settings. Owner and In-house Marketer users and authorized Agency users can access Moloco campaign data in the Airbridge dashboard.

## Collecting Data with Tracking Links

Navigate to **\[Integrations]>\[Ad Channel Integration]** in your Airbridge dashboard and select “MOLOCO.” In the **\[Tracking Link]** tab, you can create and manage tracking links to measure the performance of your Moloco campaigns.

For detailed instructions on creating and managing tracking links in Airbridge, refer to the articles below.

* [Creating Tracking Links](/en/guides/creating-a-new-tracking-link)
* [Tracking Link Management](/en/guides/tracking-link-management)

<Danger>
  **Attention**

  Set up postback before using tracking links. Postback must be set up before data collection to ensure all collected data is sent to the ad channel. If not, data collected through tracking links will not be sent to the ad channel.
</Danger>

## Attribution Rules

In the **\[Attribution Rules]** tab, you can configure the lookback window and attribution window for Moloco. Click **Go to edit page** to move to the **\[Management]>\[Attribution Rules]** page, where you can edit attribution rules.

Refer to this [article](/en/guides/setting-attribution-window) for detailed instructions on configuring the lookback window and attribution window.

## Cost Integration Setup

Follow the steps below to enable cost integration with Moloco.

<Danger>
  **Attention**

  Complete cost integration before you run campaigns on ad channels. Airbridge can start receiving cost data only after the integration is complete. Any ad spend data generated before cost integration won’t be imported to Airbridge.
</Danger>

### Get Moloco account information

To enable cost integration with Moloco, find the following account information from your Moloco dashboard and submit it to Airbridge.

* Ad account ID
* Token ID

<Note>
  **Connecting with multiple Moloco ad accounts**

  In case you have multiple Moloco ad accounts, make sure to provide all ad account IDs of the ad accounts that are active.

  To add multiple Moloco ad accounts, click **+ Add an account** in the Airbridge dashboard.
</Note>

#### How to get the ad account ID

1. Sign in to [Moloco Cloud DSP](https://portal.moloco.cloud/).
2. From the **Ad account** drop-down list, select the ad account you want to connect with Airbridge. Copy the ad account ID.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-ad-account-id.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=0e5f1881235c6e17e242b0e11e066a90" alt="moloco" width="1400" height="800" data-path="asset/image/moloco-ad-account-id.png" />
</Frame>

#### How to get the token ID

1. Navigate to **\[Settings]>\[Ad account settings]** in the upper right corner of your Moloco dashboard.
2. From the **Ad account** drop-down list, select the ad account you want to connect with Airbridge. Select the **\[Report Partner Integration]** tab and click **Create**.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-report-token-account-selector.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=b73e70489bf0f031eb0cc29be236ad17" alt="Frame 65 3" width="1400" height="800" data-path="asset/image/moloco-report-token-account-selector.png" />
</Frame>

3. Select the Integration Level to “App” or "Ad account". Refer to [Moloco guide](https://help.moloco.com/hc/en-us/articles/360056515334-Report-partner-integration#h_01HTYDZ6687WPHF8TV64CKAKBP).
   * App: All campaign results from the selected ad account will be transferred to Airbridge.
   * Ad account: All campaign results from the selected app will be transferred to Airbridge.

And select the Integration Partner to “Airbridge.” Click **Create**.

<Danger>
  **Attention**

  Note that when selecting Ad account as the integration level, Airbridge may display data of multiple apps connected to the selected ad account.
</Danger>

4. A Token ID will be generated on the list in the **\[Report Partner Integration]** tab. Copy the generated token ID and paste it into the Airbridge dashboard.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-report-token-list.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=d88614a33876e39c2053696b9d1b118d" alt="Frame 64 2" width="1400" height="800" data-path="asset/image/moloco-report-token-list.png" />
</Frame>

### Submit **account information to Airbridge**

Submit your Moloco account information to Airbridge and enable cost integration.

1. Navigate to **\[Integrations]>\[Ad Channel Integration]** in your Airbridge dashboard. Select **MOLOCO**.
2. Select the **\[Cost Integration]** tab. Switch on the **Moloco Cost Integration** toggle and click **+ Add an account**.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-cost-integration-add-account.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=78b3169897ef623459e06ba7aa23d9ba" alt="Moloco-01" width="1400" height="800" data-path="asset/image/moloco-cost-integration-add-account.png" />
</Frame>

3. Enter your Moloco ad account ID and token ID. Click **Done**.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-ad-account-token-form.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=9bb1df27c999b47de4bbc777a2c49b5e" alt="Moloco-02" width="1400" height="800" data-path="asset/image/moloco-ad-account-token-form.png" />
</Frame>

4. Once the account information is submitted correctly, the Moloco account is added to the integrated account list. The status will show “Waiting” for up to 4 hours from the time the account is added and will change to “Success” when data is pulled for the first time.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-cost-integration-success.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=17c80dc4026c48b1e4cb143162a79b6b" alt="Moloco-03" width="1400" height="800" data-path="asset/image/moloco-cost-integration-success.png" />
</Frame>

### Integration management

<AccordionGroup>
  <Accordion title="Pause cost integration">
    Turn off the toggle to pause the integration. Airbridge stops collecting cost data once the integration is paused.

    Any data collected before the pause remains available in Airbridge reports.

    Airbridge retains the credentials of the integrated account, so you can resume the integration at any time by turning the toggle on. However, deleting the integrated account removes these credentials.
  </Accordion>

  <Accordion title="Delete integrated account">
    Select the account from the integrated account list and click **Delete** to remove the account. To re-integrate the account after deletion, set up the integration from the beginning.
  </Accordion>
</AccordionGroup>

### Integration status

Upon submitting your ad account information to Airbridge, you can check if the integration is running. The status may show “Waiting” even when the account is successfully added if no data has been pulled yet.

For more details on the integration status and data import schedule, refer to the below information.

<Danger>
  **Attention**

  Complete cost integration before you run campaigns on ad channels. Airbridge can start receiving cost data only after the integration is complete. Any ad spend data generated before cost integration won’t be imported to Airbridge.
</Danger>

<AccordionGroup>
  <Accordion title="Cost integration status">
    | Status      | Description                                                                                                                                                                               |
    | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Waiting     | Integration set up successfully. Pending data import. This may take up to 4 hours.                                                                                                        |
    | Success     | Import complete. New data received from the ad channel. The **\[Last Updated]** timestamp reflects the latest import.                                                                     |
    | No new data | Import complete, but no new data was available from the ad channel. Check again at the next import.                                                                                       |
    | Failed      | Import failed. Possible causes:<br />- The ad channel API is not responding.<br />- The ad account details are incorrect.<br />- The ad channel permissions are not configured correctly. |
  </Accordion>

  <Accordion title="Cost data import schedule">
    * Frequency: Every 4 hours, 6 times a day, starting at 3:00 PM UTC
    * Import times: 3:00 PM, 7:00 PM, 11:00 PM, 3:00 AM, 7:00 AM, 11:00 AM UTC
    * Data range: Past 7 days, from D-1 to D-7

    **\[Last Updated]** shows the last time Airbridge actually received the data.
  </Accordion>
</AccordionGroup>

### C**ost data in Airbridge Reports**

The cost data pulled from Moloco can be viewed in Airbridge reports using the metrics and GroupBys below.

<AccordionGroup>
  <Accordion title="Metrics for cost data">
    | Metrics               | Description                                          |
    | --------------------- | ---------------------------------------------------- |
    | Clicks (Channel)      | The number of clicks provided by the ad channel      |
    | Impressions (Channel) | The number of impressions provided by the ad channel |
    | Cost (Channel)        | The ad spend provided by the ad channel              |

    <Note>
      **Difference between Clicks and Clicks (Channel)**

      Both **Clicks** and **Clicks (Channel)** show click count, but the data source differs:

      * **Clicks**: Collected through Airbridge tracking links
      * **Clicks (Channel)**: Provided by the ad channel

      Any metric with **(Channel)** in its name represents data provided by the integrated ad channel. The same applies to **Impressions** and **Impressions (Channel)**.
    </Note>
  </Accordion>

  <Accordion title="GroupBys for cost data">
    <Info>
      **Note**

      Use the groupBys below to break down cost data in Airbridge reports. Available groupBys vary by ad channel.
    </Info>

    ###### Touchpoint

    | Name                | Description                                                         |
    | ------------------- | ------------------------------------------------------------------- |
    | Channel             | The media source of the winning touchpoint                          |
    | Campaign            | The name of the campaign of the winning touchpoint                  |
    | Ad Group            | The name of the ad group of the winning touchpoint                  |
    | Ad Creative         | The name of the ad creative of the winning touchpoint               |
    | Campaign ID         | The unique ID assigned to the campaign of the winning touchpoint    |
    | Ad Group ID         | The unique ID assigned to the ad group of the winning touchpoint    |
    | Ad Creative ID      | The unique ID assigned to the ad creative of the winning touchpoint |
    | Ad Account ID       | The unique ID assigned to the ad account of the winning touchpoint  |
    | Sub Publisher       | The second-tier media source of the winning touchpoint              |
    | Sub Sub Publisher 3 | The name of the creative group of the winning touchpoint            |

    <Note>
      **How to view your Moloco creative group data in Airbridge**

      Moloco, by default, shares information about creative groups via cost integration. However, Airbridge has consulted with Moloco to provide it using the “Sub Sub Publisher 3” GroupBy.
    </Note>

    ###### Device

    | Name    | Description                        |
    | ------- | ---------------------------------- |
    | Country | The country code of the device     |
    | OS Name | The operating system of the device |

    ###### Event Datetime

    | Name                   | Description                                                          |
    | ---------------------- | -------------------------------------------------------------------- |
    | Event Hour             | The hour the event occurred in a 24-hour format                      |
    | Event Date             | The day the event occurred (YYYY-MM-DD)                              |
    | Event Year             | The year the event occurred (YYYY)                                   |
    | Event Month            | The month the event occurred (MM)                                    |
    | Event Week             | The week the event occurred (WW)                                     |
    | Event Day of the month | The day of the month the event occurred (DD)                         |
    | Event Day of the week  | The day of the week the event occurred in three-letter abbreviations |
  </Accordion>
</AccordionGroup>

## Postback Settings

In the **\[Postback]** tab, you can configure postbacks and determine which in-app events and attribution results to send as postbacks. The data collected with the Airbridge SDK and tracking links enables you to optimize campaigns and make strategic decisions about budget allocation.

For more details on postback settings, refer to this [article](/en/guides/postback-settings).

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/moloco-postback-delivery-rule.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=a910205e936fc7cd30ad7cac03b909f4" alt="Moloco-04" width="1400" height="800" data-path="asset/image/moloco-postback-delivery-rule.png" />
</Frame>

<Danger>
  **Attention**

  If you are sending events to Airbridge via [S2S API](/en/references/s2s-event#send-in-app-events-body-params), make sure to include the app's package name (`app.packageName`). This value is required for Moloco to successfully receive postbacks from Airbridge.
</Danger>

If you are running web campaigns and want to send web postbacks to Moloco, it is advised to collect cookie IDs through the Airbridge SDK. For the necessary setup, refer to the below link.

* [Collecting Moloco Cookie IDs](/en/developers/web-sdk#collecting-moloco-cookie-ids)

## Attention

Read the following information before enabling cost integration with Moloco.

<AccordionGroup>
  <Accordion title="Possible cause of cost data discrepancy">
    Airbridge pulls the cost data from the past 7 days, every 4 hours, 6 times a day, starting at 3:00 PM (UTC). As the updates are not real-time, there may be data discrepancies between Airbridge and the ad channel, depending on the time of inquiry.
  </Accordion>

  <Accordion title="GroupBys for the Cost (Channel) metric">
    The **Cost (Channel)** metric, which shows your ad spend reported by the ad channel, displays value only when used with specific GroupBys.

    Below are the GroupBys that can be used in the Actuals Report to view data with the metric:

    * Channel
    * Campaign
    * Ad Group
    * Ad Creative

    Depending on the data reported, the metric may not display any value even if you use the GroupBys above.
  </Accordion>

  <Accordion title="App time zone and currency settings">
    The data pulled via cost integration is provided by the app time zone and app standard currency set within Airbridge.

    To minimize data discrepancy, align your app’s currency and time zone settings in your Airbridge dashboard and your ad channel’s dashboard.

    * [App Time Zone Setup](/en/guides/set-app-timezone)
    * [App Standard Currency Setup](/en/guides/set-app-standard-currency)
  </Accordion>

  <Accordion title="Campaign details advised not to edit">
    Once the cost integration is enabled, the following campaign details are advised not to be edited to avoid any error in pulling data into Airbridge.

    * Campaign name
    * Ad group name
    * Ad creative name
  </Accordion>

  <Accordion title="Cost integration before running campaigns">
    Airbridge can start receiving cost data only after the integration is complete. Any ad spend data generated before cost integration won’t be imported to Airbridge.
  </Accordion>
</AccordionGroup>

<link rel="alternate" hrefLang="en" href="https://help.airbridge.io/en/guides/moloco" />

<link rel="alternate" hrefLang="ko" href="https://help.airbridge.io/ko/guides/moloco" />
