Sklik API

Groups

groups.check

Check groups before creating or updating it.

You have to specify:
    group.id (check for updating)
 or group.attributes.campaignId
    (check for creating)

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array groups (
struct {
int groupId

(optional) Group id

int campaignId

(optional) Campaign id (where the group will be if creating a new one)

string name

(optional) Group name

string status

(optional) Group status:

  • active: Active
  • suspend: Suspended
int cpc

(optional) Group default maximal cost per click (in halers)

int cpt

(optional) Group cost per thousand impressions,

int maxUserDailyImpression

(optional) Max impressions of group per one user per one day

}
)

Response

struct {
int status

Status code

string statusMessage

Status code description

string session

Refreshed session

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