Sklik API

Interests

interests.create

Create new interests.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array interests (
struct {
int groupId Id of the group in which will be this interest created
int interestCategoryId Interest category id (see interests.listCategories function)
int cpc (optional) (can be null) Interest max cost per click (in halers) or nil for using the group default
int cpt (optional) (can be null) Interest max cost per impression (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
string session (optional) Refreshed session
array interestIds ( List of new interest ids
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