Campaign Targeting Rules

Targeting rules let you precisely control which traffic is accepted, redirected, or rejected for a campaign — based on geo, device, OS, ISP, and more.

Overview

While basic targeting sets the default audience for a campaign, targeting rules give you conditional logic to handle specific traffic segments differently. Each rule consists of one or more conditions evaluated against the incoming click, and an action taken when all conditions match.

Common use cases include:

  • Blocking low-quality traffic from specific countries or ISPs
  • Redirecting mobile traffic to a separate campaign
  • Allowing only specific device types or OS versions
  • Routing traffic from a specific source to a fallback offer

How Rules Work

Rules are evaluated in priority order (lowest number = highest priority). When an incoming click is received:

  1. Each rule is checked in priority order.
  2. The first rule whose conditions all match is applied.
  3. No further rules are checked after a match.
  4. If no rule matches, the click is rejected by default.
Default Reject

If no rule matches the incoming click, the traffic is rejected. Always add an "Allow All" rule at the lowest priority to accept unmatched traffic.

Creating a Targeting Rule

Navigate to your campaign, open the Targeting Rules tab, and click Add Rule.

  1. Give the rule a descriptive name (e.g. "Block Low-Quality GEOs").
  2. Add one or more conditions using the condition builder.
  3. Select the action to take when the rule matches.
  4. Set the rule priority.
  5. Save the rule.
Multiple Conditions

All conditions within a single rule use AND logic — every condition must match for the rule to trigger. To implement OR logic, create separate rules with the same action.

Available Conditions

Each condition targets a specific attribute of the incoming click. Supported operators depend on the parameter type (equals, not equals, contains, in list, etc.).

ParameterDescription
CountryMatch by 2-letter country code (e.g. US, GB)
State / RegionMatch by state or region within a country
CityMatch by city name
BrowserMatch by browser (Chrome, Firefox, Safari, etc.)
Device TypeDesktop, Mobile, or Tablet
Operating SystemWindows, macOS, Android, iOS, Linux, etc.
OS VersionMatch a specific OS version or range
Device BrandSamsung, Apple, Huawei, etc.
ISPInternet Service Provider name
User LanguageBrowser language (en-US, fr-FR, etc.)
Traffic SourceThe source parameter passed in the tracking URL
ReferrerReferring domain of the click
Sub Affiliate IDValue of the sub1–sub6 tracking parameters

Rule Actions

When a rule matches, one of three actions is applied:

ActionBehaviour
AllowTraffic is accepted and forwarded to the campaign landing page.
FallbackTraffic is redirected to the campaign's configured fallback URL or campaign.
RejectTraffic is blocked. The click is recorded but the user is not redirected.

Rule Priority

Priority determines the order in which rules are evaluated. Rules with a lower priority number are checked first.

PriorityEvaluated
1First
2Second
……
99Last (use for "catch-all" Allow rules)
Tip

Place your most specific rules at high priority (low number) and a general "Allow All" rule at the lowest priority to catch remaining traffic.

Common Rule Examples

Allow US traffic only

Priority1
ConditionCountry equals US
ActionAllow
Priority99
Condition(none — catch-all)
ActionReject

Redirect mobile traffic to a fallback

Priority1
ConditionDevice Type equals Mobile
ActionFallback
Priority99
Condition(none — catch-all)
ActionAllow
Rate this article
★★★★★
Thanks for rating!

Was this article helpful?