Actions
Endpoints for managing and tracking conversion events and updates.
Returns a list of actions attributed to you, ordered by creation date (newest first).
Date filtering rules:
If no
StartDateandEndDateare specified, only records from the past 7 days are returned.StartDateandEndDatecannot be more than 45 days apart.StartDatecannot exceed 3 years in the past.If
StartDateis specified,EndDatemust also be specified.
Unique identifier for the partner account.
Filters actions for a specific campaign.
The current state of the action.
Filters actions with an EventDate on or after this value.
Filters actions with an EventDate on or before this value.
Filters actions last updated on or after this value. Requires EndDate. Cannot be more than 45 days before EndDate or more than 3 years in the past.
Filters actions last updated on or before this value. Requires StartDate.
Filters actions with a LockingDate on or after this value. Requires LockingDateEnd. The range between LockingDateStart and LockingDateEnd cannot exceed 45 days.
Filters actions with a LockingDate on or before this value. Requires LockingDateStart.
A list of action objects.
GET /Mediapartners/{AccountSID}/Actions HTTP/1.1
Host: api.impact.com
Accept: */*
A list of action objects.
{
"Actions": [
{
"Id": "1000.4636.158133",
"CampaignId": "1000",
"CampaignName": "Acme Campaign",
"ActionTrackerId": "2240",
"ActionTrackerName": "Sale",
"State": "PENDING",
"AdId": "506720",
"Payout": "0.88",
"Amount": "21.99",
"Currency": "USD",
"EventDate": "2024-09-10T10:42:38-07:00",
"LockingDate": "2024-09-26T00:00:00-07:00",
"Oid": "9217374917472",
"EventCode": "",
"SharedId": "RT-19247423",
"SubId1": "",
"SubId2": "",
"SubId3": "",
"DeltaPayout": "0.88",
"IntendedPayout": "0.88",
"DeltaAmount": "21.99",
"IntendedAmount": "21.99",
"ReferringDate": "2024-09-10T09:45:07-07:00",
"CreationDate": "2024-09-10T10:51:23-07:00",
"ClearedDate": "",
"ReferringType": "CLICK_COOKIE",
"ReferringDomain": "",
"PromoCode": "SUMMERSALE2024",
"CustomerArea": "855",
"CustomerCity": "Santa Barbara",
"CustomerRegion": "California",
"CustomerCountry": "US",
"Uri": "/Mediapartners/<AccountSID>/Actions/1000.4636.158133"
}
]
}Retrieves the details of an existing action using its unique ID.
Unique identifier for the partner account.
Unique identifier for the action.
The action object.
Unique identifier for the action.
1000.4636.158133Unique identifier for the campaign that the action is associated with.
1000Display name for the campaign that the action is associated with.
Acme CampaignUnique identifier for the action tracker (event type) that tracked the conversion.
2240Display name for the action tracker (event type) that tracked the conversion.
SaleThe current state of the action:
PENDING: Awaiting the locking date for automatic approval, or manual review. Modified actions also have this state.APPROVED: Approved and will pay out to the partner. No further modifications are possible.REVERSED: Reversed and will not pay out to the partner.
Unique identifier for the ad that drove the winning click.
506720Commission amount calculated for the action that will be paid out to the partner.
0.88Revenue amount associated with the action.
21.99Three-letter ISO 4217 code representing the currency for the action.
USDDate and time when the conversion event occurred.
2024-09-10T10:42:38-07:00Date and time when the action will lock and can no longer be modified or reversed.
2024-09-26T00:00:00-07:00The unique identifier for the order associated with this conversion, as provided by the brand.
9217374917472For mobile app events, populates with the event code representing the type of event tracked.
The Shared ID value associated with the winning click. A query string parameter you can append to the tracking link to share traffic segments with the brand.
RT-19247423The first Sub ID value associated with the winning click. A query string parameter you can append to the tracking link that will appear in your reporting.
The second Sub ID value associated with the winning click. A query string parameter you can append to the tracking link that will appear in your reporting.
The third Sub ID value associated with the winning click. A query string parameter you can append to the tracking link that will appear in your reporting.
The change in payout value between the current action update and the previous one.
0.88Original payout amount calculated by the template terms before any modifications.
0.88The change in amount value between the current action update and the previous one.
21.99Original amount for the action before any modifications.
21.99Date and time when the winning click occurred.
2024-09-10T09:45:07-07:00Date and time when the action was created in impact.com.
2024-09-10T10:51:23-07:00Date and time when the action commission cleared your account balance. Returns empty if the action has not cleared yet.
The attribution method associated with the winning referral.
CLICK_COOKIEPossible values: Domain of the site that the winning click occurred on.
The promotional code applied to the conversion, if one was used.
SUMMERSALE2024The Designated Market Area (DMA) code of the customer's area, derived from IP address.
855The city the customer resides in.
Santa BarbaraThe region or state the customer resides in.
CaliforniaThe country the customer resides in.
USUnique reference to the action object in the impact.com API.
/Mediapartners/<AccountSID>/Actions/1000.4636.158133GET /Mediapartners/{AccountSID}/Actions/{id} HTTP/1.1
Host: api.impact.com
Accept: */*
The action object.
{
"Id": "1000.4636.158133",
"CampaignId": "1000",
"CampaignName": "Acme Campaign",
"ActionTrackerId": "2240",
"ActionTrackerName": "Sale",
"State": "PENDING",
"AdId": "506720",
"Payout": "0.88",
"Amount": "21.99",
"Currency": "USD",
"EventDate": "2024-09-10T10:42:38-07:00",
"LockingDate": "2024-09-26T00:00:00-07:00",
"Oid": "9217374917472",
"EventCode": "",
"SharedId": "RT-19247423",
"SubId1": "",
"SubId2": "",
"SubId3": "",
"DeltaPayout": "0.88",
"IntendedPayout": "0.88",
"DeltaAmount": "21.99",
"IntendedAmount": "21.99",
"ReferringDate": "2024-09-10T09:45:07-07:00",
"CreationDate": "2024-09-10T10:51:23-07:00",
"ClearedDate": "",
"ReferringType": "CLICK_COOKIE",
"ReferringDomain": "",
"PromoCode": "SUMMERSALE2024",
"CustomerArea": "855",
"CustomerCity": "Santa Barbara",
"CustomerRegion": "California",
"CustomerCountry": "US",
"Uri": "/Mediapartners/<AccountSID>/Actions/1000.4636.158133"
}Returns a list of the items within the specified action in the order they were recorded. Each action has at least one item.
Unique identifier for the partner account.
Unique identifier for the action.
An array of action item objects.
GET /Mediapartners/{AccountSID}/Actions/{id}/Items HTTP/1.1
Host: api.impact.com
Accept: */*
An array of action item objects.
{
"ActionItems": [
{
"Sku": "12345",
"ItemName": "Acme Tennis Balls (One Dozen)",
"Category": "Sports",
"Quantity": "2",
"SaleAmount": "19.27",
"SaleAmountCurrency": "USD",
"Payout": "0.77",
"PayoutCurrency": "USD",
"Rebate": "1.00",
"RebateCurrency": "USD",
"AdjustmentDate": "",
"AdjustmentReason": "",
"Uri": "/Mediapartners/<AccountSID>/Actions/1000.4636.158133/Items/12345"
}
]
}Retrieves the details of a specific item within an action using its SKU.
Unique identifier for the partner account.
Unique identifier for the action.
The SKU or product identifier of the item.
A single action item object.
The product identifier or SKU for the item.
12345The product name or description.
Acme Tennis Balls (One Dozen)The product category.
SportsThe number of units purchased.
2The transaction value or sale amount for the item.
19.27The currency code for the sale amount.
USDThe commission or payout earned for the item.
0.77The currency code for the payout.
USDThe rebate amount for the item.
1.00The currency code for the rebate.
USDThe date and time of any adjustment applied to the item. Returns empty if no adjustment has occurred.
The reason for any adjustment applied to the item. Returns empty if no adjustment has occurred.
Unique reference to the action item object in the impact.com API.
/Mediapartners/<AccountSID>/Actions/1000.4636.158133/Items/12345GET /Mediapartners/{AccountSID}/Actions/{actionId}/Items/{sku} HTTP/1.1
Host: api.impact.com
Accept: */*
A single action item object.
{
"Sku": "12345",
"ItemName": "Acme Tennis Balls (One Dozen)",
"Category": "Sports",
"Quantity": "2",
"SaleAmount": "19.27",
"SaleAmountCurrency": "USD",
"Payout": "0.77",
"PayoutCurrency": "USD",
"Rebate": "1.00",
"RebateCurrency": "USD",
"AdjustmentDate": "",
"AdjustmentReason": "",
"Uri": "/Mediapartners/<AccountSID>/Actions/1000.4636.158133/Items/12345"
}Returns a list of action updates, useful for syncing action state changes with internal systems. Each record represents a change to an action's state or payout.
Note: impact.com recommends using action lifecycle postbacks instead of polling this endpoint for all but occasional requests, in order to receive low-latency near-realtime action updates.
Date filtering rules:
If no
StartDateandEndDateare specified, only records from the past 7 days are returned.StartDateandEndDatecannot be more than 45 days apart.StartDatecannot exceed 3 years in the past.If
StartDateis specified,EndDatemust also be specified.
Unique identifier for the partner account.
Filters action updates last modified on or after this value. Requires EndDate. Cannot be more than 45 days before EndDate or more than 3 years in the past.
Filters action updates last modified on or before this value. Requires StartDate.
Filters action updates for a specific campaign.
The current state of the action.
Filters action updates whose action's EventDate is on or after this value. Requires ActionDateEnd. The range cannot exceed 45 days.
Filters action updates whose action's EventDate is on or before this value. Requires ActionDateStart.
Filters action updates whose action's LockingDate is on or after this value. Requires LockingDateEnd. The range cannot exceed 45 days.
Filters action updates whose action's LockingDate is on or before this value. Requires LockingDateStart.
An array of action update objects.
GET /Mediapartners/{AccountSID}/ActionUpdates HTTP/1.1
Host: api.impact.com
Accept: */*
An array of action update objects.
{
"ActionUpdates": [
{
"Id": "1000.1234.56789.10111213",
"ActionId": "1000.1234.56789",
"CampaignId": "1000",
"ActionTrackerId": "10000",
"EventCode": "",
"State": "PENDING",
"StateDetail": "",
"StateDetailDescription": "Action comes in DEFAULT and a locking date has not been set yet",
"AdId": "123456",
"ReportingState": "IR_BLANK",
"DeltaPayout": "0.26",
"DeltaAmount": "17.29",
"Currency": "USD",
"Category": "Sports",
"Sku": "123ABC456",
"Quantity": "1",
"CatalogName": "",
"CatalogCategory": "",
"CatalogDescription": "",
"CatalogManufacturer": "",
"CatalogOriginalFormatCategory": "",
"CatalogSubCategory": "",
"UpdateDate": "2021-04-25T02:07:45-04:00",
"LockingDate": "2021-05-16T00:00:00-04:00",
"ClearingDate": "2021-05-16T00:00:00-04:00",
"ActionDate": "2021-04-24T19:50:23-04:00",
"Oid": "O987654",
"SubId1": "Blog",
"SubId2": "Website",
"SubId3": "",
"PaystubId": "116142",
"ContractId": "S-7751552",
"EventTypeId": "10000",
"EventTypeName": "Sale",
"PayoutLevel": "ORDER",
"DefaultPayout": "5.00",
"DefaultPayoutCurrency": "USD",
"SharedId": "",
"ActionUri": "/Mediapartners/<AccountSID>/Actions/1000.1234.56789",
"Uri": "/Mediapartners/<AccountSID>/ActionUpdates/1000.1234.56789.10111213"
}
]
}Retrieves the details of a specific action update record.
Unique identifier for the partner account.
Unique identifier for the action update record.
A single action update object.
Unique identifier for the action update record.
1000.1234.56789.10111213Identifier for the parent action associated with this update.
1000.1234.56789Unique identifier for the campaign associated with the action.
1000Unique identifier of the action tracker (event type) that recorded the action.
10000Internal event code associated with the action tracker.
The current state of the action:
PENDING: Awaiting the locking date for automatic approval, or manual review.APPROVED: Approved and will pay out to the partner.REVERSED: Reversed and will not pay out to the partner.
Additional detail about the current state of the action.
Human-readable explanation of the state detail.
Action comes in DEFAULT and a locking date has not been set yetUnique identifier of the ad that drove the action, if applicable.
123456The reporting state of the action used by impact.com analytics.
IR_BLANKThe change in payout amount between this update and the previous one.
0.26The change in transaction amount between this update and the previous one.
17.29Three-letter ISO 4217 currency code for the action amounts.
USDBrand-defined category for the action.
SportsStock keeping unit identifier for the product associated with the action, if applicable.
123ABC456Quantity of items associated with the action.
1Name of the catalog the action item belongs to.
Category of the action item from the brand's catalog.
Description of the action item from the brand's catalog.
Manufacturer of the action item from the brand's catalog.
Original (unmodified) category of the action item from the brand's catalog.
Sub-category of the action item from the brand's catalog.
Date and time of the most recent modification to the action.
2021-04-25T02:07:45-04:00Date and time the action will be (or was) locked for automatic state changes.
2021-05-16T00:00:00-04:00Date and time the action payout was (or will be) cleared for payment.
2021-05-16T00:00:00-04:00Date and time when the original action or conversion event occurred.
2021-04-24T19:50:23-04:00The unique identifier for the order associated with the action, as provided by the brand.
O987654First partner sub-identifier passed on the tracking link.
BlogSecond partner sub-identifier passed on the tracking link.
WebsiteThird partner sub-identifier passed on the tracking link.
Identifier of the paystub the action's payout is associated with, when paid.
116142Identifier of the contract that determined the payout for this action.
S-7751552Unique identifier of the event type that recorded the action.
10000Display name of the event type that recorded the action.
SaleThe level at which the payout was calculated (e.g., ORDER, ITEM).
ORDERDefault payout amount before any adjustments.
5.00Three-letter ISO 4217 currency code for the default payout amount.
USDShared identifier passed on the tracking link.
API resource path to the parent action.
/Mediapartners/<AccountSID>/Actions/1000.1234.56789Unique reference to the action update object in the impact.com API.
/Mediapartners/<AccountSID>/ActionUpdates/1000.1234.56789.10111213GET /Mediapartners/{AccountSID}/ActionUpdates/{id} HTTP/1.1
Host: api.impact.com
Accept: */*
A single action update object.
{
"Id": "1000.1234.56789.10111213",
"ActionId": "1000.1234.56789",
"CampaignId": "1000",
"ActionTrackerId": "10000",
"EventCode": "",
"State": "PENDING",
"StateDetail": "",
"StateDetailDescription": "Action comes in DEFAULT and a locking date has not been set yet",
"AdId": "123456",
"ReportingState": "IR_BLANK",
"DeltaPayout": "0.26",
"DeltaAmount": "17.29",
"Currency": "USD",
"Category": "Sports",
"Sku": "123ABC456",
"Quantity": "1",
"CatalogName": "",
"CatalogCategory": "",
"CatalogDescription": "",
"CatalogManufacturer": "",
"CatalogOriginalFormatCategory": "",
"CatalogSubCategory": "",
"UpdateDate": "2021-04-25T02:07:45-04:00",
"LockingDate": "2021-05-16T00:00:00-04:00",
"ClearingDate": "2021-05-16T00:00:00-04:00",
"ActionDate": "2021-04-24T19:50:23-04:00",
"Oid": "O987654",
"SubId1": "Blog",
"SubId2": "Website",
"SubId3": "",
"PaystubId": "116142",
"ContractId": "S-7751552",
"EventTypeId": "10000",
"EventTypeName": "Sale",
"PayoutLevel": "ORDER",
"DefaultPayout": "5.00",
"DefaultPayoutCurrency": "USD",
"SharedId": "",
"ActionUri": "/Mediapartners/<AccountSID>/Actions/1000.1234.56789",
"Uri": "/Mediapartners/<AccountSID>/ActionUpdates/1000.1234.56789.10111213"
}Last updated
