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

# Axon as a data source

> Bring data from Axon (AppLovin) to Nekt.

Axon is AppLovin's growth and monetization platform for mobile apps. It provides reporting APIs for advertiser campaign performance and publisher monetization data. With this connector, you can sync campaign metrics such as impressions, clicks, cost, and conversions, as well as publisher revenue data into Nekt.

## Configuration

<Steps>
  <Step title="Add account access">
    To connect Axon to Nekt, you need a **Reporting API Key**.

    You can find it in the Axon dashboard under **Account > Keys**.

    | Field                 | Description                                                             |
    | --------------------- | ----------------------------------------------------------------------- |
    | **Reporting API Key** | Your Axon reporting API key for authentication.                         |
    | **Start Date**        | The earliest date to sync data from (YYYY-MM-DD). Maximum 45 days back. |
    | **End Date**          | Optional. The latest date to sync data to. Defaults to today.           |

    <Note>
      The Axon Reporting API only supports data from the last 45 days. If you set a start date older than 45 days, the API will return an error.
    </Note>
  </Step>

  <Step title="Select streams">
    Choose which streams you want to sync:

    * **advertiser\_report** - Campaign performance data including impressions, clicks, cost, and conversions.
    * **publisher\_report** - Monetization data including impressions, revenue, and eCPM.
  </Step>

  <Step title="Configure data streams">
    For each selected stream, configure the following:

    | Setting        | Description                                           |
    | -------------- | ----------------------------------------------------- |
    | **Layer**      | The data layer to write to (Bronze, Silver, or Gold). |
    | **Folder**     | The folder path within the selected layer.            |
    | **Table name** | The name of the destination table.                    |
    | **Sync Type**  | Incremental (recommended) or Full.                    |
  </Step>

  <Step title="Configure data source">
    Set general source settings:

    | Setting                 | Description                         |
    | ----------------------- | ----------------------------------- |
    | **Description**         | A description for this data source. |
    | **Triggers**            | Schedule or event-based triggers.   |
    | **Delta Log Retention** | How long to keep change history.    |
  </Step>

  <Step title="Check new source">
    Review your configuration and save the new source. Nekt will start syncing data on the configured schedule.
  </Step>
</Steps>

## Streams and fields

<AccordionGroup>
  <Accordion title="advertiser_report">
    Campaign performance data from the Axon advertiser reporting API.

    **Sync mode:** Incremental (by day)

    | Field                  | Type    | Description                  |
    | ---------------------- | ------- | ---------------------------- |
    | day                    | date    | Report date                  |
    | campaign               | string  | Campaign name                |
    | campaign\_id\_external | string  | External campaign ID         |
    | campaign\_type         | string  | Campaign type                |
    | campaign\_ad\_type     | string  | Campaign ad type             |
    | ad                     | string  | Ad name                      |
    | ad\_type               | string  | Ad type                      |
    | ad\_creative\_type     | string  | Ad creative type             |
    | application            | string  | Application name             |
    | app\_id\_external      | string  | External app ID              |
    | platform               | string  | Platform (iOS, Android)      |
    | country                | string  | Country code                 |
    | device\_type           | string  | Device type                  |
    | placement\_type        | string  | Placement type               |
    | traffic\_source        | string  | Traffic source               |
    | target\_event          | string  | Target event name            |
    | creative\_set          | string  | Creative set name            |
    | creative\_set\_id      | string  | Creative set ID              |
    | size                   | string  | Ad size                      |
    | impressions            | integer | Number of impressions        |
    | clicks                 | integer | Number of clicks             |
    | ctr                    | number  | Click-through rate           |
    | conversions            | integer | Number of conversions        |
    | conversion\_rate       | number  | Conversion rate              |
    | cost                   | number  | Total cost                   |
    | average\_cpa           | number  | Average cost per acquisition |
    | average\_cpc           | number  | Average cost per click       |
    | sales                  | number  | Total sales revenue          |
    | first\_purchase        | integer | Number of first purchases    |
    | target\_event\_count   | integer | Target event count           |
  </Accordion>

  <Accordion title="publisher_report">
    Monetization data from the Axon publisher reporting API.

    **Sync mode:** Incremental (by day)

    | Field           | Type    | Description              |
    | --------------- | ------- | ------------------------ |
    | day             | date    | Report date              |
    | application     | string  | Application name         |
    | package\_name   | string  | App package name         |
    | store\_id       | string  | Store ID                 |
    | platform        | string  | Platform (iOS, Android)  |
    | country         | string  | Country code             |
    | ad\_type        | string  | Ad type                  |
    | device\_type    | string  | Device type              |
    | placement\_type | string  | Placement type           |
    | zone            | string  | Ad zone name             |
    | zone\_id        | string  | Ad zone ID               |
    | size            | string  | Ad size                  |
    | impressions     | integer | Number of impressions    |
    | clicks          | integer | Number of clicks         |
    | ctr             | number  | Click-through rate       |
    | ecpm            | number  | Effective cost per mille |
    | revenue         | number  | Total revenue            |
  </Accordion>
</AccordionGroup>
