# How to exclude an audience from your targeting?

## 1. Create an Audience <a href="#id-1-create-a-custom-audience" id="id-1-create-a-custom-audience"></a>

There are three different ways to create an [audience](https://doc.batch.com/getting-started/features/customer-engagement-platform/profiles/audiences):&#x20;

* Using the[ **Audience API**](https://doc.batch.com/developer/api/cep/audiences/create)&#x20;
* By [uploading a .CSV or .TXT file to Batch](https://doc.batch.com/guides-and-best-practices/profiles/how-to-import-an-audience-to-target-specific-users) from the dashboard **Profiles → Audiences** tab.
* Via the **Audience Importer**. The importer automatically imports audiences from your data stores via (S)FTPs *(Audience Importer setup is upon request. Reach support or your CSM to know more).*

{% hint style="danger" %}
An audience can only contain a list of **Custom IDs.**
{% endhint %}

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FXIKx6HJjD4EMlK7o2SwO%2FCleanShot%202025-04-28%20at%2017.09.49%402x.png?alt=media&#x26;token=eb266a80-47b6-4e61-b4ee-a596837bbf86" alt=""><figcaption></figcaption></figure>

The dashboard will **automatically** **display the number of IDs** that match your audience:

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FPM3Ee6sDJVJMZF24T3T5%2FCleanShot%202025-04-28%20at%2017.08.35%402x.png?alt=media&#x26;token=b0347519-987d-4f2c-852f-89036dd2bf64" alt=""><figcaption></figcaption></figure>

## 2. Exclude it from your targeting  <a href="#id-2-exclude-it-from-your-targeting" id="id-2-exclude-it-from-your-targeting"></a>

In your campaign/automation creation form, in the **Segmentation** part, click on **Use audience**:&#x20;

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2F91qFZR0414b112bEXzAw%2FCleanShot%202025-04-28%20at%2017.14.22%402x.png?alt=media&#x26;token=636398cc-982d-4ddd-9cb1-4e10470061e4" alt=""><figcaption></figcaption></figure>

&#x20;Choose the audience you want to exclude in the dropdown menu:

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FDpKDAQ3DHuTVQ7cf5Jq2%2FCleanShot%202025-04-28%20at%2017.16.12%402x.png?alt=media&#x26;token=464b8559-c788-49b8-bb24-51666de175e7" alt=""><figcaption></figcaption></figure>

Select "**contains none of**", so that the segmentation now excludes the audience you picked:

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2F8EBcNo2wRuYVVoKiD3en%2FCleanShot%202025-04-28%20at%2017.17.15%402x.png?alt=media&#x26;token=4ff366a0-f895-4a51-9335-3295bb306ebc" alt=""><figcaption></figcaption></figure>

You can exclude as many audiences as you want:&#x20;

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FVaxBy3wogKa43ynZReTI%2FCleanShot%202025-04-28%20at%2017.19.20%402x.png?alt=media&#x26;token=e3364e3e-480d-4e26-9bb8-448ecbe61f25" alt=""><figcaption></figcaption></figure>

You can now exclude audiences from your campaigns targeting! :sparkles:
