The API submission object holds information about record (e.g., a conversion) that was submitted via API as well as any errors that may be found in the submission. You can retrieve info on an API submission as well as list info on all API submissions. API submission information is stored with impact.com for no more than 90 days.
Attributes
BatchId
string
BatchId
stringId of the API submission.
AccountId
integer
AccountId
integerId of the brand account that submitted the API submission.
SubmissionDate
datetime
SubmissionDate
datetimeDate and time the API submission was submitted. See ISO 8601.
CampaignId
integer
CampaignId
integerId of the program (formerly known as campaign) to which the record was submitted.
MediaPartnerId
integer
MediaPartnerId
integerId of the partner (formerly known as media partner) that drove the record submitted via API.
OrderId
string
OrderId
stringIf the record submitted is a conversion, this is the unique Id associated with that conversion.
Payload
string
Payload
stringInformation about the tracking data itself that was submitted to impact.com via an API call.
Type
enum
Type
enumType of record submitted.
View possible values | |
---|---|
Conversion | Submission contained information about a conversion event. |
Modification | Submission contained information about an action modification. |
Reversal | Submission contained information about a reversing an event. |
Status
enum
Status
enumStatus of the API submission. Will always begin as Queued
.
View possible values | |
---|---|
Queued | Submission is queued to begin processing. |
In Progress | Submission has begun processing. |
Complete | Submission was successfully submitted. Errors may exist in the submission however. |
CompletionDate
string
CompletionDate
stringDate and time that the submission finished processing. Will be empty if the submission is not finished processing. See ISO 8601.
ErrorType
enum
ErrorType
enumErrors encountered during the submission process. Will be empty if no errors were encountered. Some common values are listed below.
View possible values | |
---|---|
Validation | Errors exist in the data submitted (e.g., data fields were not formatted correctly). |
Contract Error | Submission contains valid data fields, but the data not meet criteria set in the contract—no payout can be generated. |
ErrorReason
enum
ErrorReason
enumList of error explanations to help describe the ErrorType
.
View possible values | |
---|---|
ACTION_REF_NOT_FOUND | No referral information for the event submitted can be found. |
ACTIONTERMS_NOT_FOUND | The contract that would apply to the submission contains no terms for the event type within the submission. |
ACTIONTRACKER_CAMPAIGN_MISMATCH | The event type (or action tracker) listed does not belong to the program listed. |
ACTIONTRACKER_NOT_ACTIVE | The event type (or action tracker) exists, but is yet to be enabled. |
ACTIONTRACKER_NOT_FOUND | The event type (or action tracker) cannot be found. |
AMOUNT_NEGATIVE_OR_NOT_A_NUMBER | The amount submitted is negative or is not a number. |
BLACKLISTED_SOURCE_IP | If a restriction was placed on the customer's IP. This is usually a country restriction. |
BLOCKED_BY_PROMOCODE | Partner promoted a promo code that was not assigned to them. |
CALL_DUPLICATE | Determined by duplication rules, same caller generated an action within pre-determined amount of days. |
CALL_DURATION_TOO_SHORT | Call event in the submission was too short to be payable. |
CALL_FOR_CALL_PER_CONV_AT | Call was meant to turn into a pay-per-sale, but did not reach that point. |
CALL_INCOMPLETE | Call did not connect properly. |
CALL_OUTSIDE_DAILY_RANGE | Call event was outside pre-determined hours. |
CAMPAIGN_ACCOUNT_MISMATCH | Program Id listed in the submission doesn't belong to your account. |
CAMPAIGN_NOT_FOUND | Program listed in the submission cannot be found. |
CONTRACT_NOT_FOUND | No contract for the partner existed at the time of the submission. |
CONV_DUPLICATE | An action with the same OrderId was registered within the OID deduplication window. |
CONV_MALFORMED | This is an error code that means impact.com couldn't make sense of the conversion data. Look up the OID for a more detailed error message. |
CREDITING_RULE_MISMATCH | The event represented in the submission does not follow crediting rules (e.g., partner drove first click, but last click wins the credit). |
INVALID_CURRENCY_CODE | If an invalid currency code was selected. |
INVALID_EXCHANGE_RATE | If the exchange rate is not in decimal form. |
INVALID_EVENT_DATE | If the event date doesn't follow the required date format. |
MALFORMED | Click data is incomprehensible, or was tagged in error (e.g., a deeplink domain mismatch). |
MARGIN_NOT_A_NUMBER | The Margin value is not a number. |
MAX_RECURRENCES_REACHED | The referral was already credited with enough actions. |
NO_ITEM | No products, items, services, etc. were contained in the sale submission. |
NO_VALID_ACTION_REF | A referral is present for the submission, but is not commissionable. |
OID_MISSING | No Order Id (OID) can be found for the event submitted. OrderId is a required field. |
ORDERSUBTOTAL_NOT_A_NUMBER | The OrderSubTotal is not a number. |
OTHER_REF_PRIORITIZED | Another referral was prioritized for the event within the submission. This will only apply to attribution reports. |
OUTSIDE_ASSOCIATION_WINDOW | Action date in the submission lands outside of the click referral window. |
PARTNER_NOT_ACTIVE | The partner associated with the submission was not active at the time of the submission. |
REBATE_NOT_A_NUMBER | The Rebate value is not a number. |
REFTYPE_NOT_ACCEPTED | The contract that would apply to the submission contains no terms for the referral used in the event being submitted. |
RESTRICTED_PROMOCODE | Promo code used by the customer classified the event as a whole as part of another partner's channel. |
UNCLAIMED | The event represented in the submission has only non-preferred media sources associated with it. Only applicable to legacy attribution reports. |
Uri
string
Uri
stringAPI submission's direct URI to view only one specific API submission.
More attributes
Click to view...
EventCode
string
EventCode
stringId of a mobile payable event. A legacy feature that is no longer supported.
{
"BatchId": "A-b1234c56-7d89-0e12-3f4g-5h6ij7k8901l",
"AccountId": "10001",
"SubmissionDate": "2020-09-10T09:50:12-07:00",
"CampaignId": "1000",
"ActionTrackerId": "4000",
"MediaPartnerId": "10000",
"EventCode": "",
"OrderId": "1234567890123",
"Payload": "CampaignId=1000&EventTypeId=4000&EventDate=2024-08-01T23:55:24-08:00&OrderId=1234567890123&ClickId=SKhRQaSXwxyOUQ%253AwUx0Mo36FUkiXxtxVUQTEzY0&CustomerId=BCZ2WVSH674563PDPYOTM3AXDQ&OrderPromoCode=10OFF-FORGE&CustomerStatus=NEW&CustomerPostCode=93107&CurrencyCode=USD&OrderDiscount=5&IpAddress=12.345.678.90&ItemSku1=12345&ItemName1=Anvil&ItemCategory1=Anvils&ItemQuantity1=2&ItemPrice1=10&ItemSku2=55555&ItemName2=Hammer&ItemCategory2=Hammers&ItemQuantity2=1&ItemPrice2=6.99",
"Type": "Conversion",
"Status": "Complete",
"CompletionDate": "2020-09-10T10:11:15-07:00",
"ErrorType": "Contract Error",
"ErrorReason": "CONTRACT_NOT_FOUND RESTRICTED_PROMOCODE",
"Uri": "/Advertisers/<AccountSID>/APISubmissions/A-f6675c69-4a69-4c04-8a1d-3f2eb7a6754e"
}