# Blacklist and Whitelist Targeting

##### Summary

Use blacklists and whitelists to block or allow traffic from specific sources and IP ranges.

##### Before You Begin

- Role: Advertiser
- Required information: 
    - source IDs
    - IP addresses or CIDR ranges
- Estimated time: 2-4 minutes

##### Steps

**Option 1: Blacklisting of sources**

1. On the campaign creation page, locate the **Black\\White list** section and the **Blacklist of sources**
2. Enter the Source IDs to block, separated by commas.  
    ![bl-target-v310526.png](https://wiki.dao.ad/uploads/images/gallery/2026-05/scaled-1680-/j97bl-target-v310526.png)

**Option 2: Whitelisting of sources**

1. On the campaign creation page, locate the **Black\\White list** section and the **Whitelist of sources**
2. Enter the Source IDs to allow, separated by commas.

![wl_target_v310526.png](https://wiki.dao.ad/uploads/images/gallery/2026-05/scaled-1680-/wl-target-v310526.png)

<p class="callout info">**Information:** Use the `{source_id}` parameter in your tracking URL or postback to identify traffic sources.</p>



**Option 3: IP and CIDR Whitelisting/Blacklisting**

1. On the campaign creation page, locate the **Black\\White list** section and the **Whitelist of CIDR/IP**
2. Enter IP addresses or CIDR ranges in the appropriate whitelist or blacklist field. Both IPv4 and IPv6 CIDR ranges are supported.

##### Troubleshooting

**Issue:** I'm still receiving traffic from a blacklisted source

**Solution:**

- blacklist changes are not always applied instantly. Users who already received a notification may still generate clicks.


##### Verification

<div id="bkmrk-after-saving-the-cam">After saving the campaign, the configured Source IDs or IP ranges will appear in the corresponding blacklist or whitelist field.</div>
##### Related

- [Targeting by vertical](https://wiki.dao.ad/books/getting-started/page/targeting-by-vertical "Targeting by Vertical")
- [Traffic volume and bid recommendations](https://dao.ad/en/traffic-volumes)
- [Targeting by operating system](https://wiki.dao.ad/books/getting-started/page/targeting-by-operating-system "Targeting by operating system")
- [Automatic Rules for Blacklisting](https://wiki.dao.ad/books/optimization-reporting/page/automatic-rules-for-blacklisting "Automatic Rules for Blacklisting")