---
title: "Awin · WitCloud Docs"
description: "Learn how to connect Awin to Google BigQuery using WitCloud. Automatically fetch campaign, transaction, and commission data, analyze it in real-time, and…"
canonical_url: "https://witcloud.ai/docs/integrations/awin"
meta:
  "og:description": "Learn how to connect Awin to Google BigQuery using WitCloud. Automatically fetch campaign, transaction, and commission data, analyze it in real-time, and…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Awin · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of Awin with BigQuery

Learn how to connect Awin to Google BigQuery using WitCloud. Automatically fetch campaign, transaction, and commission data, analyze it in real-time, and optimize your affiliate marketing efforts.

Updated 8 Oct 2026

## Introduction

This integration connects **Awin** to **Google Cloud BigQuery**. It collects your Awin transactions with their commission data, so you can analyze the results of your affiliate marketing next to the rest of your data in WitCloud.

## Configuration guide

Follow the steps below to connect Awin with BigQuery. Once the setup is complete, your Awin data will be transferred to your BigQuery project.

Make sure you have **admin access** to your Awin account before starting the configuration.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/31c4fd3e1b4803f42c955069c0135a76.png)

Select **Awin** from the list of available integrations.

![Integration catalog with Awin selected](https://api.witcloud.ai/api/docs/assets/356eb6eea7c59dc4d9521f7dd74b1e86.png)

Enter the **Collect name**, e.g., "Awin PL".

![Collect name field filled in with the example name Awin PL](https://api.witcloud.ai/api/docs/assets/babd198064f03cb718b3bb221f729e9e.png)

### Authorization

If you have previously authorized the Awin module and do not require additional permissions, you can skip this step and pick the existing authorization from the **Select Awin authorization** drop-down.

To connect to Awin you need to generate a token. Navigate to the API Credentials page by this [link](https://ui.awin.com/awin-api).

Fill in the password field and press the button **Show my API tokens**.

Copy the API token. You will need it to complete the configuration of the module in WitCloud.

Come back to WitCloud and click **Authorize**.

![Authorize button next to the authorization token field](https://api.witcloud.ai/api/docs/assets/74c579818fb143d2395fd403f20513d7.png)

Paste the API token into the **Access token** field of the **Authorize** form and click **Create**.

![Authorize pop-up with the Access token field filled with a placeholder value](https://api.witcloud.ai/api/docs/assets/74437255fcccb15c5877412280b797d7.png)

Select the appropriate account from the **Select account** drop-down list.

![Account drop-down open with two example Awin accounts](https://api.witcloud.ai/api/docs/assets/d86a3798878a1abac363edd95e1b63fb.png)

Select your country code in the **Region** field.

![Region drop-down open with country codes](https://api.witcloud.ai/api/docs/assets/fbf9036b3e5ceb50d6d335073d1adc7e.png)

Optionally, click **Show advanced settings**. **Tables to collect** lets you filter the tables you want to collect; by default all of them are selected, and at least one table is required.

![Advanced settings open with the Tables to collect field](https://api.witcloud.ai/api/docs/assets/2dd67af77ba4efdbc9bffbbc24d02634.png)

Click **Next**.

### Historical data and scheduling

In **Historical Data**, enter the **number of days** for which you want to fetch historical data. You can enter up to **365** days.

![Historical Data field filled in with 365 days](https://api.witcloud.ai/api/docs/assets/7f848ca04934b5e77a9bb3bb62a24a8c.png)

A data synchronization schedule will be created automatically. More information on this topic can be found [here](https://witcloud.ai/docs/workflow#automated-workflows).

Click **Create** to complete the configuration.

![Data collection settings with the Create button](https://api.witcloud.ai/api/docs/assets/be15bf510bc2c72bf10a1fc5a1e0921b.png)

**Done!** Your Awin data will now be synchronized with BigQuery.

## Data schema

Expand the tables below to view the full data schema collected from Awin.

<details>

<summary>

Columns of <code>awin_transactions</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | INTEGER |
| url | NULLABLE | STRING |
| advertiserId | NULLABLE | INTEGER |
| publisherId | NULLABLE | INTEGER |
| commissionSharingPublisherId | NULLABLE | STRING |
| commissionSharingSelectedRatePublisherId | NULLABLE | STRING |
| campaign | NULLABLE | STRING |
| siteName | NULLABLE | STRING |
| commissionStatus | NULLABLE | STRING |
| commissionAmount | NULLABLE | RECORD |
| ├─ commissionAmount.amount | NULLABLE | FLOAT |
| ├─ commissionAmount.currency | NULLABLE | STRING |
| saleAmount | NULLABLE | RECORD |
| ├─ saleAmount.amount | NULLABLE | FLOAT |
| ├─ saleAmount.currency | NULLABLE | STRING |
| ipHash | NULLABLE | STRING |
| customerCountry | NULLABLE | STRING |
| clickRefs | NULLABLE | RECORD |
| ├─ clickRefs.clickRef | NULLABLE | STRING |
| clickDate | NULLABLE | TIMESTAMP |
| transactionDate | NULLABLE | TIMESTAMP |
| validationDate | NULLABLE | STRING |
| type | NULLABLE | STRING |
| declineReason | NULLABLE | STRING |
| voucherCodeUsed | NULLABLE | BOOLEAN |
| voucherCode | NULLABLE | STRING |
| lapseTime | NULLABLE | INTEGER |
| amended | NULLABLE | BOOLEAN |
| amendReason | NULLABLE | STRING |
| oldSaleAmount | NULLABLE | STRING |
| oldCommissionAmount | NULLABLE | STRING |
| clickDevice | NULLABLE | STRING |
| transactionDevice | NULLABLE | STRING |
| publisherUrl | NULLABLE | STRING |
| advertiserCountry | NULLABLE | STRING |
| orderRef | NULLABLE | STRING |
| transactionParts | REPEATED | RECORD |
| ├─ transactionParts.commissionGroupId | NULLABLE | INTEGER |
| ├─ transactionParts.amount | NULLABLE | FLOAT |
| ├─ transactionParts.commissionAmount | NULLABLE | FLOAT |
| ├─ transactionParts.advertiserCost | NULLABLE | STRING |
| ├─ transactionParts.commissionGroupCode | NULLABLE | STRING |
| ├─ transactionParts.commissionGroupName | NULLABLE | STRING |
| ├─ transactionParts.trackedParts | REPEATED | RECORD |
| │ ├─ transactionParts.trackedParts.code | NULLABLE | STRING |
| │ ├─ transactionParts.trackedParts.amount | NULLABLE | FLOAT |
| │ ├─ transactionParts.trackedParts.currency | NULLABLE | STRING |
| paidToPublisher | NULLABLE | BOOLEAN |
| paymentId | NULLABLE | INTEGER |
| transactionQueryId | NULLABLE | INTEGER |
| originalSaleAmount | NULLABLE | STRING |
| advertiserCost | NULLABLE | RECORD |
| ├─ advertiserCost.amount | NULLABLE | STRING |
| ├─ advertiserCost.currency | NULLABLE | STRING |
| basketProducts | NULLABLE | STRING |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/awin#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:00.744Z","description":"Learn how to connect Awin to Google BigQuery using WitCloud. Automatically fetch campaign, transaction, and commission data, analyze it in real-time, and…","name":"Awin · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/awin","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/awin#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/awin"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/awin#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Awin","item":"https://witcloud.ai/docs/integrations/awin","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/awin#article","dateModified":"2026-10-08T07:43:00.744Z","description":"Learn how to connect Awin to Google BigQuery using WitCloud. Automatically fetch campaign, transaction, and commission data, analyze it in real-time, and optimize your affiliate marketing efforts.","headline":"Awin","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/awin#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/awin#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/awin#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/awin#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/awin#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/awin#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
