Sklik API

Groups

groups.get

Get group attributes.

If cpcContext is nil, cpc value is used as context CPC.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array groupIds ( Array of id of group
int Id of group
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array groups (
struct {
int id Group ID
struct campaign {
int id Campaign ID this group belongs to
}
int campaignId Campaign ID this group belongs to
string name Group name
string status Group status:
  • active: Active
  • suspend: Suspend
  • noactine:
bool deleted Whether the group is removed
int cpc Group default maximal cost per click (in halers)
int cpcContext (can be null) Group default maximal CPC for context (in halers) or nil if unset
int cpt Group cost per thousand impression (it is use only if CPT paiment method for campaign is set)
datetime createDate Group create date
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