Sklik API

Intends

intends.update

Set intend attributes.

intendCategoryId cannot be changed; if you need so, remove it
and create a new one.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array intends (
struct {
int intendId

Id of updated intend.

int cpc

(optional) (can be null) Change intend maximal CPC (in halers) or nil to use group default

int cpt

(optional) (can be null) Change intend maximal CPM (in halers) or nil to use group default

string status

(optional) Change intend status:

  • active: Active
  • suspend: Suspended
}
)

Response

struct {
int status

Status code (see bellow)

string statusMessage

Status code description

string session

(optional) Refreshed session

int count

Number of updated intends

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