Sklik API

Groups

groups.create

Create a new Groups in campaigns.

Parameters

struct user {
string session

Session (as retrieved from client.login())

int userId

(optional) Managed user ID

}
array groups (
struct {
int campaignId

Campaign id

string name

Group name

int cpc

Group default maximal cost per click (in halers)

int cpt

(optional) Group cost per thousand impressions,

string status

(optional) status of group: [default: active]

  • active: active state
  • suspend: suspend state
int maxUserDailyImpression

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

struct devicesPriceRatio {

(optional) Specify max CPC/CPT for target device [default: see below]

int desktop

(optional) Desktop/Notebook devices [default: 0]

int mobile

(optional) Smartphones/Mobile devices [default: 0]

int tablet

(optional) Tablet devices [default: 0]

int other

(optional) Other devices [default: 0]

}
}
)

Response

struct {
int status

Status code

string statusMessage

Status code description

string session

Refreshed session

array groupIds (

Group IDs of new created groups

int

Group 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-2020

www.seznam.cz Help Contact