Sklik API

SSP API Seznam Partner

/zones/stats

Get web statistic data

Parameters

object {
boolean byDevice (optional) Group data by device (can't combine with bySource)
boolean bySource (optional) Group data by source (can't combine with byDevice)
string dateFrom Restrict data from this date, ISO format YYYY-MM-DD (eg 2017-07-16)
string dateTo Restrict data from 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 data by list of web IDs
integer
]
array zoneIds [ (optional) Restrict data by list of zone 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.
object dimension { (optional) Zone size/dimensions
integer height
integer width
}
integer impressions Number of impressions
string source (optional) Source identifier. NULL when the appropriate value is not set in segmentation variable in the request.
integer webId Web ID
string webName Web name of web the zone belongs to
integer zoneId Zone ID
string zoneName Zone name
}
]
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