Returns a list of transactions for a given advertiser
  • 16 Jul 2024
  • Dark
    Light

Returns a list of transactions for a given advertiser

  • Dark
    Light

Article summary

Get
/advertisers/{advertiserId}/transactions/

GET transactions (list)

Advertisers can pull individual transactions, check the status of the transactions, create their reports, and obtain additional information that can be shared between publishers and advertisers via clickref (from publisher to advertiser) and orderRef and custom parameters (from advertiser to publisher)


Who can use it

Advertisers 

Header parameters
Authorization
string

accessToken

Path parameters
advertiserId
integer (int64) Required

advertiser id

Default"123456"
Query parameters
accessToken
stringRequired

access token

advertiserId.present
boolean
advertiserIds
string
dateType
string

date type, if not set - 'transaction' is the default

Valid values[ "\"transaction\"", "\"validation\"" ]
Default"transaction"
endDate
string (date-time) Required

end date

Default"2021-03-15T01:59:59Z"
publisherId.present
boolean
publisherIds
string
showBasketProducts
boolean

show basket products

Default"False"
startDate
string (date-time) Required

start date

Default"2021-01-01T12:00:00Z"
status
string

transaction status

Valid values[ "\"pending\"", "\"approved\"", "\"declined\"", "\"deleted\"" ]
timezone
string

time zone in short or default format

Default"UTC"

Further details on query parameters

parameterformatmandatory/optional
startDateyyyy-MM-ddThh:mm:ssmandatory
endDateyyyy-MM-ddThh:mm:ssmandatory
dateTypetransaction

validation

optional (falls back to "transaction" if not set)
timezoneEurope/Berlin

Europe/Paris Europe/London Europe/Dublin Canada/Eastern Canada/Central Canada/Mountain Canada/Pacific US/Eastern US/Central US/Mountain US/Pacific UTC

mandatory
publisherId12345 or 12345,67890 for multiple onesoptional, available for advertisers
advertiserId12345 or 12345,67890 for multiple onesoptional, available for publishers
statuspending

approved declined deleted

optional
showBasketProductsJSON arrayoptional 
Responses
200

OK

Note that the field "lapseTime" is the conversion time in seconds


Basket Products

If &showBasketProducts=true then products sent via Product Level Tracking matched to the transaction can be viewed (please see "Conditional data fields" below for restrictions that might apply)


Conditional data fields

Some data fields are available for advertisers depending on additional settings.

datafieldavailable for advertisers
orderRefyes
clickRefyes
clickRef2 - clickRef6no
customParametersyes
basketProductsyes
networkFeeyes, if the advertiser has standard invoicing terms


Response values for "type"

Sale, Lead, Bonus, 2nd Tier, Commission group transaction, PPC, TQS, Mobile Sale, Mobile Lead, Mobile App Install, Mobile App Purchase, Compensation,


Was this article helpful?