Sklik API

Patterns

patterns.update

Update patterns.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array patterns (
struct {
int id

Id of pattern

int cpc

(optional) (can be null) Pattern max cost per click (in halers) or nil for using the group default

int cpt

(optional) (can be null) Pattern max cost per thousand impressions (in halers) or nil for using the group default

string status

(optional) status:

  • active: active after created
  • suspend: suspended after created
}
)

Response

struct {
int status

Status code (see bellow)

string statusMessage

Status code description

struct diagnostics {

(optional) Additional information about processed request (see bellow)

}
string session

(optional) Refreshed session

int count

Number of updated patterns

}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact