Sklik API

Partner

partner.web.stats

Get web statistics.

Parameters

string session

Session (as retrieved from client.login())

int webId

Web id (for example retrieved from partner.listWebs())

datetime from

Date from

datetime to

Date to

Response

struct {
int status

Status code:

  • 200: OK
  • 301: User unavailable
  • 400: Invalid parameters
  • 401: Invalid session
  • 403: Forbidden
  • 404: Not found
  • 500: Server Error
string statusMessage

Status code description

string session

Refreshed session

struct stats {
int clicks

Click count

int impressions

View count

int commission

Commission (in halers)

int webImpressions

Web view count

int codeImpressions

Code view count

}
array diagnostics (

(optional) Various diagnostics(warnings, errors, other information)

struct {
...
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2020

www.seznam.cz Help Contact