(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. |
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.) |
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. |
Returns:
Group statistics.
- Type
- Object