Returns a list of your tracking value requests.
Parameters
CampaignId
optional
CampaignId
optionalA program (formerly known as campaign) Id.
DealId
optional
DealId
optionalAn associated deal Id.
MediaPartnerId
optional
MediaPartnerId
optionalA partner (formerly known as media partner) Id.
State
optional
State
optionalState of the tracking value request.
View possible enum values | |
---|---|
APPROVED | Approved tracking value request. |
COMPLETED | Completed tracking value request. |
DECLINED | Declined tracking value request. |
NEW | New tracking value request. |
RequestType
optional
RequestType
optionalWhat kind of tracking value the partner requested.
View possible enum values | |
---|---|
BRANDED_URL_TRACKING | Partner requested a unique tracking URL. |
PHONE_NUMBER_TRACKING | Partner requested a trackable phone number. |
PROMOCODE_TRACKING | Partner requested a promo code. |
Returns
Returns an array of tracking value request objects up to a limit dictated by @pagesize
. Each entry in the array is a separate tracking value object. If no tracking value objects meet the criteria, the resulting array will be empty. This request should never return an error.
Example Request
curl 'https://api.impact.com/Advertisers/<AccountSID>/TrackingValueRequests' \
-X GET \
-u '<AccountSID>:<AuthToken>' \
-H 'Accept: application/json' \
-d 'CampaignId=1000' \
-d 'State=NEW' \
-d 'RequestType=PROMOCODE_TRACKING' \
-G
Example Response
{
"@page": "1",
...
"TrackingValueRequests": [
{
"Id": "55555",
"CampaignId": "1000",
"CampaignName": "ACME Campaign",
"MediaPartnerId": "10000",
"MediaPartnerName": "Partner Person",
"RequestType": "PROMOCODE_TRACKING",
"NumberRequested": "1",
"PromoCodes": [
{
"Id": "50000",
"RequestedPromoCode": "Promo Code",
"ApprovedPromoCode": "Promo Code",
"CreditPolicy": "ALWAYS",
"MatchMode": "LI"
}
],
"UniqueUrls": [],
"PhoneNumbers": [],
"State": "NEW",
"DatePlaced": "2021-01-28T16:23:49-05:00",
"DateNeeded": "2021-01-31T00:00:00-05:00",
"DateCompleted": "",
"AdditionalInstructions": "Some additional instructions.",
"ProcessingComments": "",
"DealId": "",
"DealName": "",
"DealDescription": "",
"DealState": "",
"DealType": "",
"DealScope": "",
"DealProducts": [],
"DealCategories": "",
"DiscountType": "",
"DiscountAmount": "",
"DiscountCurrency": "",
"DiscountPercent": "",
"DiscountMaximumPercent": "",
"DiscountPercentRangeStart": "",
"DiscountPercentRangeEnd": "",
"Gift": "",
"RebateAmount": "",
"RebateCurrency": "",
"DealDefaultPromoCode": "",
"MinimumPurchaseAmount": "",
"MinimumPurchaseAmountCurrency": "",
"MaximumSavingsAmount": "",
"MaximumSavingsCurrency": "",
"BogoBuyQuantity": "",
"BogoBuyScope": "",
"BogoBuyName": "",
"BogoBuyImageUrl": "",
"BogoGetQuantity": "",
"BogoGetScope": "",
"BogoGetDiscountType": "",
"BogoGetName": "",
"BogoGetImageUrl": "",
"BogoGetDiscountAmount": "",
"BogoGetDiscountCurrency": "",
"BogoGetDiscountPercent": "",
"PurchaseLimitQuantity": "",
"DealStartDate": "",
"DealEndDate": "",
"SynchAdsPromoCodes": "",
"DealRestrictedMediaPartners": [],
"DealRestrictedMediaPartnerGroups": [],
"Uri": "/Advertisers/<AccountSID>/TrackingValueRequests/55555"
}
]
}