Sklik API

Groups

groups.list

List all groups in a given campaigns.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
struct restrictionFilter {
bool includeDeleted (optional) default = False
array campaignIds ( Array of Campaign IDs in which you want list Groups
int Campaign ID
)
}

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array groups ( Groups in the given campaign
struct {
int id Group ID
string name Group name
string status Group status:
  • active: Active
  • suspend: Suspended
bool deleted Whether group was removed
struct campaign {
int id Campaign ID
}
int cpc In halers
int cpcContext (can be null) In halers
int cpt In halers
datetime createDate
int maxUserDailyImpression Max impressions of group per one user per one day
}
)
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-2018

www.seznam.cz   Help   Contact