Lifecycle and statuses
Every lead has a status that tells you where it is in delivery. Separately, a delivered lead can carry a commercial_status that tells you whether the provider accepted it commercially.
Statuses
Section titled “Statuses”| Status | Meaning | Terminal |
|---|---|---|
received |
Pingdex has accepted the lead and it is waiting to be processed. | No |
processing |
Pingdex is routing the lead and talking to providers. | No |
delivered |
The lead was successfully committed to a provider over HTTP. | Yes |
failed |
Delivery did not succeed. | Yes |
indeterminate |
Pingdex cannot confirm whether the provider received the lead, for example after a timeout. | Yes |
- You submit the lead and Pingdex responds
202with statusreceived. - Pingdex moves the lead to
processingand routes it according to the campaign’s routing strategy. - The lead ends in exactly one terminal status:
delivered,failedorindeterminate.
| From | To | When |
|---|---|---|
received |
processing |
Pingdex starts working on the lead. |
processing |
delivered |
A provider accepted the commit request with a successful HTTP response. |
processing |
failed |
There was no eligible provider, no valid bid, or the commit did not succeed. |
processing |
indeterminate |
The outcome of the commit could not be confirmed. |
The individual steps taken for each lead are recorded as attempts.
Delivered is a transport status
Section titled “Delivered is a transport status”Commercial acceptance is tracked separately in commercial_status:
commercial_status |
Meaning |
|---|---|
accepted |
The provider accepted the lead commercially. This counts as a sale in reporting. |
rejected |
The provider returned a successful response but rejected the lead. The lead status is still delivered. |
unknown |
The response did not make the commercial outcome clear. |
null |
There is no commercial outcome, for example because the lead has not been delivered. |
How commercial_status is determined depends on how the provider’s response is read. See Response mapping.
Indeterminate leads
Section titled “Indeterminate leads”An indeterminate lead is one where Pingdex sent, or may have sent, the lead but cannot tell what happened, for instance because the connection timed out or the commit was interrupted. The provider might have received it, so Pingdex does not report it as failed. Check the provider’s own records before deciding whether to resubmit.
Webhooks on terminal statuses
Section titled “Webhooks on terminal statuses”Reaching a terminal status fires a webhook if you have configured one:
| Status | Event |
|---|---|
delivered |
lead.delivered |
failed |
lead.failed |
indeterminate |
lead.indeterminate |
See Webhooks.