Skip to content

Routing and eligibility

A campaign’s routing_strategy decides which provider receives each lead. There are two strategies: highest_bid and priority.

Before either strategy runs, Pingdex works out which of the campaign’s assigned providers are eligible. A provider is eligible when it is:

  • assigned to the campaign,
  • enabled, and
  • compatible with the strategy: quote-capable for highest_bid, commit-only for priority.

If no provider is eligible, the delivery fails with no_eligible_provider. See Assigning providers.

With highest_bid, Pingdex asks eligible quote-capable providers what they would pay for the lead, then sends it to the provider with the best offer.

  1. Pingdex requests a quote from every eligible provider at the same time.
  2. Each provider returns a bid, or declines, or fails to return a usable response.
  3. Pingdex selects the highest valid bid.
  4. Pingdex commits the lead to the winning provider only.

Tie-break: if two or more providers return the same highest bid, Pingdex breaks the tie using the provider UUID, so the result is deterministic rather than random.

If no provider returns a valid bid, the delivery fails with no_valid_bid. Quote outcomes are recorded as attempts, and the winning quote is marked as selected.

If you want to… Use
Sell each lead to whichever buyer offers the most. highest_bid
Send every lead to one preferred buyer, with others as the next in line when the preferred one is disabled or ineligible. priority

Routing in Pingdex is intentionally simple. Campaigns do not currently have:

  • caps, such as daily or per-provider limits,
  • filters that send leads to providers based on payload values, or
  • schedules that restrict when a provider receives leads.

If you need to stop a provider receiving leads, disable the provider. To pause everything, disable the campaign. See Campaigns.