google_ads_trend_analysis
Identify cost and conversion performance trends and detect anomalous days in Google Ads campaigns using historical data analysis with optional campaign filtering.
Instructions
Analyze performance trends and detect anomalies over time.
Identifies:
Increasing/decreasing cost trends
Conversion performance trends
Anomalous days with unusual spending or performance
Provides daily performance data for visualization
Args: customer_id: Google Ads customer ID (10 digits, no hyphens) campaign_id: Optional campaign ID filter (analyzes all campaigns if not provided) lookback_days: Number of days to analyze (7-90)
Returns: Trend analysis with anomaly detection
Example: google_ads_trend_analysis( customer_id="1234567890", lookback_days=30 )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| campaign_id | No | ||
| lookback_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |