Sklik API

Banners

banners.update

Set banners attributes. If you modify any essential attribute (file) new banner shall be created.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) User ID
}
array banners (
struct {
int id Banner ID
string name (optional) Banner name (title)
string clickthruUrl (optional) Target URL
string status (optional) Status:
  • active:
  • suspend:
binary file (optional) Image data (jpg, png, gif)
}
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array newIds ( IDs of newly created banners
int
)
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-2019

www.seznam.cz   Help   Contact