# Integrating Facebook Ads

Linking your Facebook Ads account with AnyX will allow AnyX's store reports to take into account the daily ad spend from campaigns and return on ad spends (ROAs) alongside other store related data automatically, synced with product sales.

{% hint style="info" %}
After linking the account, it may take some time before the actual data is imported. Kindly wait for the status to change from <img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FrmDN8EnnBnP77z1Qn5Pu%2Fimage.png?alt=media&#x26;token=7e7e91d8-5d0f-4ad2-b00e-9ecbabee1bec" alt="" data-size="line"> to <img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FPbMaeCJjf1lJx0L1s5HT%2Fimage.png?alt=media&#x26;token=6b1ec7b3-21ea-489e-b747-27ea83dd943c" alt="" data-size="line"> indicating that it's completed
{% endhint %}

**Note**

AnyX captures the purchase events tracked by the Facebook pixel or Conversions API on your website and [attributed to your ads](https://www.facebook.com/help/458681590974355) as sales via advertising.

\*For details on this - do check out this help guide article: [https://www.facebook.com/business/help/658314257645808?helpref=faq\_content](https://www.facebook.com/business/help/658314257645808?helpref=faq_content)

If there are fluctuations in the conversion value each order or purchase, please check the Meta Business Help Center page on setting up Custom Conversions:

[https://www.facebook.com/business/help/723326514751348?id=1205376682832142](https://www.facebook.com/business/help/723326514751348?id=1205376682832142)

**Connecting your Facebook Ads account**

1. In a Single store view mode - go to Integrations and press the Add button in the Advertisement section.&#x20;

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FrQ7M6PD4qdDFeXRrnVtD%2Fimage.png?alt=media&#x26;token=16b22650-11ea-4127-a619-1ae5d40436b8" alt=""><figcaption></figcaption></figure>

If you have multiple stores connected and are in "View with all stores" mode - you will have to navigate to the Store's settings page by clicking on Account > Stores > Clicking on the name of the Store in the table:

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2Fw3CLvZu3Io9CczVlL2TS%2Fimage.png?alt=media&#x26;token=14d0445a-f08e-4d09-8dda-fbc12b9a9f20" alt=""><figcaption></figcaption></figure>

2\. Select Facebook Ads.

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FtqvVsfhdirlls5jvFxtx%2Fimage.png?alt=media&#x26;token=0e6af38a-4b0a-44b8-9b88-f90ff26c29e4" alt=""><figcaption></figcaption></figure>

3\. Press the Connect button.

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FLdcqcy2osH2oYNEwzijs%2Fimage.png?alt=media&#x26;token=418e99da-09b9-4514-8fcc-3a482f6ac16c" alt=""><figcaption></figcaption></figure>

4\. You will be redirected to the Facebook sign-in page. Sign in to your Facebook account and allow AnyX access.

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FTOWHKpBPFZzrFxprb2cH%2Fimage.png?alt=media&#x26;token=f84951a8-26e3-4ee9-b3b5-5d98fb843936" alt=""><figcaption></figcaption></figure>

6\. Select the Facebook Ads Account and click Save.

![](https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2F3qQkeE974wDyt3bzbmL3%2Fimage.png?alt=media\&token=295d551a-e60a-42ac-b9cd-d1b725942532)

Next, you will need to map your campaigns to sales channels and products.



### Cannot find your account on AnyX?

If the account you want to connect with is not displayed, it may be because when AnyX was previously connected to another store, a setting was applied that restricts AnyX account access to specific accounts. By changing the settings of the accounts that AnyX can connect to, you can allow AnyX access to other accounts.

**1.During connection, select "Edit Previous Settings**

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FYv7kLREwIiopm0xF6qBh%2FScreenshot%202024-09-24%20at%2016.52.17.png?alt=media&#x26;token=fbe4800e-3ae7-4d96-8f89-4fc40e152b7f" alt=""><figcaption></figcaption></figure>

**2.Choose either "Opt-in to all current and future Businesses" or "Opt-in to current Business only" and select the relevant account to grant AnyX access permissions**

<figure><img src="https://147424774-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkq0WPsUE0E8vFc2yPr%2Fuploads%2FFHU8Cnj32w3TbUccf9tq%2FScreenshot%202024-09-24%20at%2016.52.24.png?alt=media&#x26;token=b1bd90f3-2e64-45b7-9ff9-77ba8a9ae668" alt=""><figcaption></figcaption></figure>



{% content-ref url="mapping" %}
[mapping](mapping)
{% endcontent-ref %}
