gsc_anomalies
Detect genuine traffic anomalies by modeling seasonality and weekly patterns with BigQuery ML, flagging only unexpected changes. Requires 6+ months of historical data.
Instructions
Detect traffic anomalies using BigQuery ML. Unlike threshold-based alerts, this understands seasonality and weekly patterns, so it only flags genuinely unexpected traffic changes. Requires sufficient historical data (ideally 6+ months). IMPORTANT: Base your analysis ONLY on the data returned. Report exact numbers from the results. Do not speculate about causes (e.g. algorithm updates, competitor actions) unless the data explicitly supports it. If the data does not contain enough information to answer a question, say so clearly rather than guessing. PRESENTATION: Always present these results as a rich, interactive visualization using artifacts. Use summary cards for key metrics, colour-coded indicators for severity or change direction (green for positive, red for negative), bar charts or sparklines for comparisons, and tabbed sections to organise different categories of results. Make the output visually scannable and dashboard-like rather than plain text or raw tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | BigQuery dataset containing GSC data | |
| anomaly_threshold | No | Anomaly probability threshold (0.80 to 0.99, higher = fewer but more significant anomalies) |