- Fetch campaign metrics for 1d/3d/7d windows at run start (2 extra API calls total) - Pass spend_3d/leads_3d/cpl_3d and spend_7d/leads_7d/cpl_7d to Claude decide() - DECIDE_SYSTEM: decisions based on cpl_3d (primary) vs cpl_7d (trend direction) - PAUSE rule now uses leads_3d==0 + spend_3d >= 3x max_cpl threshold - Adset and ad analysis now use 3-day aggregated data (get_period_*_metrics) - Add get_period_campaign_metrics/adset/ad methods to MetaAdsClient - Print shows 1d/3d/7d CPL and leads per campaign for easy trend reading - UNIT_SYSTEM and AD_SYSTEM note data covers last 3 days Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Python
99.8%
Shell
0.2%