> For the complete documentation index, see [llms.txt](https://doc.batch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.batch.com/guides-and-best-practices/orchestration/how-to-exclude-an-audience-from-your-targeting.md).

# 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="/files/oAg2xOV2WTTY6HyBrNpS" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/IPfM26vHLnCfCua9DILN" 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="/files/BWxUT7PGp603392kiiPZ" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/GI7nNyccec1g8On3rn1m" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/cEnMitadNQqXhIbxgRwZ" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/CU6kvUqMdg4vdgTrjt6I" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.batch.com/guides-and-best-practices/orchestration/how-to-exclude-an-audience-from-your-targeting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
