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

# Smadex

View Smadex campaign performance in Airbridge by integrating Smadex with Airbridge. Go to **\[Integrations]>\[Ad Channel Integration]>\[Smadex]** to set up the integration.

## Collect data with tracking links

Go to the **\[Tracking Link]** tab to create and manage tracking links. For detailed instructions, refer to the articles below.

* [Creating Tracking Links](/en/guides/creating-tracking-links-on-the-dashboard)
* [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>

## Set up cost integration

Set up and manage cost integration to view ad spend data in the Airbridge dashboard.

### Get credentials from Smadex

Ask your contact at **Smadex** to provide the following credentials:

* API Key

### Provide credentials to Airbridge

Follow the steps below to register your **Smadex** credentials in the Airbridge dashboard.

1. Go to **\[Integration]>\[Ad Channel Integration]** and select **Smadex**.
2. Click the **\[Cost Integration]** tab, turn on the **\[Smadex Cost Integration]** toggle, and click **+ Add account**.
3. Enter the **API Key**, then click **Done**.

The integrated account appears in the Airbridge dashboard. A newly added account shows a **Waiting** status for up to 4 hours. The status changes to **Success** once Airbridge has successfully collected the cost data.

### Manage integration

To pause or remove an integration, refer to the sections below.

<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

Check the current status of your cost integration through the status message. Even after completing the integration setup, the status message shows **Waiting** until Airbridge has successfully received the data.

See the full list of status messages and cost import schedule below.

<AccordionGroup>
  <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: Current day (D-0) to 6 days ago (D-6)

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

  <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>
</AccordionGroup>

### View data in Airbridge reports

View the cost data in [Airbridge reports](/en/guides/airbridge-report-overview) 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

    | GroupBy       | 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                                                     |
    | Term          | The term, or the search keyword, of the winning touchpoint (Only available for search ads or keyword ads) |
    | 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                                          |
    | Term ID       | The unique ID assigned to the term, or the search keyword, 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                                                    |

    ###### Device

    | GroupBy | Description                                         |
    | ------- | --------------------------------------------------- |
    | Country | The country code for the mobile device              |
    | OS Name | The operating system installed on the mobile device |

    ###### Event Datetime

    | GroupBy                | 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>

## Set up postback

Go to the **\[Postback]** tab and set up conditions for sending data collected by Airbridge tracking links and SDK. You can use the data sent through postbacks for campaign optimization and ad spend settlement.

* [Postback Settings](/en/guides/postback-settings-new)

## Manage agencies

To allow agencies to set up integrations or view campaign performance and costs, an Owner or Internal Marketer must grant access to them. Go to the **\[Agency Settings]** tab to grant access.

* [Agency Settings](/en/guides/agency-setting)

## Edit lookback and attribution windows

To edit the lookback window and attribution window, go to the **\[Attribution Rule]** tab and click **Go to edit page**. This opens the **\[Management]>\[Attribution Rules]** page, where you can make your changes.

* [Lookback and Attribution Window Setup](/en/guides/setting-attribution-window)

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

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