Sklik API

Banners

banners.create

Create banners.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) User ID

}
array banners (
struct {
int requestId

(optional) Chosen ID to identify item in response and diagnostics (default=item index)

int groupId

Group ID

string name

Banner name

string clickthruUrl

Target URL

string status

(optional) Status:

  • active:
  • suspend:
binary file

Image data (jpg, png, gif)

array schedule (

(optional) (can be null) Delivery schedule of banner. Array of 7 days, week starts at monday.

)
}
)

Response

struct {
int status

Status code

string statusMessage

Status code description

string session

Refreshed session

array bannerIds (
struct {
int id

Inserted ID

int requestId

Request ID

}
)
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-2024

www.seznam.cz Help Contact