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

# How to Set Up the Ad Optimization Module

The Ad Optimization module automatically transmits audience segment data from Maestra to ad dashboards such as:

* Google Ads;
* Facebook;
* MyTarget.

The list of ads dashboards will be extended as new ads dashboards are released.

# How to create a new Ad cabinet integration

1. Go to **Integration Settings** → **Integration Setup** and click the "**Create integration**" button:

<img src="https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_12-56-06.png?fit=max&auto=format&n=m5TAkUWmgaRT4x96&q=85&s=f8c2a281b0685fa083a50673153eba32" alt="" width="3795" height="780" data-path="images/imported/2025-12-05_12-56-06.png" />

2. Then choose to create Advertising cabinet:
   ​

<img src="https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_13-15-17.png?fit=max&auto=format&n=m5TAkUWmgaRT4x96&q=85&s=b0867544eedd113005c9d2e7ae495d7b" alt="" width="3799" height="1137" data-path="images/imported/2025-12-05_13-15-17.png" />

3. Name the **Ad cabinet integration**, choose a brand (for multi brand projects) and click the "**Create**" button:
   ​

<img src="https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/2025-12-05_13-02-53.png?fit=max&auto=format&n=m5TAkUWmgaRT4x96&q=85&s=ad22a64312f15864da0dce976d2bcbef" alt="" width="3840" height="1183" data-path="images/imported/2025-12-05_13-02-53.png" />

# How to add connections to ads dashboards

<Note>
  Enable module on **Billing detalization page** in **Administrative settings** on your own.
</Note>

1. Go to **Integration**→ **Ad Optimization** and open the Connections tab:

<img src="https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_adoptimize.png?fit=max&auto=format&n=59KyfifOW7tLz5QR&q=85&s=9136e76cfcd8927fe11aaa3faf1102f3" alt="03_adoptimize" width="2780" height="1372" data-path="images/imported/03_adoptimize.png" />

2. Select a relevant ads dashboard:

<img src="https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_adoptimize.png?fit=max&auto=format&n=nXS6QsINTx63g9ke&q=85&s=5687862c0d0efb68812cbdfe093a36aa" alt="04_adoptimize" width="2194" height="1490" data-path="images/imported/04_adoptimize.png" />

3. Name your connection:

<img src="https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/05_adoptimize.png?fit=max&auto=format&n=5322-upQA3cGdluA&q=85&s=e6bed1bd74b76be021507502f0591fab" alt="05_adoptimize" width="2192" height="1492" data-path="images/imported/05_adoptimize.png" />

4. Click **Grant access**:

<img src="https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_adoptimize.png?fit=max&auto=format&n=5322-upQA3cGdluA&q=85&s=703cfb6bbaaf68c8c3ff7a5348fe8257" alt="06_adoptimize" width="2192" height="1488" data-path="images/imported/06_adoptimize.png" />

The connection has been added successfully!

# How to create an integration

1. Go to **Apps** and click **New**:

<img src="https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_adoptimize.png?fit=max&auto=format&n=2_WUUqtXTQTrF_2i&q=85&s=d02f489ad7fdbef448d2dfa2e5e1a29a" alt="07_adoptimize" width="2776" height="1358" data-path="images/imported/07_adoptimize.png" />

2. Select the source of data import — Maestra:

<img src="https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_adoptimize.png?fit=max&auto=format&n=2_WUUqtXTQTrF_2i&q=85&s=87b4fbab12ddc96b3fbf52de7648524d" alt="08_adoptimize" width="2172" height="1486" data-path="images/imported/08_adoptimize.png" />

3. Always check in **real time** for your integration operation:

<img src="https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_adoptimize.png?fit=max&auto=format&n=hDwb_Ye73XB_-pfV&q=85&s=0fd20d3e8f42c503b6bff5bb63799693" alt="10_adoptimize" width="2172" height="1490" data-path="images/imported/10_adoptimize.png" />

4. Select your method of data encryption and the audience segment you want to send from Maestra:

<img src="https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_adoptimize.png?fit=max&auto=format&n=hDwb_Ye73XB_-pfV&q=85&s=2a8cc7e193c59d4dd0af084a59f05977" alt="11_adoptimize" width="2170" height="1486" data-path="images/imported/11_adoptimize.png" />

<Note>
  **How to create a segment**
  Refer to the guidelines on [How to create a segment.](/segments/how-to-filter-customers-into-segments)
</Note>

5. Select where to send data to:

<img src="https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/12_adoptimize.png?fit=max&auto=format&n=EeW0Po78IZGyB5gF&q=85&s=017bcf1046614548f4c8617a9987a3ba" alt="12_adoptimize" width="2186" height="1846" data-path="images/imported/12_adoptimize.png" />

6. Set up the fields you want to transmit:

<img src="https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/14_adoptimize.png?fit=max&auto=format&n=EeW0Po78IZGyB5gF&q=85&s=c2233f8dfd9171b8aaaa7cda8e4852ce" alt="14_adoptimize" width="2098" height="1484" data-path="images/imported/14_adoptimize.png" />

<img src="https://mintcdn.com/maestraio/EeW0Po78IZGyB5gF/images/imported/15_adoptimize.png?fit=max&auto=format&n=EeW0Po78IZGyB5gF&q=85&s=8a3b60bbc8988c4fcd02882d27385cb0" alt="15_adoptimize" width="2092" height="1484" data-path="images/imported/15_adoptimize.png" />

7. Click **Start** to launch the integration:

<img src="https://mintcdn.com/maestraio/m5TAkUWmgaRT4x96/images/imported/16_adoptimize.png?fit=max&auto=format&n=m5TAkUWmgaRT4x96&q=85&s=c59e2d36e294d094990411dfa16a6293" alt="16_adoptimize" width="2016" height="1486" data-path="images/imported/16_adoptimize.png" />
