# TikTok Ads (v1)

Information note **TikTok Ads extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) tiktok-ads tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-tiktok-ads).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## TikTok Ads integration summary

Stitch’s TikTok Ads integration replicates data using the [TikTok Ads API (v1.3)](https://ads.tiktok.com/marketing_api/docs). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/tiktok-ads#schema) section for a list of objects available for replication.

## TikTok Ads feature snapshot

A high-level look at Stitch's TikTok Ads (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on February 9, 2023 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-tiktok-ads](https://github.com/singer-io/tap-tiktok-ads) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting TikTok Ads

### TikTok Ads setup requirements

To set up TikTok Ads in Stitch, you need:

* **Access to a TikTok Ads account.** This is necessary to login to the Ad Manager account.

* **Access to a TikTok Ads Ad Manager account.** Verify that you have access to use the Ad accounts you want to replicate data from. This is necessary to connect to Stitch.

### Step 1: Add TikTok Ads as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **TikTok Ads** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch TikTok Ads” would create a schema called `stitch_tiktok_ads` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. Check the **include\_deleted** box to have Stitch replicate data from deleted campaigns, ads, and adgroups.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your TikTok Ads integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond TikTok Ads’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

TikTok Ads integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch

1. Next, you’ll be prompted to log into your TikTok account and approve Stitch’s access to your TikTok Ads data. **Note that we will only ever read your data.**
2. Click **Sign in with TikTok** to connect.
3. Sign in with your TikTok account.
4. After your credentials are validated, you’ll be directed back to Stitch and prompted to select the TikTok Ads accounts you want to for which you want to run extractions.
5. When finished, click **Check and Save**, then click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/tiktok-ads#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For TikTok Ads integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up TikTok Ads, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## TikTok Ads table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the TikTok Ads integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### ad\_insights

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ad\_id<br><br>adgroup\_id<br><br>advertiser\_id<br><br>campaign\_id<br><br>stat\_time\_day |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | stat\_time\_day |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1707957200780290 "Opens in new tab: TikTok Ads documentation")<br><br><br>[ad_insights schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/ad_insights.json "Opens in new tab: ad_insights schema on GitHub") |

ad\_insights table schema

| **ad\_id**<br><br><br>STRING |
| --- |
| **ad\_name**<br><br><br>STRING |
| **ad\_text**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **app\_promotion\_type**<br><br><br>STRING |
| **average\_video\_play**<br><br><br>NUMBER |
| **average\_video\_play\_per\_user**<br><br><br>NUMBER |
| **bid**<br><br><br>STRING |
| **bid\_strategy**<br><br><br>STRING |
| **billing\_event**<br><br><br>STRING |
| **budget**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **campaign\_budget**<br><br><br>STRING |
| **campaign\_dedicate\_type**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **clicks**<br><br><br>INTEGER |
| **clicks\_on\_music\_disc**<br><br><br>INTEGER |
| **comments**<br><br><br>INTEGER |
| **conversion**<br><br><br>INTEGER |
| **conversion\_rate**<br><br><br>NUMBER |
| **conversion\_rate\_v2**<br><br><br>NUMBER |
| **cost\_per\_1000\_reached**<br><br><br>STRING |
| **cost\_per\_100\_reached**<br><br><br>NUMBER |
| **cost\_per\_conversion**<br><br><br>NUMBER |
| **cost\_per\_result**<br><br><br>NUMBER |
| **cost\_per\_secondary\_goal\_result**<br><br><br>NUMBER |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **ctr**<br><br><br>NUMBER |
| **dpa\_target\_audience\_type**<br><br><br>STRING |
| **follows**<br><br><br>INTEGER |
| **frequency**<br><br><br>NUMBER |
| **gross\_impressions**<br><br><br>STRING |
| **image\_mode**<br><br><br>STRING |
| **impressions**<br><br><br>INTEGER |
| **is\_smart\_creative**<br><br><br>BOOLEAN |
| **likes**<br><br><br>INTEGER |
| **mobile\_app\_id**<br><br><br>STRING |
| **objective\_type**<br><br><br>STRING |
| **opt\_status**<br><br><br>STRING |
| **placement\_type**<br><br><br>STRING |
| **profile\_visits**<br><br><br>INTEGER |
| **profile\_visits\_rate**<br><br><br>NUMBER |
| **promotion\_type**<br><br><br>STRING |
| **reach**<br><br><br>INTEGER |
| **real\_time\_conversion**<br><br><br>INTEGER |
| **real\_time\_conversion\_rate**<br><br><br>NUMBER |
| **real\_time\_conversion\_rate\_v2**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_conversion**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_result**<br><br><br>NUMBER |
| **real\_time\_result**<br><br><br>INTEGER |
| **real\_time\_result\_rate**<br><br><br>NUMBER |
| **result**<br><br><br>INTEGER |
| **result\_rate**<br><br><br>NUMBER |
| **secondary\_goal\_result**<br><br><br>INTEGER |
| **secondary\_goal\_result\_rate**<br><br><br>NUMBER |
| **shares**<br><br><br>INTEGER |
| **smart\_target**<br><br><br>STRING |
| **spend**<br><br><br>NUMBER |
| **split\_test**<br><br><br>STRING |
| **stat\_time\_day**<br><br><br>DATE-TIME |
| **tt\_app\_id**<br><br><br>STRING |
| **tt\_app\_name**<br><br><br>STRING |
| **video\_play\_actions**<br><br><br>INTEGER |
| **video\_views\_p100**<br><br><br>INTEGER |
| **video\_views\_p25**<br><br><br>INTEGER |
| **video\_views\_p50**<br><br><br>INTEGER |
| **video\_views\_p75**<br><br><br>INTEGER |
| **video\_watched\_2s**<br><br><br>INTEGER |
| **video\_watched\_6s**<br><br><br>INTEGER |

### ad\_insights\_by\_age\_and\_gender

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ad\_id<br><br>adgroup\_id<br><br>advertiser\_id<br><br>age<br><br>campaign\_id<br><br>gender<br><br>stat\_time\_day |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | stat\_time\_day |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1707957217727489 "Opens in new tab: TikTok Ads documentation")<br><br><br>[ad_insights_by_age_and_gender schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/ad_insights_by_age_and_gender.json "Opens in new tab: ad_insights_by_age_and_gender schema on GitHub") |

ad\_insights\_by\_age\_and\_gender table schema

| **ad\_id**<br><br><br>STRING |
| --- |
| **ad\_name**<br><br><br>STRING |
| **ad\_text**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **age**<br><br><br>STRING |
| **bid**<br><br><br>STRING |
| **bid\_strategy**<br><br><br>STRING |
| **billing\_event**<br><br><br>STRING |
| **budget**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **campaign\_budget**<br><br><br>STRING |
| **campaign\_dedicate\_type**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **clicks**<br><br><br>INTEGER |
| **conversion**<br><br><br>INTEGER |
| **conversion\_rate**<br><br><br>NUMBER |
| **conversion\_rate\_v2**<br><br><br>NUMBER |
| **cost\_per\_conversion**<br><br><br>NUMBER |
| **cost\_per\_result**<br><br><br>NUMBER |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **ctr**<br><br><br>NUMBER |
| **dpa\_target\_audience\_type**<br><br><br>STRING |
| **gender**<br><br><br>STRING |
| **gross\_impressions**<br><br><br>STRING |
| **impressions**<br><br><br>INTEGER |
| **is\_smart\_creative**<br><br><br>BOOLEAN |
| **mobile\_app\_id**<br><br><br>STRING |
| **objective\_type**<br><br><br>STRING |
| **opt\_status**<br><br><br>STRING |
| **promotion\_type**<br><br><br>STRING |
| **real\_time\_conversion**<br><br><br>INTEGER |
| **real\_time\_conversion\_rate**<br><br><br>NUMBER |
| **real\_time\_conversion\_rate\_v2**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_conversion**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_result**<br><br><br>NUMBER |
| **real\_time\_result**<br><br><br>INTEGER |
| **real\_time\_result\_rate**<br><br><br>NUMBER |
| **result**<br><br><br>INTEGER |
| **result\_rate**<br><br><br>NUMBER |
| **rf\_campaign\_type**<br><br><br>STRING |
| **smart\_target**<br><br><br>STRING |
| **spend**<br><br><br>NUMBER |
| **split\_test**<br><br><br>STRING |
| **stat\_time\_day**<br><br><br>DATE-TIME |
| **tt\_app\_id**<br><br><br>STRING |
| **tt\_app\_name**<br><br><br>STRING |
| **user\_action**<br><br><br>STRING |

### ad\_insights\_by\_country

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ad\_id<br><br>adgroup\_id<br><br>advertiser\_id<br><br>campaign\_id<br><br>country\_code<br><br>stat\_time\_day |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | stat\_time\_day |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1707957217727489 "Opens in new tab: TikTok Ads documentation")<br><br><br>[ad_insights_by_country schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/ad_insights_by_country.json "Opens in new tab: ad_insights_by_country schema on GitHub") |

ad\_insights\_by\_country table schema

| **ad\_id**<br><br><br>STRING |
| --- |
| **ad\_name**<br><br><br>STRING |
| **ad\_text**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **bid**<br><br><br>STRING |
| **bid\_strategy**<br><br><br>STRING |
| **billing\_event**<br><br><br>STRING |
| **budget**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **campaign\_budget**<br><br><br>STRING |
| **campaign\_dedicate\_type**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **clicks**<br><br><br>INTEGER |
| **conversion**<br><br><br>INTEGER |
| **conversion\_rate**<br><br><br>NUMBER |
| **conversion\_rate\_v2**<br><br><br>NUMBER |
| **cost\_per\_conversion**<br><br><br>NUMBER |
| **cost\_per\_result**<br><br><br>NUMBER |
| **country\_code**<br><br><br>STRING |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **ctr**<br><br><br>NUMBER |
| **dpa\_target\_audience\_type**<br><br><br>STRING |
| **gross\_impressions**<br><br><br>STRING |
| **impressions**<br><br><br>INTEGER |
| **is\_smart\_creative**<br><br><br>BOOLEAN |
| **mobile\_app\_id**<br><br><br>STRING |
| **objective\_type**<br><br><br>STRING |
| **opt\_status**<br><br><br>STRING |
| **promotion\_type**<br><br><br>STRING |
| **real\_time\_conversion**<br><br><br>INTEGER |
| **real\_time\_conversion\_rate**<br><br><br>NUMBER |
| **real\_time\_conversion\_rate\_v2**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_conversion**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_result**<br><br><br>NUMBER |
| **real\_time\_result**<br><br><br>INTEGER |
| **real\_time\_result\_rate**<br><br><br>NUMBER |
| **result**<br><br><br>INTEGER |
| **result\_rate**<br><br><br>NUMBER |
| **rf\_campaign\_type**<br><br><br>STRING |
| **smart\_target**<br><br><br>STRING |
| **spend**<br><br><br>NUMBER |
| **split\_test**<br><br><br>STRING |
| **stat\_time\_day**<br><br><br>DATE-TIME |
| **tt\_app\_id**<br><br><br>STRING |
| **tt\_app\_name**<br><br><br>STRING |
| **user\_action**<br><br><br>STRING |

### ad\_insights\_by\_platform

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ad\_id<br><br>adgroup\_id<br><br>campaign\_id<br><br>platform<br><br>stat\_time\_day |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | stat\_time\_day |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1707957217727489 "Opens in new tab: TikTok Ads documentation")<br><br><br>[ad_insights_by_platform schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/ad_insights_by_platform.json "Opens in new tab: ad_insights_by_platform schema on GitHub") |

ad\_insights\_by\_platform table schema

| **ad\_id**<br><br><br>STRING |
| --- |
| **ad\_name**<br><br><br>STRING |
| **ad\_text**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **bid**<br><br><br>STRING |
| **bid\_strategy**<br><br><br>STRING |
| **billing\_event**<br><br><br>STRING |
| **budget**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **campaign\_budget**<br><br><br>STRING |
| **campaign\_dedicate\_type**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **clicks**<br><br><br>INTEGER |
| **conversion**<br><br><br>INTEGER |
| **conversion\_rate**<br><br><br>NUMBER |
| **conversion\_rate\_v2**<br><br><br>NUMBER |
| **cost\_per\_conversion**<br><br><br>NUMBER |
| **cost\_per\_result**<br><br><br>NUMBER |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **ctr**<br><br><br>NUMBER |
| **dpa\_target\_audience\_type**<br><br><br>STRING |
| **gross\_impressions**<br><br><br>STRING |
| **impressions**<br><br><br>INTEGER |
| **is\_smart\_creative**<br><br><br>BOOLEAN |
| **mobile\_app\_id**<br><br><br>STRING |
| **objective\_type**<br><br><br>STRING |
| **opt\_status**<br><br><br>STRING |
| **platform**<br><br><br>STRING |
| **promotion\_type**<br><br><br>STRING |
| **real\_time\_conversion**<br><br><br>INTEGER |
| **real\_time\_conversion\_rate**<br><br><br>NUMBER |
| **real\_time\_conversion\_rate\_v2**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_conversion**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_result**<br><br><br>NUMBER |
| **real\_time\_result**<br><br><br>INTEGER |
| **real\_time\_result\_rate**<br><br><br>NUMBER |
| **result**<br><br><br>INTEGER |
| **result\_rate**<br><br><br>NUMBER |
| **rf\_campaign\_type**<br><br><br>STRING |
| **smart\_target**<br><br><br>STRING |
| **spend**<br><br><br>NUMBER |
| **split\_test**<br><br><br>STRING |
| **stat\_time\_day**<br><br><br>DATE-TIME |
| **tt\_app\_id**<br><br><br>STRING |
| **tt\_app\_name**<br><br><br>STRING |
| **user\_action**<br><br><br>STRING |

### adgroups

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | adgroup\_id<br><br>advertiser\_id<br><br>campaign\_id<br><br>modify\_time |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modify\_time |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1708503489590273 "Opens in new tab: TikTok Ads documentation")<br><br><br>[adgroups schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/adgroups.json "Opens in new tab: adgroups schema on GitHub") |

adgroups table schema

| **actions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand actions<br><br><table> <tr> <td> <p> <strong>								action_category_ids							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								action_period							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								action_scene							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								video_user_actions							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| --- |
| **adgroup\_app\_profile\_page\_state**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **age\_groups**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **app\_download\_url**<br><br><br>STRING |
| **app\_id**<br><br><br>STRING |
| **audience**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **audience\_type**<br><br><br>STRING |
| **bid\_price**<br><br><br>NUMBER |
| **bid\_type**<br><br><br>STRING |
| **billing\_event**<br><br><br>STRING |
| **brand\_safety\_partner**<br><br><br>STRING |
| **brand\_safety\_type**<br><br><br>STRING |
| **budget**<br><br><br>NUMBER |
| **budget\_mode**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **carriers\_v2**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **catalog\_authorized\_bc**<br><br><br>INTEGER |
| **catalog\_id**<br><br><br>STRING |
| **conversion\_bid\_price**<br><br><br>NUMBER |
| **conversion\_window**<br><br><br>STRING |
| **cpv\_video\_duration**<br><br><br>STRING |
| **create\_time**<br><br><br>DATE-TIME |
| **creative\_material\_mode**<br><br><br>STRING |
| **current\_status**<br><br><br>STRING |
| **dayparting**<br><br><br>STRING |
| **deep\_bid\_type**<br><br><br>STRING |
| **deep\_cpa\_bid**<br><br><br>NUMBER |
| **delivery\_mode**<br><br><br>STRING |
| **device\_models**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **device\_price\_ranges**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **excluded\_audience**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **excluded\_custom\_actions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand excluded\_custom\_actions<br><br><table> <tr> <td> <p> <strong>								code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								days							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **frequency**<br><br><br>INTEGER |
| **frequency\_schedule**<br><br><br>INTEGER |
| **gender**<br><br><br>STRING |
| **included\_custom\_actions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand included\_custom\_actions<br><br><table> <tr> <td> <p> <strong>								code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								days							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **interest\_category\_v2**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **interest\_keywords**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **inventory\_filter\_enabled**<br><br><br>BOOLEAN |
| **ios14\_targeting**<br><br><br>STRING |
| **ios\_quota\_type**<br><br><br>STRING |
| **is\_comment\_disable**<br><br><br>BOOLEAN |
| **is\_hfss**<br><br><br>BOOLEAN |
| **is\_new\_structure**<br><br><br>BOOLEAN |
| **languages**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **location**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **min\_android\_version**<br><br><br>STRING |
| **min\_ios\_version**<br><br><br>STRING |
| **modify\_time**<br><br><br>DATE-TIME |
| **network\_types**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **next\_day\_retention**<br><br><br>NUMBER |
| **operating\_systems**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **operation\_status**<br><br><br>STRING |
| **optimization\_event**<br><br><br>STRING |
| **optimization\_goal**<br><br><br>STRING |
| **pacing**<br><br><br>STRING |
| **package**<br><br><br>STRING |
| **pangle\_audience\_package\_exclude**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **pangle\_audience\_package\_include**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **pangle\_block\_app\_list\_id**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **pixel\_id**<br><br><br>STRING |
| **placement\_type**<br><br><br>STRING |
| **placements**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **product\_set\_id**<br><br><br>STRING |
| **promotion\_type**<br><br><br>STRING |
| **promotion\_website\_type**<br><br><br>STRING |
| **purchased\_impression**<br><br><br>NUMBER |
| **purchased\_reach**<br><br><br>NUMBER |
| **rf\_estimated\_cpr**<br><br><br>NUMBER |
| **rf\_estimated\_frequency**<br><br><br>NUMBER |
| **rf\_purchased\_type**<br><br><br>STRING |
| **roas\_bid**<br><br><br>NUMBER |
| **schedule\_end\_time**<br><br><br>DATE-TIME |
| **schedule\_start\_time**<br><br><br>DATE-TIME |
| **schedule\_type**<br><br><br>STRING |
| **secondary\_optimization\_event**<br><br><br>STRING |
| **secondary\_status**<br><br><br>STRING |
| **share\_disabled**<br><br><br>BOOLEAN |
| **shopping\_ads\_retargeting\_type**<br><br><br>STRING |
| **skip\_learning\_phase**<br><br><br>BOOLEAN |
| **statistic\_type**<br><br><br>STRING |
| **targeting\_expansion**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand targeting\_expansion<br><br><table> <tr> <td> <p> <strong>								expansion_enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								expansion_types							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| **video\_download**<br><br><br>STRING |

### ads

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ad\_id<br><br>adgroup\_id<br><br>advertiser\_id<br><br>campaign\_id<br><br>modify\_time |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modify\_time |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1708572923161602 "Opens in new tab: TikTok Ads documentation")<br><br><br>[ads schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/ads.json "Opens in new tab: ads schema on GitHub") |

ads table schema

| **ad\_format**<br><br><br>STRING |
| --- |
| **ad\_id**<br><br><br>STRING |
| **ad\_name**<br><br><br>STRING |
| **ad\_text**<br><br><br>STRING |
| **adgroup\_id**<br><br><br>STRING |
| **adgroup\_name**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **app\_name**<br><br><br>STRING |
| **brand\_safety\_vast\_url**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **card\_id**<br><br><br>STRING |
| **carousel\_image\_index**<br><br><br>INTEGER |
| **catalog\_id**<br><br><br>STRING |
| **click\_tracking\_url**<br><br><br>STRING |
| **create\_time**<br><br><br>DATE-TIME |
| **creative\_authorized**<br><br><br>BOOLEAN |
| **current\_status**<br><br><br>STRING |
| **deeplink**<br><br><br>STRING |
| **deeplink\_type**<br><br><br>STRING |
| **display\_name**<br><br><br>STRING |
| **dynamic\_destination**<br><br><br>STRING |
| **dynamic\_format**<br><br><br>STRING |
| **fallback\_type**<br><br><br>STRING |
| **image\_ids**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **image\_mode**<br><br><br>STRING |
| **impression\_tracking\_url**<br><br><br>STRING |
| **is\_aco**<br><br><br>BOOLEAN |
| **is\_new\_structure**<br><br><br>BOOLEAN |
| **item\_duet\_status**<br><br><br>STRING |
| **item\_group\_ids**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **item\_stitch\_status**<br><br><br>STRING |
| **landing\_page\_url**<br><br><br>STRING |
| **landing\_page\_urls**<br><br><br>STRING |
| **modify\_time**<br><br><br>DATE-TIME |
| **music\_id**<br><br><br>STRING |
| **operation\_status**<br><br><br>STRING |
| **page\_id**<br><br><br>NUMBER |
| **playable\_url**<br><br><br>STRING |
| **product\_set\_id**<br><br><br>STRING |
| **product\_specific\_type**<br><br><br>STRING |
| **profile\_image\_url**<br><br><br>STRING |
| **promotional\_music\_disabled**<br><br><br>BOOLEAN |
| **secondary\_status**<br><br><br>STRING |
| **shopping\_ads\_fallback\_type**<br><br><br>STRING |
| **shopping\_ads\_video\_package\_id**<br><br><br>STRING |
| **shopping\_deeplink\_type**<br><br><br>STRING |
| **showcase\_products**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand showcase\_products<br><br><table> <tr> <td> <p> <strong>								catalog_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								item_group_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								store_id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **sku\_ids**<br><br><br>STRING |
| **tiktok\_item\_id**<br><br><br>STRING |
| **tracking\_app\_id**<br><br><br>STRING |
| **tracking\_offline\_event\_set\_ids**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **utm\_params**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand utm\_params<br><br><table> <tr> <td> <p> <strong>								key							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **vast\_moat\_enabled**<br><br><br>BOOLEAN |
| **vertical\_video\_strategy**<br><br><br>STRING |
| **video\_id**<br><br><br>STRING |
| **viewability\_postbid\_partner**<br><br><br>STRING |
| **viewability\_vast\_url**<br><br><br>STRING |

### advertisers

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | advertiser\_id<br><br>create\_time |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | create\_time |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1708503235186689 "Opens in new tab: TikTok Ads documentation")<br><br><br>[advertisers schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/advertisers.json "Opens in new tab: advertisers schema on GitHub") |

advertisers table schema

| **address**<br><br><br>STRING |
| --- |
| **advertiser\_account\_type**<br><br><br>STRING |
| **advertiser\_id**<br><br><br>STRING |
| **balance**<br><br><br>NUMBER |
| **cellphone\_number**<br><br><br>STRING |
| **company**<br><br><br>STRING |
| **contacter**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **create\_time**<br><br><br>STRING |
| **currency**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **industry**<br><br><br>STRING |
| **language**<br><br><br>STRING |
| **license\_no**<br><br><br>STRING |
| **license\_url**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **promotion\_area**<br><br><br>STRING |
| **promotion\_center\_city**<br><br><br>STRING |
| **promotion\_center\_province**<br><br><br>STRING |
| **rejection\_reason**<br><br><br>STRING |
| **role**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **telephone\_number**<br><br><br>STRING |
| **timezone**<br><br><br>STRING |

### campaign\_insights\_by\_province

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | advertiser\_id<br><br>campaign\_id<br><br>province\_id<br><br>stat\_time\_day |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | stat\_time\_day |
| **Useful links** | [TikTok Ads documentation](https://help.qlik.com/en-US/stitch/integrations/saas/tiktok-ads "Opens in new tab: TikTok Ads documentation")<br><br><br>[campaign_insights_by_province schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/campaign_insights_by_province.json "Opens in new tab: campaign_insights_by_province schema on GitHub") |

campaign\_insights\_by\_province table schema

| **advertiser\_id**<br><br><br>STRING |
| --- |
| **campaign\_budget**<br><br><br>STRING |
| **campaign\_dedicate\_type**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **clicks**<br><br><br>INTEGER |
| **conversion**<br><br><br>INTEGER |
| **conversion\_rate**<br><br><br>NUMBER |
| **conversion\_rate\_v2**<br><br><br>NUMBER |
| **cost\_per\_conversion**<br><br><br>NUMBER |
| **cost\_per\_result**<br><br><br>NUMBER |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **ctr**<br><br><br>NUMBER |
| **gross\_impressions**<br><br><br>STRING |
| **impressions**<br><br><br>INTEGER |
| **objective\_type**<br><br><br>STRING |
| **province\_id**<br><br><br>STRING |
| **real\_time\_conversion**<br><br><br>INTEGER |
| **real\_time\_conversion\_rate**<br><br><br>NUMBER |
| **real\_time\_conversion\_rate\_v2**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_conversion**<br><br><br>NUMBER |
| **real\_time\_cost\_per\_result**<br><br><br>NUMBER |
| **real\_time\_result**<br><br><br>INTEGER |
| **real\_time\_result\_rate**<br><br><br>NUMBER |
| **result**<br><br><br>INTEGER |
| **result\_rate**<br><br><br>NUMBER |
| **rf\_campaign\_type**<br><br><br>STRING |
| **spend**<br><br><br>NUMBER |
| **split\_test**<br><br><br>STRING |
| **stat\_time\_day**<br><br><br>DATE-TIME |

### campaigns

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | advertiser\_id<br><br>campaign\_id<br><br>modify\_time |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modify\_time |
| **Useful links** | [TikTok Ads documentation](https://ads.tiktok.com/marketing_api/docs?id=1708582970809346 "Opens in new tab: TikTok Ads documentation")<br><br><br>[campaigns schema on GitHub](https://github.com/singer-io/tap-tiktok-ads/tree/master/tap_tiktok_ads/schemas/campaigns.json "Opens in new tab: campaigns schema on GitHub") |

campaigns table schema

| **advertiser\_id**<br><br><br>STRING |
| --- |
| **app\_id**<br><br><br>STRING |
| **app\_promotion\_type**<br><br><br>STRING |
| **bid\_type**<br><br><br>STRING |
| **budget**<br><br><br>NUMBER |
| **budget\_mode**<br><br><br>STRING |
| **budget\_optimize\_on**<br><br><br>BOOLEAN |
| **campaign\_app\_profile\_page\_state**<br><br><br>STRING |
| **campaign\_id**<br><br><br>STRING |
| **campaign\_name**<br><br><br>STRING |
| **campaign\_product\_source**<br><br><br>STRING |
| **campaign\_type**<br><br><br>STRING |
| **create\_time**<br><br><br>DATE-TIME |
| **current\_status**<br><br><br>STRING |
| **deep\_bid\_type**<br><br><br>STRING |
| **is\_new\_structure**<br><br><br>BOOLEAN |
| **is\_smart\_performance\_campaign**<br><br><br>BOOLEAN |
| **modify\_time**<br><br><br>DATE-TIME |
| **objective**<br><br><br>STRING |
| **objective\_type**<br><br><br>STRING |
| **operation\_status**<br><br><br>STRING |
| **optimization\_goal**<br><br><br>STRING |
| **rf\_campaign\_type**<br><br><br>STRING |
| **roas\_bid**<br><br><br>NUMBER |
| **secondary\_status**<br><br><br>STRING |
| **special\_industries**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |