How the shop did in Google search
search_performanceThe shop’s own results in Google search, from its Google Search Console: clicks, impressions, click-through rate and average position, grouped by one of search (query), page, country, device or day. For whole days; by default the last 28 days Google has settled figures for (the newest 3 days are not in yet). page and query narrow to rows containing those words. It needs the merchant to have connected the search data in the admin; when it is not, the answer says why and what the person does. Searches and page addresses come as { untrusted_text }. The result states what each figure means: a position is an average, and Google leaves out rare searches.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dimension": "<dimension>"
},
"name": "search_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Only pages whose address contains this. | |
| limit | No | Rows, most clicks first. Default 25. | |
| query | No | Only searches containing these words. | |
| to_day | No | Last day, included. Default: 3 days ago, the newest settled day. | |
| site_id | No | The site; default the main consumer site. | |
| from_day | No | First day, YYYY-MM-DD. Default: 28 days ending at to_day. | |
| dimension | Yes | What each row is: a search, a page, a country, a device or a day. | |
| merchant_id | No | Shop id; optional with one shop (list_shops). |