MCPOutils MCP/Clients/get_client_locations_analytics

get_client_locations_analytics

Readanalytics:read

Read analytics summed across all locations of one client, for Google, Facebook or Bing. The UI's trailing reporting-lag trim, totals and any-location connection signal are preserved. days defaults to 30 (7–90).

Paramètres
daysintegerfacultatif
source"google" | "facebook" | "bing"facultatif
clientIdstringobligatoire
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_locations_analytics",
    "arguments": {
      "clientId": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.