Blacklisting domains

Last updated March 12, 2018

Use the My Account > Domain BlacklistBlocking a particular entity's access to your inventory from the Ad Exchange. A blacklist will allow new entities by default whereas a whitelist will block new entities by default. subtab to specify (at the account-level) the domains to block from consideration when bidding on ad inventoryAd space available on a website or app. The basic unit of inventory for OpenX is an ad unit.. This also blocks all subdomains for the specified URLs. You can block a maximum of 10,000 domains.

Best practices for blacklisting domains:

There are multiple ways you can add domains to your account-level blacklist, but the syntax with which you input these values is key to determining the end result. Domains are not case-sensitive.

  • Exact domain: Affects traffic that matches the exact domain of the URL only.
  • Entering "example.com":

    • Affects "http://example.com/sports/baseball/dodgers" and "http://example.com/legal/policies".
    • Will not affect "news.example.com".
  • Prepended domain: Allows you to prepend a domain with "*." and affects any traffic that contains the full value. A domain can only be prepended with "*." on the left. Doing so on the right will not have the desired effect.
  • Entering "*.example.com":

    • Affects "http://sports.example.com/baseball/dodgers" and "http://news.example.com/nyc/yankees".
    • Will not affect "news.example.com".
  • Exact domain with sub-page prefix: Affects traffic with the exact domain of the URL and the specified sub-page only.
  • Entering "example.com/local":

    • Affects "example.com/local/losangeles" and "example.com/local/nyc".
    • Will not affect "sports.example.com/local" or "example.com/state/local".
  • Prepended domain with sub-page prefix: Allows you to prepend a domain and sub-page combination with "*." and affects any traffic that contains the full value. Additionally, A domain can only be prepended with "*." on the left. Doing so on the right will not have the desired effect.

    Entering "*.example.com/local":

    • Affects "news.example.com/local" and "sports.example.com/local/pasadena".
    • Will not affect "news.example.com/politics/local" or "news.example.com/local-politics".
  • Entering a word by itself, like “openx”, will have no valid effect.

To block domains:

  1. Click the My Account tab.

  2. In the Add URLs to the Blacklist panel, type in the URLs to block for your account or paste in a list of URLs.

  3. Click Add to add the URLs to the blacklist. A confirmation message appears at the top of the screen.

  4. Click the X to remove any domains or strings from the list or click Remove All to remove all of the domains or strings from the list.

Note: These account-level domain blacklist settings are the default settings for all of your account's line items. You can use Domain targeting to customize a domain blacklist for individual line items. Please note that if you set any domain targeting or blocking at the line itemThe primary unit of execution for an order, which represents a specific inventory purchase and the required conditions for ad delivery. level, then those line item settings will override any account-level domain blocking done in this section.