Get market rankings
sightglass_get_rankingsThe market view: who holds what share of active ads, week by week. pulse is the headline numbers for the scope (brands, active ads, launches, video and advertorial share). share is the weekly share of the top groups, grouped by company (default), category, platform, country or plan. categories lists the categories under the scope so you can drill in with categoryId; with a categoryId, leaders is that category's top companies. Share is share of ads Sightglass has seen, not spend or revenue. Fields the user's Replo plan doesn't include come back null and are named in that item's locked list (estimates = sales, visits and traffic); lockedCount is how many more results a higher plan shows. Say the data is on a higher plan; never estimate it yourself. Returns data only: nothing is shown to the user yet. Once you know the answer, call sightglass_show once with this call's resultId to show it as cards; the show call does not search again. Works without a Replo account: call it before asking the user to sign in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| weeks | No | ||
| groupBy | No | What to rank by share of active ads: company (default), category, platform, country or plan. | |
| projectId | No | Replo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies. | |
| categoryId | No | Scope to one category's subtree; ids come from the `categories` in this tool's result. With a category, `leaders` lists its top companies. | |
| workspaceId | No | Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace. |