Sklik API



Create new ads.


struct user {
string session Session (as retrieved from client.login())
int userId (optional) User ID
array ads (
struct {
int requestId (optional) Chosen id to identify item in response and diagnostics
int groupId ID of the group where the ad will be placed
string creative1 First line of ad (title)
string creative2 Second line of ad
string creative3 Third line of ad
string clickthruText URL that is displayed
string clickthruUrl URL to which is the user redirected
string status (optional) ad status: [default: active]
  • active: aktivni
  • suspend: pozastaveny uzivatelem
string premiseMode (optional) Premise display mode (for connection with catalog
  • disabled: Assigned premise is not shown
  • one: Premise specified in premiseId is shown
  • nearest: Client nearest premise is shown
  • inherit: Premise is inherited from campaign
int premiseId (can be null)(only for premiseMode='one') Premise id (or nil; for connection with catalog


struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array adIds ( Array of created ads(their ids)
int (optional) ID of the created ad
array diagnostics ( (optional) Various diagnostics(warnings, errors, other information)
struct {

Response status codes:

List of all possible response status codes:


List of all possible diagnostics:


Copyright © 1996-2018   Help   Contact