---
title: "Optimise · WitCloud Docs"
description: "Connect Optimise to Google BigQuery with WitCloud and collect affiliate conversion data (publishers, campaigns, status, value and commission cost) for analysis."
canonical_url: "https://witcloud.ai/docs/integrations/optimise"
meta:
  "og:description": "Connect Optimise to Google BigQuery with WitCloud and collect affiliate conversion data (publishers, campaigns, status, value and commission cost) for analysis."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Optimise · WitCloud Docs"
---

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

# Integration of Optimise with BigQuery

Connect Optimise to Google BigQuery with WitCloud and collect affiliate conversion data (publishers, campaigns, status, value and commission cost) for analysis.

Updated 8 Oct 2026

## Introduction

This module connects to the **Optimise** affiliate platform and copies your conversions into **Google Cloud BigQuery**. For every conversion you get the publisher, the campaign, the click and conversion dates, the status (for example pending or approved), the conversion value and the commission cost. Use it to compare affiliate performance with your other channels and to follow commissions over time.

## Configuration guide

Follow the steps below to connect Optimise with BigQuery. Once the setup is complete, your conversions are transferred to your BigQuery project automatically.

You need a service account API key from Optimise, and you need to know the agency your account belongs to and your Contact ID (the Advertiser ID in Optimise).

### 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/c8b72213ef23354505be3b578545e618.png)

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

![Integration catalog with Optimise selected](https://api.witcloud.ai/api/docs/assets/ad81c494c5f9e729368aa19cf82c26f2.png)

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

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

### Authorization

If you have already authorized Optimise in WitCloud, pick that authorization from the **Select Optimise authorization** drop-down and skip to the agency selection.

To connect to Optimise you need an API key of a service account. The steps below are done in the Optimise interface, which WitCloud does not control, so the wording there may change.

1. In Optimise, open **Admin > Service Accounts** and click **Service Account**.
2. Enter a name for the service account and click **Create**.
3. On the service account page click **Generate** and copy the API key.

![Optimise service account form with the name field and the Create button (Optimise interface)](https://api.witcloud.ai/api/docs/assets/18c7f1b251a99d085e1a108acaba29ce.png)

![Generate button for the API key on the Optimise service account page (Optimise interface)](https://api.witcloud.ai/api/docs/assets/b0e80d3b6d5d1293d786fd3a92f2781f.png)

Back in WitCloud, click **Authorize** next to the **Select Optimise authorization** field.

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

Paste the API key into the **Access token** field and click **Create**. The new authorization is selected for you.

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

Select the **Agency** your Optimise account belongs to: Optimise Australia & New Zealand, Optimise Brazil, Optimise India, Optimise MEA, Optimise Poland, Optimise SE Asia or Optimise UK. The **Agency** and **Contact ID** fields stay locked until an authorization is selected.

![Agency drop-down open with the list of Optimise agencies](https://api.witcloud.ai/api/docs/assets/d90be0aa72ebd963a10ff4df3129caeb.png)

Enter the **Contact ID**, digits only. It is the identifier of the advertiser: in Optimise you find it in the **Advertiser ID** field of the company details (Optimise interface).

![Contact ID field filled with the example value 100001](https://api.witcloud.ai/api/docs/assets/0b1546cf0e566f66957fb0af975ac076.png)

### Advanced settings

Click **Show advanced settings** to see **Tables to collect**. Optimise has one table, `conversions`, and it is selected by default.

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

Click **Next**.

### Historical data and scheduling

In **Historical Data** enter the number of days to fetch for the first import, up to **365**.

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

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

Click **Create** to complete the configuration.

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

**Done!** Your Optimise conversions will now be synchronized with BigQuery.

## Data schema

The integration writes one table, `optimise_conversions`, with one row per conversion. Expand the table below to view its full schema.

<details>

<summary>

Columns of <code>optimise_conversions</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| uniqueId | NULLABLE | STRING |
| conversionId | NULLABLE | STRING |
| advertiserRef | NULLABLE | STRING |
| agencyId | NULLABLE | STRING |
| legacyId | NULLABLE | STRING |
| publisherId | NULLABLE | STRING |
| campaignId | NULLABLE | STRING |
| publisherCampaignId | NULLABLE | STRING |
| advertiserId | NULLABLE | STRING |
| publisherName | NULLABLE | STRING |
| publisherType | NULLABLE | STRING |
| campaignName | NULLABLE | STRING |
| campaignTypeId | NULLABLE | STRING |
| campaignTypeName | NULLABLE | STRING |
| clickDate | NULLABLE | TIMESTAMP |
| conversionDate | NULLABLE | TIMESTAMP |
| status | NULLABLE | STRING |
| invoiceDate | NULLABLE | TIMESTAMP |
| rawConversionValue | NULLABLE | RECORD |
| rawConversionValue.currency | NULLABLE | STRING |
| rawConversionValue.amount | NULLABLE | FLOAT |
| conversionValue | NULLABLE | RECORD |
| conversionValue.currency | NULLABLE | STRING |
| conversionValue.amount | NULLABLE | FLOAT |
| origConversionValue | NULLABLE | RECORD |
| origConversionValue.currency | NULLABLE | STRING |
| origConversionValue.amount | NULLABLE | FLOAT |
| ipAddress | NULLABLE | STRING |
| item | NULLABLE | RECORD |
| item.name | NULLABLE | STRING |
| item.volume | NULLABLE | STRING |
| item.sku | NULLABLE | STRING |
| item.value | NULLABLE | RECORD |
| item.value.amount | NULLABLE | STRING |
| item.value.currency | NULLABLE | STRING |
| voucher | NULLABLE | STRING |
| extendedData | NULLABLE | RECORD |
| extendedData.ex1 | NULLABLE | STRING |
| extendedData.ex2 | NULLABLE | STRING |
| extendedData.ex3 | NULLABLE | STRING |
| extendedData.ex4 | NULLABLE | STRING |
| extendedData.ex5 | NULLABLE | STRING |
| extendedData.ex6 | NULLABLE | STRING |
| extendedData.ex7 | NULLABLE | STRING |
| extendedData.ex8 | NULLABLE | STRING |
| extendedData.ex9 | NULLABLE | STRING |
| extendedData.ex10 | NULLABLE | STRING |
| extendedData.ex11 | NULLABLE | STRING |
| cost | NULLABLE | RECORD |
| cost.currency | NULLABLE | STRING |
| cost.amount | NULLABLE | FLOAT |
| cost.bandId | NULLABLE | STRING |
| invoiceId | NULLABLE | STRING |
| placement | NULLABLE | RECORD |
| placement.id | NULLABLE | STRING |
| placement.name | NULLABLE | STRING |
| creative | NULLABLE | RECORD |
| creative.id | NULLABLE | INTEGER |
| creative.name | NULLABLE | STRING |
| publisherWebsiteUrl | NULLABLE | STRING |
| rejectionReason | NULLABLE | STRING |
| rejectionCode | NULLABLE | STRING |
| loyalty | NULLABLE | BOOLEAN |
| country | NULLABLE | STRING |
| custType | NULLABLE | STRING |
| referrer | 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/optimise#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:55.735Z","description":"Connect Optimise to Google BigQuery with WitCloud and collect affiliate conversion data (publishers, campaigns, status, value and commission cost) for analysis.","name":"Optimise · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/optimise","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/optimise#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/optimise"]}],"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/optimise#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Optimise","item":"https://witcloud.ai/docs/integrations/optimise","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/optimise#article","dateModified":"2026-10-08T07:43:55.735Z","description":"Connect Optimise to Google BigQuery with WitCloud and collect affiliate conversion data (publishers, campaigns, status, value and commission cost) for analysis.","headline":"Optimise","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/optimise#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/optimise#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/optimise#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/optimise#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/optimise#/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/optimise#/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.
