---
title: How to block advertiser domain and IAB categories on Demand Hub
description: Blocking advertiser domains and categories using the OpenRTB standard is a crucial aspect of managing your ad inventory effectively. It maintains control over the type of ads displayed on your platfor
---

[Skip to content](https://knowledge-base.optidigital.com/knowledge/blocking-advertisers-and-categories-opti-engage#main-content)

English

Show submenu for translations

[Create a ticket](https://knowledge-base.optidigital.com/knowledge/kb-tickets/new?hsLang=en) [Customer portal](https://knowledge-base.optidigital.com/tickets-view?hsLang=en)

![Logo - BG White (1)](https://knowledge-base.optidigital.com/hs-fs/hubfs/Logo%20-%20BG%20White%20(1).png?width=150&height=56&name=Logo%20-%20BG%20White%20(1).png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Create a ticket](https://knowledge-base.optidigital.com/knowledge/kb-tickets/new)
- [Customer portal](https://knowledge-base.optidigital.com/tickets-view)
- Go to www.optidigital.com

 Go to www.optidigital.com

 Browse the Opti Digital platform, products, and capabilities

- There are no suggestions because the search field is empty.

1. [Help Center](https://knowledge-base.optidigital.com/knowledge?hsLang=en)
2. [Demand Hub](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en)
3. [Q&A](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#qa)

# How to block advertiser domain and IAB categories on Demand Hub

To block advertisers in OpenRTB, add IAB content category codes to the `bcat` array to block categories, and add advertiser domains to the `badv` array to block specific domains. Blocking gives you precise control over the type of ads displayed on your platform, improves user experience, and protects the integrity of your content.

## How do you block advertisers using OpenRTB?

Use the `bcat` field to block advertiser categories and the `badv` field to block advertiser domains. Both fields are string arrays in your OpenRTB bid request, and each is covered in the sections below.

### Blocking Advertiser Categories

Block advertiser categories by adding IAB content category codes to the `bcat` array in your OpenRTB bid request. Follow these steps:

**Step 1. Download the latest OpenRTB specifications**  
Before implementing domain and category blocking, familiarise yourself with the OpenRTB specification. Visit the [**IAB website**](https://www.iab.com/) to download the current OpenRTB API specification and refer to the BidRequest object section for details on the blocking fields.

- **Refer to the IAB Content Categories list.** This list, defined in the OpenRTB specification as List 5.1: Content Categories, categorizes various types of content that advertisers might want to target. You can find the IAB content category list on the IAB website or in your OpenRTB documentation.
- **Choose categories to block.** Select the specific categories from the IAB content category list referenced by your OpenRTB version that you want to block. For example, "IAB1" and "IAB7" are category codes in the IAB taxonomy. Category codes and names vary by taxonomy version, so verify the current codes in the latest IAB Content Taxonomy before use. You can block multiple categories by including them in your 'bcat' array.
  
  **Step 4. Implement the Blocking**  
  In the 'bcat' field of your OpenRTB configuration, specify the selected categories in the string array format. For example:

  ```
  "bcat": ["IAB1", "IAB7"]
  ```
  
  After adding the 'bcat' field with your chosen categories, test and validate the blocking to ensure that ads from these categories are effectively restricted from appearing on your platform. To do this, send a test bid request that includes the 'bcat' array, and confirm that the bid responses you receive do not include creatives from the blocked categories.
  
  ### How do you block advertiser domains in OpenRTB?
  
  Block advertiser domains by adding them to the `badv` (Blocked Advertiser Domains) array in your OpenRTB bid request. Specify the domains as an array of strings. For example:
  
  ```
  "badv": ["example.com", "blockedadvertiser.com"]
  ```
  
  This allows you to control which advertisers can display their ads on your platform and maintain the quality and relevance of the advertisements presented to your audience.

- [Ad Manager Hub](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#main-content)

    - [Overview](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#overview)
    - [Getting Started & Onboarding](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#getting-started-onboarding)
    - [Advanced Tag Capabilities](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#advanced-tag-capabilities)
    - [Ad Formats & Experiences](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#ad-formats-experiences)
    - [Demand & Header Bidding](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#demand-header-bidding)
    - [Yield & Pricing Optimization](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#yield-pricing-optimization)
    - [A/B Testing & Optimization](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#a-b-testing-optimization)
    - [Insights & Analytics](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#insights-analytics)
    - [Nexa - The AI-Powered Intelligence Layer](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#nexa-the-ai-powered-intelligence-layer)
    - [Audience & Targeting](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#audience-targeting)
    - [FAQs](https://knowledge-base.optidigital.com/knowledge/ad-manager-hub?hsLang=en#faqs)
- [Demand Hub](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#main-content)

    - [Overview](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#overview)
    - [Getting Started & Onboarding](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#getting-started-onboarding)
    - [User Experience](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#user-experience)
    - [Invoicing and payments](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#invoicing-and-payments)
    - [Q&A](https://knowledge-base.optidigital.com/knowledge/demand-hub?hsLang=en#qa)
- [Insights Hub](https://knowledge-base.optidigital.com/knowledge/insights-hub?hsLang=en#main-content)

    - [Overview](https://knowledge-base.optidigital.com/knowledge/insights-hub?hsLang=en#overview)
    - [Getting Started & Onboarding](https://knowledge-base.optidigital.com/knowledge/insights-hub?hsLang=en#getting-started-onboarding)
    - [Pre-Built Analytics Dashboards](https://knowledge-base.optidigital.com/knowledge/insights-hub?hsLang=en#pre-built-analytics-dashboards)
    - [Custom Reporting](https://knowledge-base.optidigital.com/knowledge/insights-hub?hsLang=en#custom-reporting)
- [Ad Experience Hub](https://knowledge-base.optidigital.com/knowledge/ad-experience-hub?hsLang=en#main-content)

    - [Overview](https://knowledge-base.optidigital.com/knowledge/ad-experience-hub?hsLang=en#overview)
    - [Getting Started & On Boarding](https://knowledge-base.optidigital.com/knowledge/ad-experience-hub?hsLang=en#getting-started-on-boarding)
    - [Ad Formats & Experiences](https://knowledge-base.optidigital.com/knowledge/ad-experience-hub?hsLang=en#ad-formats-experiences)
- [Yield Hub](https://knowledge-base.optidigital.com/knowledge/yield-hub?hsLang=en#main-content)

    - [Overview](https://knowledge-base.optidigital.com/knowledge/yield-hub?hsLang=en#overview)
    - [Getting Started & Onboarding](https://knowledge-base.optidigital.com/knowledge/yield-hub?hsLang=en#getting-started-onboarding)
    - [FAQ](https://knowledge-base.optidigital.com/knowledge/yield-hub?hsLang=en#faq)
- [Release Notes](https://knowledge-base.optidigital.com/knowledge/release-notes?hsLang=en#main-content)

    - [2026](https://knowledge-base.optidigital.com/knowledge/release-notes?hsLang=en#2026)

[![Chill listening crop-3](https://knowledge-base.optidigital.com/hs-fs/hubfs/Logo%20-%20BG%20White%20(1).png?width=64&height=24&name=Logo%20-%20BG%20White%20(1).png "Chill listening crop-3")](https://www.optidigital.com)

Help Center

<https://www.linkedin.com/company/optidigitalsas/> <https://twitter.com/OptiDigitalsas> <https://www.youtube.com/channel/UC5RbWC8eJODKhw4wZdGwYsw> <https://www.instagram.com/opti_digital/>

Copyright © 2026, Opti Digital