Ping and post
How Pingdex contacts your providers depends on the routing strategy of the campaign the lead belongs to.
| Strategy | Providers it uses | What happens |
|---|---|---|
highest_bid |
Ping / post | Pings every eligible provider, picks the best bid, posts to the winner. |
priority |
Direct post | Posts to the first eligible provider, once. |
A provider is eligible for a lead when it is assigned to the campaign, is enabled, and its integration shape matches the strategy. highest_bid needs a quote leg. priority needs a commit-only integration. See Routing and eligibility.
Highest bid
Section titled “Highest bid”-
Choose the providers. Pingdex collects the eligible providers on the campaign.
-
Prepare each ping. Pingdex builds each ping body from the lead. A provider whose ping cannot be built, for example because a required field is missing, is left out of the auction and recorded as
not_sent. The other providers carry on. -
Send the pings at the same time. All pings go out concurrently. One slow buyer does not delay the others beyond the ping timeout.
-
Read the bids. Pingdex parses each response using the quote response mapping. A provider is a valid bidder only if the buyer accepted the ping and returned a valid bid. A rejected, invalid, slow or failed ping simply drops that provider out of the auction.
-
Pick the winner. The winner is the highest bid. If two bids are equal, the provider with the lowest provider UUID wins.
-
Send one post. Pingdex sends a single post to the winner only. The post can use values the winner’s ping extracted. Losing providers never receive the lead.
If no provider is eligible, the lead fails with no_eligible_provider. If providers were pinged but none returned a valid bid, the lead fails with no_valid_bid. No post is sent in either case.
One post only
Section titled “One post only”Once a winner is chosen, Pingdex sends exactly one post to that provider. It does not fall back to the second-highest bidder if the post fails, times out or is commercially rejected. Pingdex cannot tell whether a lead that may have reached a buyer is safe to send again, so it never sends it twice or to someone else.
Priority
Section titled “Priority”A priority campaign sends one post to the first eligible provider and no one else.
- Pingdex orders the eligible providers by their position in the campaign’s
provider_idslist. The first provider has priority 1. Providers with equal priority are ordered by lowest provider UUID. - Pingdex takes the first provider in that order.
- Pingdex sends that provider’s commit leg.
There is no fallback. If the first provider’s request fails, times out, is rejected or cannot be built, Pingdex does not try the next one. Disabled providers and providers with the wrong shape are not eligible, so they are skipped before the first provider is chosen. If no provider is eligible the lead fails with no_eligible_provider.
What happens to the post
Section titled “What happens to the post”| Buyer result | Lead status | Notes |
|---|---|---|
| Successful HTTP status | delivered |
Commercial status is read from the commit response, if you set one. Delivered is not accepted. |
| Unsuccessful HTTP status | failed |
This does not prove the buyer skipped the lead. |
| No response (timeout or connection failure) | indeterminate |
Delivery is unknown. |
See Lifecycle and statuses and Attempts.
Timeouts
Section titled “Timeouts”| Phase | Limit |
|---|---|
| Connect | 3 seconds |
| Ping (quote response) | 5 seconds |
| Post (commit response) | 10 seconds |
Retries
Section titled “Retries”Pingdex does not retry a buyer HTTP request. A failed, timed out or rejected request is recorded once and is not repeated.
Redirects
Section titled “Redirects”Pingdex does not follow redirects. A 3xx response is treated as unsuccessful. Point each URL at the final address.
Limits
Section titled “Limits”| Limit | Value |
|---|---|
| Request body | 256 KiB (262,144 bytes) |
| Response body | 1 MiB (1,048,576 bytes) |
Responses are cut off as they arrive, so a large or compressed response cannot use up memory. An over-size ping response drops that provider from the auction with response_too_large. An over-size post response is recorded as indeterminate with response_too_large, because the post may have been received. A request body over the limit is not sent.
See also API limits.