Tracking Request
data class TrackingRequest(val landingPageId: Int, val trackingSpotId: Int, val orderId: String? = null, val itemNumber: String? = null, val description: String? = null, val quantity: Int? = null, val price: Float? = null, val total: Float? = null, val timeout: UInt? = null)
Trigger a request for conversion tracking.
You can use tracking requests to track your app users conversions.
This structure uses as a parameter the AdService.trackingRequest method. You can pass all parameters through the constructor.
val request = TrackingRequest(
landingPageId = 1,
trackingSpotId = 1,
orderId = "orderId",
itemNumber = "itemNumber",
description = "description",
quantity = 1,
price = 19.99f,
total = 39.98f,
timeout = 10u
)
val result = adService.trackingRequest(request)Content copied to clipboard
See also
Properties
Link copied to clipboard
Item description.
Link copied to clipboard
ID of a purchased article(s).
Link copied to clipboard
Internal ad server backend ID for the posttracking landingpage.
Link copied to clipboard
Timeout in seconds for specific tracking request. Fail with AdError.TimedOut if no response is received from the server within the given time.
Link copied to clipboard
Internal ad server backend ID for the trackingspot.