Sklik API

Groups

groups.update

Update Groups attributes (name, CPC etc.).

If cpcContext is unset (by setting it to nil), value of cpc is used instead for context CPC. Use cpcContext if you need to have different CPC for search and context.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array groups (
struct {
int id Group Id
string name (optional) Change group name
string status (optional) Change group status:
  • active: Active
  • suspend: Suspended
int cpc (optional) Group max. CPC (in halers)
int cpcContext (optional)(can be null) Group max. CPC for context (in halers) or nil
int cpt (optional) Group cost per thousand impressions,
int maxUserDailyImpression (optional) Max impressions of group per one user per one day
}
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
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