Sklik API

SSP API Seznam Partner

/webs/stats

Get web statistic data

Parameters

object {
boolean byDevice (optional) Group data by device
boolean bySource (optional) Group data by source
string dateFrom Restrict data from this date, ISO format YYYY-MM-DD (eg 2017-07-16)
string dateTo Restrict data until this date, ISO format YYYY-MM-DD (eg 2017-07-16)
enum granularity (optional) Time granularity (group data by time interval)
  • daily
  • weekly
  • monthly
  • quarterly
  • yearly
  • total
string session Session token obtained by one of login methods
array webIds [ (optional) Restrict web list by web IDs
integer
]
}

Response

object {
integer count Number of returned items
array stats [
object {
integer clicks Number of clicks at creative (only for Sklik)
number commission Number of commission money (clickMoney+impressionMoney)
string date (optional) Date of the first day in the time granule defined by granularity parameter. ISO format YYYY-MM-DD (eg 2017-07-16)
string device (optional) Device identifier. NULL when the appropriate value is not set in segmentation variable in the request
integer impressions Number of views of creatives on the website
integer webId Web ID
string webName Web name of web the zone belongs to
integer webViews Number of views of the web. Not the sum of zone views
}
]
integer status Status code
string statusMessage Textual status description
}

Response status codes

List of possible response status codes:

Copyright © 1996-2024

www.seznam.cz   Help   Contact