This report calculates the top categories in the system for the selected date range.
Report ID: TopCategories
Input parameters (see common parameters)
Parameter name | Type | Required | Description | Default Value |
---|---|---|---|---|
offset | int | The number of results to omit (from the start of the result set) | 0 | |
rows | int | Number of results to return | 50 | |
evol | bool | Calculate the evolution of certain fields in the response | False | |
terms | str | Retrieve only categories with this terms in them | None | |
levels | list[int] | Levels of depth within the breadcrumb admitted | None | |
parent_ids | list[str] | IDs of the immediate parent of each category | None | |
success | bool | Order results by successCount | False |
'terms' param
This param is used to trigger the TOP 'n' categories which contain, among its words, the ones specified in this array.
'levels' param
According to the actual implementation, levels refer to the category position in a given breadcrumb (i.e. '[Man > Pants], 'Pants' in this case has a level 2). When a certain level or levels are specified within the request, only those meeting the criteria are shown (not those before 'n-level' or after 'n-level').
'parent_ids' param
Return only those categories which immediate predecessor category is among this IDs.
'success' param
By default, results are prompt ordered by amount of clicks. You can, however, set the sorting to be regarding the number of success clicks.