Browse the help center

Add, edit, and remove targeting rules

Switch targeting on for a campaign, creative, advertiser or placement, add include and exclude rules one dimension at a time, set any-of or all-of inside a list and AND / OR between dimensions, and remove rules again — with the checks to run when an entity stops serving.

How-to network manager publisher advertiser Account → Advertisers → advertiser → campaign → Targeting

Targeting decides which ad requests an entity is allowed to serve on. You switch it on per entity, then add rules one dimension at a time — Include the traffic you want, Exclude the traffic you don’t — and every rule is saved the moment you click it. The same card sits on all six levels: Targeting on advertisers, campaigns and creatives, Pre-targeting on sites, zones and placements; apart from the title and the permission that gates it, the two are the same component.

Example. Northwind Media → Brand Awareness Q3 should reach German-speaking desktop users during office hours. Three rules on the campaign do it: Country includes Germany, Austria and Switzerland (3 chips, one list); Device Format includes Desktop; Time Range includes 09:00–18:00 with Client local time on. With the default AND between the three dimensions, a request serves only when it passes all three — a phone in Berlin at 10:00 is out, a desktop in Vienna at 10:00 is in.

Typical scenarios

You wantSetWhere
A 40-country list from a client’s spreadsheetCountry → Bulk add, paste the column, Include 40Campaign → Targeting — see Target a list you already have
Office hours in each visitor’s own clockTime Range 09:00–18:00 with Client local time on; add Day of Week Mon–FriCampaign → Targeting
Phones only, whatever the OSScreen width → Quick pick → Phone (≤ 767 px), IncludeCreative → Targeting
Android 13 and newer onlyOperating System = Android, Relation >=, Version 13, IncludeCampaign → Targeting
Keep a competitor’s demand off a slotOn the placement, Pre-targeting → Domain or an advertiser block — see Blocking demand and inventoryPlacement → Pre-targeting
Visitors who hold two cookies at onceTwo Cookie Value rules, then switch the list’s connector to and ▾Campaign → Targeting — see And / or between groups

Step by step

  1. Open the entity — for example Account → Advertisers → Northwind Media → Brand Awareness Q3. On a campaign, Targeting is the second card, directly under Basic information; on other entities it sits further down. The Features rail on the right lists it either way and jumps straight to it. On a site, zone or placement the card is called Pre-targeting.

    Pre-targeting card on a placement, laid out identically to the Targeting card on a campaign

  2. Flip the card’s switch on. There is no Save button: the switch posts immediately and the card body appears underneath it. While the switch is off the body is not rendered at all — you see the card header and nothing else.

    Campaign edit page with the Targeting card open, the targeting type list above the editor and saved include and exclude rule groups below

  3. Pick a targeting type in the list. On a 1280–1440 px laptop screen the card is narrower than about 800 px, so the list sits above the editor and the editor gets the card’s full width; on a wider screen the list stands to the left. The list is grouped — Geographic, Temporal, Device & Browser, Device scores & specs, Content & Apps, Network, Presets, Data & API, Risk — and a group appears only when it has a type to offer. A Find a targeting type… box above it filters as you type. Types that already carry rules show a green badge for the number of includes and a red one for excludes. All Targeting at the top is the default view and shows every saved rule; picking a type both opens its editor and filters the rule list below to it.

  4. Fill in the editor that appears in the bordered box. What it contains depends on the type — a value picker, a relation and a number, one or more text fields, a time window, or nothing at all. Fields marked with an asterisk are required; the ⓘ beside a field’s label says how that value is read. The essentials table below lists every editor.

    Add-rule editor for Operating System with one OS selected, revealing the Relation and Version fields next to the Include and Exclude buttons

  5. Click Include to allow the drafted value, or Exclude to block it. Both buttons stay disabled until every required field is filled. On success nothing is announced — the editor clears back to its empty state, the new rule appears as a chip in its group below, and the type’s count badge goes up. You stay on the same type so you can add another rule. A rejected rule is the only case that speaks: a red toast with the server’s message, and nothing saved.

  6. Repeat for more values and more types. Rules of the same type merge into a single group with an Included: block and an Excluded: block, each showing its own count. For Cookie Value, Custom Parameter, DMP and API JSON Field the chips read as the expression they are, and a small or ▾ / and ▾ button between the groups switches whether the visitor needs any of them or all of them — see And / or between groups.

    Cookie Value list with two cookie names and the and ▾ connector between them

  7. Check the operator between groups of different types. The card prints AND or OR between them — a static label of the current setting, AND by default, drawn in red when it is OR. To change it, use the Between rule types strip in the toolbar directly above the rules: Match all (AND) or Match any (OR). Choosing Match any asks you to confirm, naming how many rule types the entity has, because one matching rule type then serves; going back to Match all applies at once.

    AND between two targeting rule groups, with the Between rule types strip in the toolbar above them

  8. To take a rule away, click the ✕ on its chip; to empty a whole Included or Excluded block, click Clear all next to its heading. A Confirm dialog asks first: for one chip it names the rule — “Remove this included Location rule?” with the rule’s text under it — and for Clear all it gives the count (“Remove 3 excluded Location rule(s)?”). Click Delete to go ahead or Cancel (or Esc) to keep it. The deletion is applied immediately.

To change a rule, remove it and add the new version: rules are not editable in place, and a chip offers no control other than its ✕ (Screen width is the one exception — clicking its saved rule reopens it as a range, and saving replaces it).

Every action on this card — the switch, each Include or Exclude, each removal, the operator and the list connectors — is saved the moment you make it. Nothing on the card is part of the entity’s Save button.

How the rules combine

Three levels of combination, and they are not the same:

LevelRule
Several values in one dimension, all IncludeOR — the request matches if it matches any one of them. Two included device formats mean “mobile or tablet”. A Cookie Value, Custom Parameter, DMP or API JSON Field list switched to and needs every group instead (And / or between groups).
Any Exclude in a dimensionWins outright. If an excluded value matches, that dimension fails, whatever the includes say. An Exclude list of one of those four types switched to and fails it only when every group matches.
Dimensions against each otherThe AND / OR operator on the card. With AND (the default) every dimension must pass; with OR one passing dimension is enough — blocking groups still always apply and never count as that passing dimension.

A dimension with only excludes passes any request that does not match an exclusion. A dimension with includes fails every request that matches none of them. When the visitor’s value is unknown (no country detected, no domain on the request) an Include rule fails and an Exclude rule is skipped.

The AND/OR operator only ever applies within one entity. The six levels are always ANDed with each other: an ad request must clear the site, then the zone, then the placement, then the advertiser, then the campaign, then the banner. Setting a campaign to OR does not loosen the advertiser above it.

Note: an entity with targeting switched on but no rules at all imposes no restriction — it is the rules, not the switch, that narrow the traffic.

And / or between groups

Four dimensions can hold several values for one visitor at once, so their lists can ask for all of their rules, not just one: Cookie Value, Custom Parameter, DMP and API JSON Field. Each Include list and each Exclude list of these types is read in groups:

  • Rules on one thing a visitor holds once form one group and are alternatives: the values of one cookie name, or the rules on one custom parameter. A browser keeps one value per cookie, so tier = gold and tier = silver mean “tier is gold or silver”.
  • Every other rule is a group of its own: a DMP segment, an API JSON field, a rule on a custom parameter registered as a list, and an Expression.

The list’s mode joins the groups: or (the default — any group) or and (every group). An Exclude list set to and keeps out only a visitor matching every group.

On the Targeting card the chips read as the expression they are: the chips of one group sit in light parentheses with a muted or between them, and between groups stands the list’s mode as a small button — or ▾ or and ▾. Click it to switch the whole list; each list has its own. With only one group there is nothing to combine, so there is no button. The line under the chips says what the list does, for example A visitor passes only with every group. Without the right to manage the type you see the same words, not the button. A custom parameter registered as a list has its own operator, has all of, for several values of that one parameter — see Custom parameter targeting.

Over the API one endpoint per entity switches a list: POST /rest-api/{entity}/{id}/targeting/match-mode with type (COOKIE_VALUE, CUSTOM, DMP or API_JSON_FIELD), rule (INCLUDE / EXCLUDE) and matchMode (ANY / ALL). Any other type is refused with 400. A rule added later joins its list’s mode, and every rule of these types reads back with its matchMode and, when it shares a group, its matchGroup. See Several cookies: any of or all of for a worked example.

Target a list you already have

On Country, Browser Country, Language, Device Vendor, Mobile Carrier, Domain, Channel, App Package, Operating System and Browser the editor offers Bulk add: paste a column from a spreadsheet and the dialog says what it found — recognised, duplicates, already included, already excluded, not recognised — before anything is saved, then Include N / Exclude N saves one rule per value. Full guide → Target a list you already have.

When the list is not in our words

Lines the dialog cannot read — country names in another language, an OS named as a family, a carrier under its local brand, typos — can be sent to an AI model with Match the rest with AI, which rewrites them in this account’s own names for you to check before saving. It needs an Anthropic key and counts against the monthly AI allowance. Full guide → When the list is not in our words.

Caveats and exceptions

Who can do this

  • You need edit rights on the entity itself: you own it, or it is shared with you with edit rights. On a Can View share the card shows the saved rules and nothing else — no type list, no editor, no remove buttons — with a Read-only pill in place of the switch; if targeting is also switched off, the card is hidden entirely, so a viewer cannot tell whether rules exist.
  • Which dimensions the list offers you is decided per role and per side, so two colleagues editing the same campaign can be offered different sets. A rule of a dimension your role cannot use is still shown and still enforced — it simply has no ✕, so you can read it but not remove it.
  • The AND / OR label is never clickable — it reports the setting. The Between rule types strip is there only for roles that hold Manage Operation Between TargetingRule Types, only while the entity has rules of more than one dimension, and only in the full list — picking one type hides it, since a filtered list draws no separator to set.

The switch and the rules

  • Switching targeting off deletes nothing, but it also shows nothing: the card body is removed while the switch is off, so an entity with rules looks identical to one without. Switch it back on and every rule is exactly as you left it.
  • Adding a rule that already exists succeeds silently and changes nothing — no error, no duplicate chip; the server skips exact duplicates.
  • Picking a type filters the rule list to it, so a type with no rules shows No targeting rules yet even when the entity has plenty of rules in other types. Click All Targeting to see them all again.
  • A world region or a custom country group is expanded into one rule per country when it is saved: including “Europe” produces a chip for every country in the region, and removing one of them removes only that country.

Contradictions

  • The same value included and excluded in one dimension never matches. Both rules save — the card does not refuse the pair — but an exclude wins outright, and a dimension whose includes are all contradicted that way matches nothing at all. The card flags it: the chips turn amber and the block carries “N of these are included and excluded at once”; adding the second half also answers with that warning. Only an include and an exclude make a pair: a channel’s Match / Not Match compare a pattern, not a value. Channels are compared exactly as the ad server compares them, so Sports and sports are two channels; every other value ignores case. Under AND the entity stops serving, so remove one side of each pair; under OR the contradicted dimension simply stops contributing and the entity can still serve on another one — the warning says so, and that setup is unusual rather than broken.
  • The pair can be split across levels — the advertiser includes a country the banner excludes, or the site includes what the placement excludes. Every level is evaluated, so the two rules meet in the auction even though neither card lists both. The card marks such a value “Targeted the other way on a level above” and says so in a note. It is stated rather than condemned on purpose: a campaign with OR over two dimensions, and two creatives that each exclude what the other targets, is contradictory at every level and still delivers. A level whose targeting switch is off is left out — its rules do not apply, so they contradict nothing.

Per-dimension behaviour

  • Version narrowing appears only when exactly one operating system or browser is selected. Selecting a second one clears the version and resets the relation to =, and the rule is saved without a version. Only browsers whose versions the platform can parse offer the field at all: Chrome, Chrome Mobile, Safari, Mobile Safari, Firefox, Firefox Mobile, Microsoft Edge, Microsoft Edge Mobile, Opera, Opera Mini, Samsung Browser, UC Browser, Yandex, QQ Browser and Baidu Browser. Every other browser is targeted as a whole.
  • IP range: a To lower than From passes the in-page check — both ends are valid addresses — and is refused by the server with the toast “Please enter valid IP range (Sample: from 194.222.012.001 to 194.223.07.01, …)”; nothing is saved. A genuinely malformed address is caught in the page instead, with “Enter a valid IPv4 or IPv6 range.” under the fields and the buttons greyed out.
  • Time Range and Day and Time evaluate in the network’s time zone (UTC unless your network has been set to another zone) unless you turn on Client local time: a 09:00–17:00 window without the toggle is 09:00–17:00 network time. With the toggle on, the window is read against the UTC offset the visitor’s browser sends with the ad request (the tz parameter); a request that carries none — VAST, CTV and server-to-server requests — is read in network time. Day of Week has no toggle and always uses that visitor-local offset, the same way as with Client local time on. Day and Time applies the toggle to both its day and its window. Details in Which time zone does a Time Range use?.
  • A Time Range may run past midnight. Setting From later than To — 22:00 to 06:00 — is read as the overnight window, not as an empty one. Setting them equal is refused — the editor starts at 00:00–00:00 and Include / Exclude stay disabled until the two differ, because an equal pair is a window no request ever falls into (the REST API refuses it too). For the whole day use 00:00 to 23:59, also for the window of a Day and Time rule.
  • Channel accepts a comma- or semicolon-separated list and creates one rule per entry in a single click: news, sport; tech becomes three chips. App Package does not split — a typed list becomes one rule that never matches.
  • A Location rule can go stale after you save it. The geo database is updated by the IP data provider, which now and then renames a place or folds it into a neighbour — “Lexington-Fayette” became “Lexington”, Las Vegas suburbs such as “Enterprise” and “Spring Valley” are now reported as Las Vegas. A rule naming a place the database no longer knows matches no visitor. Its chip turns red and a note above the group counts them. An include of that kind is simply ignored while the entity has other locations that still exist; but when every location include is stale, or a stale place is excluded, the rule keeps every visitor out and the entity stops serving. Remove the red chip and add the place again under its current name — or clean up every such place at once on Stale locations, which the note’s Clean up stale places across the account link opens and which says what removing each one changes. serving_check names such rules as well. A new location rule is checked when you save it: a region or city the geo database does not know is refused with Unknown region: … or Unknown city: …, as over the REST API. While the geo service is not answering, the card cannot tell a stale place from a valid one: it shows every place as saved, with no red chips, and a short note under the group says the places could not be checked. A short outage is not mistaken for a renamed place: the ad servers keep using a place they have already found and treat it as gone only after three failed look-ups in a row, a minute apart.

Blocks shown on this card

  • Blocked advertisers, campaigns, banners, sites and placements are not created here — they come from the blocking flows (see Blocking demand and inventory) and appear in this card as Blocking and is Blocked by groups, above a warning that they keep applying even when the switch is off. That warning holds for advertisers, campaigns, banners, sites and placements. A zone is the exception: the ad server loads none of a zone’s rules while its switch is off, blocks included. No blocking flow writes a block to a zone, so this matters only for a block that was put there some other way.
  • Rules that reach the card from somewhere else — a campaign’s blocks shown on its banners, a site’s blocks shown on its placements, or an “is Blocked by” entry contributed by the other side — appear only for users who hold Blocked by. A campaign’s or site’s block is marked as inherited and never has an ✕ on the child; remove it on the campaign or site. An “is Blocked by” entry is read-only (no ✕) only when that grant is Read-only; with the full grant the ✕ is there and deletes the original rule where it was created. See Blocking demand and inventory.

Not working?

SymptomCheckWhere
The card shows only its headerThe switch is off; the body is not rendered while it is. Rules are kept.The card’s switch
Include / Exclude stay greyed outA required field (asterisk) is empty; a Time Range whose From equals To; an IP address that is not valid (“Enter a valid IPv4 or IPv6 range.”).The editor’s fields and the line under them
Clicked Include, the badge did not moveThe rule already existed; exact duplicates are skipped silently.The type’s Included: block
”No targeting rules yet” on an entity that has rulesA type is picked and the list is filtered to it.All Targeting at the top of the list
The entity stopped serving after a new ruleAmber chips: the same value is included and excluded (“N of these are included and excluded at once”) — remove one side. Red chips: a stale place — replace it or open Clean up stale places across the account. Under AND every type must pass — check the levels above too, they always stack.The rule groups; the note above a group; Stale locations
A chip has no ✕Your role cannot use that dimension (read-only); or the rule is a block inherited from the campaign or site (remove it there); or it is an “is Blocked by” entry with a Read-only Blocked by grant.Role grants; the campaign or site card
No AND / OR controlThe label is static. The Between rule types strip needs Manage Operation Between TargetingRule Types, rules of more than one type, and the All Targeting view.Toolbar above the rules; your administrator
No or ▾ / and ▾ button on a Cookie Value, Custom Parameter, DMP or API JSON Field listThe list has one group only (nothing to combine), or your role cannot manage that type — you see the words, not the button.Line under the chips; role grants
Time window serves hours offWithout Client local time the window is network time (UTC unless set otherwise); VAST, CTV and server-to-server requests send no tz and fall back to network time even with the toggle on.The rule’s Client local time; reportingTimeZone in GET /rest-api/network/settings.do
”Please enter valid IP range…” toastTo is lower than From; nothing was saved.The IP Range editor
Unknown region / Unknown city on saveThe geo database does not list that name; pick it from the list rather than typing.The Location editor
”Carriers could not be loaded: the geo service is unavailable.”The geo service is not answering; try again later. The same outage hides red chips on Location with a note under the group.The Mobile Carrier picker
Pasted list mostly “not recognised”The dialog matches only the dimension’s own values — codes or names in any case; full URLs are fine for Domain. Use Match the rest with AI for other languages or family names.Target a list you already have
Nobody sees the rules you setA Can View share hides the card entirely while targeting is off.The share level on the entity

Reference

The card’s controls

ControlWhat it does
Card switchMaster on/off for this entity’s own targeting. Posts immediately; the body appears or disappears with it. Off by default on a new entity.
Find a targeting type…Filters the type list as you type. While a query is active the All Targeting row is hidden.
All TargetingShows every saved rule and closes the editor. Its badges are the totals across all types.
Type rowOpens that type’s editor and filters the rule list below to it. Green badge = includes, red badge = excludes.
Refresh (circular-arrow icon, above the rule list)Re-reads the rule list from the server. Useful when someone else is editing the same entity.
Include / ExcludeSaves the drafted rule as an allow or a block. Disabled until the editor is valid.
Bulk addTakes a whole list at once on Country, Browser Country, Language, Device Vendor, Mobile Carrier, Domain, Channel, App Package, Operating System and Browser. See Target a list you already have.
or ▾ / and ▾Between the groups of a Cookie Value, Custom Parameter, DMP or API JSON Field list: any group or every group. One per Include list and per Exclude list.
✕ on a chipRemoves that one rule, after a confirmation.
Clear allRemoves every rule in one Included or Excluded block, after a confirmation.
AND / ORHow different dimensions combine. One setting per entity, not per group.

Which editor each dimension opens — essentials

EditorDimensionsIn short
Multi-selectCountry, Browser Country, Language, Mobile Carrier, Day of Week, Device Format, Device Vendor, Protocol, Proxy, Connection Type, Traffic SourceOne searchable list; every ticked value becomes its own rule. Country lists also offer world regions and your custom country groups. Where the carrier list comes from and how a visitor’s carrier is detected: Mobile carrier targeting and data.
Operating System / BrowserOperating System, BrowserMulti-select; with exactly one selected, Relation and Version appear (optional).
Screen widthScreen widthQuick-pick bands (Phone ≤ 767, Tablet 768–1023, Laptop 1024–1439, Desktop ≥ 1440 px) or From / To in px, optional height.
Preset groupPreset Domains, Preset IP Ranges, Preset App PackagesOne preset group per rule — see Preset groups.
LocationLocationCountry, then Region, then City; only the country is required.
DMPDMPProvider, then a segment; the deepest picked segment is targeted.
Day and TimeDay and TimeDay of Week (required) + From / To / Client local time.
Relation + numberDevice Release Year, Device RAM, Browser Rank, Hardware Rank, Platform Rank, Price BandA relation and one number.
IP rangeIP RangeFrom and To, both included, IPv4 or IPv6; one range per rule.
Time windowTime RangeFrom, To and Client local time; From ≠ To.
Single text fieldDomain, App Package, ChannelOne host or TLD; one package ID; one or more channels split on , / ;.
Two / three text fieldsCookie Value; API JSON FieldName + Value; API URL + JSON field + Value.
Custom ParameterCustom ParameterType, then Parameter + Operator + Value, or one Expression — see Custom parameter targeting.
Risk scoreTraffic Risk ScoreRelation (>=), Risk level, optional Category.
Nothing to fillWi-Fi Traffic, Is Web App, Incognito ModeInclude = only this traffic, Exclude = never this traffic.

Every field, default, bound and refusal message per editor is in Targeting card reference; what each dimension matches on an ad request is in the targeting dimension reference.

Roles

RoleGets
AdvertiserThe Targeting card on the advertiser, every campaign and every creative (a default card for the role); rules set higher up narrow everything below them.
Network managerThe same, plus Pre-targeting on sites, zones and placements.
PublisherThe Pre-targeting card on the sites, zones and placements they can edit. The stock role holds a subset of the targeting dimensions; the others are added by your network. See the Publisher playbook.
Shared-entity viewerOn a Can View share, the saved rules read-only; changing them needs Can Edit or Is Owner.

Targeting FAQ

The eight most asked questions have their own page: Targeting FAQ — how include, exclude and AND / OR combine; Country or Location; excluding a combination; routing by a value the page sends; finding every campaign that targets a country; reaching people behind a VPN. Two of them are summarised here because other pages point to them.

Can I target a URL or part of a URL (only /watch/ pages)?

Not with a built-in rule: Domain targeting matches hosts only, never the path. Use a separate placement per page type, or a Custom Parameter rule on requestUrl or on a section parameter the page sends. Full answer → Targeting FAQ.

Which time zone does a Time Range use?

Without Client local time the window is in the network’s time zone (UTC unless set otherwise); with it, the visitor’s own clock from the tz the JS loader sends. VAST, CTV, Direct URL and server-to-server requests send no tz and fall back to network time. Both ends are inclusive to the minute; From later than To runs over midnight. Full answer → Targeting FAQ.

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.