Groups

SklikApi. Groups

(private) new Groups()

Methods

get(groupIds) → {Object}

Gets details of groups with given IDs.

Parameters:
Name Type Description
groupIds number | Array.<number>

ID of group or array of multiple group IDs.

See:
Returns:

Group details.

Type
Object

list(restrictionFilter) → {Object}

Lists grous for the current account. The list can be filtered by campaign ID.

Parameters:
Name Type Description
restrictionFilter Object

Filter (campaign IDs etc.)

See:
Returns:

List of groups.

Type
Object

stats(groupIds, params) → {Object}

Gets statistics of groups with given IDs.

Parameters:
Name Type Description
groupIds number | Array.<number>

ID of group or array of multiple group IDs.

params Object

Parameters for the statistics report.

See:
Returns:

Group statistics.

Type
Object