Sklik API

Images

images.constraints.list

List image types with its constraints

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) User ID

}
array adTypes (

(optional) Only constraints for images belonging to these ad types will be returned

string

Ad types:

  • combined: images for combined ad format
  • banner: images for banners
)
bool used

(optional) flag, if True - current rules, that are actually used will be returned.

Response

struct {
int status

Return code

string statusMessage

Status description

array constraints (
struct {
int maxSize
int minWidth
int minHeight
int maxWidth
int maxHeight
double ratio
double ratioToleration
int recommendedHeight
int recommendedWidth
bool externalAdSupport
bool supported
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact