Sklik API

Retargeting

retargeting.lists.create

Create retargeting lists with attributes and groups of conditions

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array lists (

Array of retargeting lists

struct {
struct attributes {
string name

Name of retargeting list.

int membership

Duration in days user will be in this

bool useHistoricData

Include users by url requests requested

bool takeAllUsers

Include all url requests to retargeting list.

string description

(optional) Description of retargeting list.

}
array conditionGroups (

(optional) Groups of url conditions

struct {
array conditions (

List of url conditions (in that group)

struct {
string type

Type of condition:

  • contains: contains
  • not_contains: not contains
  • equals: equals
  • not_equals: not equals
  • starts: starts
  • not_starts: not starts
  • ends: ends
  • not_ends: not ends
string value

Value of condition (for example part of url)

}
)
}
)
}
)

Response

struct {
int status

Status code (see below)

string statusMessage

Status code description

struct diagnostics {

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

}
string session

(optional) Refreshed session

array listIds (

(optional) seznam ID vytvorenych

int
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact