Track advertising spend pacing in real time across connected ad platforms (Google Ads, Meta, LinkedIn, TikTok) — produces a budget dashboard with daily burn rates, end-of-period projections, overspend/underspend alerts, and dollar-specific reallocation recommendations backed by CPA/ROAS context. Monitors and recommends only; it never edits platform budgets. Triggers on \"/digital-marketing-pro:budget-tracker\", \"are we overspending this month\", \"how is our ad budget pacing\", \"track spend ac
git clone https://github.com/indranilbanerjee/digital-marketing-pro.git--- name: budget-tracker description: "Track advertising spend pacing in real time across connected ad platforms (Google Ads, Meta, LinkedIn, TikTok) — produces a budget dashboard with daily burn rates, end-of-period projections, overspend/underspend alerts, and dollar-specific reallocation recommendations backed by CPA/ROAS context. Monitors and recommends only; it never edits platform budgets. Triggers on \"/digital-marketing-pro:budget-tracker\", \"are we overspending this month\", \"how is our ad budget pacing\", \"track spend across platforms\", \"will we blow through the budget cap\". Reads budget targets from the brand profile, runs scripts/ad-budget-pacer.py, and saves snapshots for trend history; pairs with /digital-marketing-pro:budget-optimizer." --- # /digital-marketing-pro:budget-tracker ## Purpose Track advertising budget in real-time across all connected ad platforms. Analyze spend pacing against targets, project end-of-period totals, flag overspend risks and underspend inefficiencies, calculate daily burn rates, and recommend budget reallocations to maximize ROI within the remaining budget window. Designed for media buyers and marketing managers who need a single view of where money is going and whether it is being spent effectively. ## Input Required The user must provide (or will be prompted for): - **Budget period**: This month, this quarter, or a custom date range (e.g., "Feb 1 - Mar 31"). Determines the pacing denominator and projection horizon - **Ad platforms to include**: All connected platforms or specific ones (e.g., "Google Ads and Meta only"). Defaults to all connected ad MCPs - **Budget targets per platform** (optional): Specific spend targets per platform for the period. If omitted, targets are pulled from `profile.json` budget_range and any saved platform allocations - **Total budget** (optional): Overall budget cap for the period. If omitted, pulled from `profile.json` budget_range - **Alert thresholds** (optional): Custom thresholds for overpace (default: >110% of expected pacing) and underspend (default: <70% of expected pacing) flags - **Include efficiency metrics** (optional): Whether to pull CPA, ROAS, and conversion data alongside spend. Defaults to yes ## Process 1. **Load brand context**: Read `~/.claude-marketing/brands/_active-brand.json` for the active slug, then load `~/.claude-marketing/brands/{slug}/profile.json`. Apply brand voice, compliance rules for target markets (`skills/context-engine/compliance-rules.md`), and industry context. Also check for guidelines at `~/.claude-marketing/brands/{slug}/guidelines/_manifest.json` — if present, load restrictions. Check for agency SOPs at `~/.claude-marketing/sops/`. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults. 2. **Extract budget targets**: Pull `budget_range` from `profile.json` and any saved per-platform allocations from previous budget-optimizer or media-plan runs. If user provided explicit targets, use those as overrides. Calculate the target daily spend rate for each platform (budget / days in period). 3. **Pull spend data from connected ad MCPs**: Query each connected advertising platform (google-ads, meta-marketing, linkedin-marketing, tiktok-ads) for current-period spend — total spend to date, daily spend breakdown, campaign-level spend distribution, and cost metrics (CPC, CPM, CPA per campaign). 4. **Calculate pacing per platform**: Execute `python "${CLAUDE_PLUGIN_ROOT}/scripts/ad-budget-pacer.py" --budget {total} --period-days {N} --days-elapsed {N} --spend-to-date {amount}` with spend data and budget targets to compute days elapsed/remaining, budget consumed vs expected pacing percentage, pacing ratio (actual / expected), daily burn rate (7-day average), and burn rate trend (accelerating/steady/decelerating). 5. **Project end-of-period spend**: Extrapolate current daily burn rate to end of period for each platform — produce best-case (lowest recent daily spend), expected (7-day average), and worst-case (highest recent daily spend) projections. 6. **Compare to budget targets**: For each platform, calculate the gap between projected end-of-period spend and the budget target — express as both dollar amount and percentage variance. 7. **Flag pacing issues**: Generate alerts — overpace critical (>120%, immediate action: reduce bids, pause low-performers, set daily caps), overpace warning (110-120%, proactive adjustments this week), underspend warning (<70%, increase bids or expand targeting or reallocate), underspend info (70-85%, monitor). 8. **Pull efficiency metrics**: For each platform, retrieve CPA, ROAS, conversion volume, and cost per conversion so reallocation decisions are performance-informed, not just pacing-based. 9. **Recommend reallocations**: Execute `python "${CLAUDE_PLUGIN_ROOT}/scripts/budget-optimizer.py"` with current spend efficiency data to suggest specific dollar-amount shifts from underspending or low-efficiency platforms to high-performing ones with room to scale. Include rationale for each recommended move. 10. **Save budget snapshot**: Persist the current pacing snapshot via `python "${CLAUDE_PLUGIN_ROOT}/scripts/performance-monitor.py" --brand {slug} --action save-snapshot --data '{...pacing metrics...}'` for historical tracking, trend analysis, and comparison in future budget-tracker runs. ## Output A structured budget dashboard containing: - **Budget summary**: Total budget for the period, total spent to date, total remaining, overall pacing percentage, days elapsed, days remaining, projected end-of-period total, and overall health status (on track, overpacing, underpacing) - **Per-platform spend table**: Platform name, budget target, actual spend to date, pacing percentage, daily burn rate (7-day avg), projected end-of-period spend, variance from target ($ and %), and status flag (green/yellow/red) - **Pacing visualization data**: Daily spend trajectory vs ideal linear pacing for each platform — highlights where spend is accelerating, decelerating, or tracking evenly across the period - **Overspend/underspend alerts**: Priority-ordered list of pacing issues with severity, platform, current pacing %, projected variance, and specific recommended corrective action - **Reallocation recommendations**: Specific dollar-amount shifts between platforms with rationale — e.g., "Move $2,000 from LinkedIn (62% pacing, $85 CPA) to Google Ads (98% pacing, $22 CPA, room to scale)" - **Efficiency context**: Per-platform CPA, ROAS, conversion volume, and cost trend alongside spend data so budget decisions account for performance quality, not just pacing - **Daily burn rate breakdown**: Current daily spend per platform vs target daily spend, with 7-day trend direction and acceleration/deceleration indicator - **Projection scenarios**: Best-case, expected, and worst-case end-of-period spend projections per platform and in aggregate, with confidence ranges - **Executive summary**: 2-3 sentence overview — total budget health, biggest risk or opportunity, and the single most important action to take now ## Agents Used - **performance-monitor-agent** — Spend data aggregation from connected ad MCPs, pacing calculations, projection modeling, snapshot persistence, and historical spend trend analysis - **media-buyer** — Budget optimization strategy, reallocation recommendations, platform-specific spend tactics (bid strategies, daily caps, audience expansion), and auction dynamics expertise
[{"step":"Gather your data sources. Export spend reports from each platform (Meta Ads Manager, Google Ads, TikTok Ads, etc.) in CSV or Excel format. Ensure the data includes daily spend, budget allocated, and performance metrics like ROAS or conversions.","tip":"Use platform-specific APIs or tools like Google Sheets with the IMPORTDATA function to automate data collection. For example, use Meta’s Ads Insights API to pull daily spend directly into a spreadsheet."},{"step":"Input the data into your tracking system. If using a spreadsheet, create columns for Date, Platform, Daily Spend, Budget Allocated, and Performance Metrics. For AI tools, upload the combined CSV file or paste the data into the prompt template.","tip":"Standardize currency and date formats across platforms to avoid errors. For example, ensure all spend is in USD and dates are in MM/DD/YYYY format."},{"step":"Run the prompt template in your AI tool (e.g., Claude, ChatGPT, or a custom script). Replace the placeholders with your campaign name, platforms, budget, and time period. Review the AI’s output for overspend alerts and recommendations.","tip":"For real-time tracking, set up automated scripts to run this analysis daily. Tools like Zapier or Make (Integromat) can trigger the AI tool to analyze new data as it’s added to your spreadsheet."},{"step":"Take action based on the AI’s recommendations. Adjust daily caps, pause underperforming campaigns, or reallocate budget as suggested. Document changes in your tracking system for future reference.","tip":"Share the AI’s output with your team (e.g., via Slack or email) to ensure everyone is aligned on budget adjustments. Use the daily spend breakdown to identify trends, such as spikes in spend on certain days."},{"step":"Monitor and iterate. Re-run the analysis weekly or bi-weekly to ensure the campaign stays on track. Use the AI’s insights to refine your reallocation strategy over time.","tip":"Set up alerts in your AI tool or spreadsheet to notify you if spend exceeds thresholds. For example, use Google Sheets’ conditional formatting to highlight overspend days in red."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/indranilbanerjee/digital-marketing-pro/tree/main/skills/budget-trackerCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Track the budget pacing for [CAMPAIGN_NAME] across [PLATFORM_1], [PLATFORM_2], and [PLATFORM_3]. Compare actual spend against the allocated budget of $[BUDGET_AMOUNT] with a daily cap of $[DAILY_CAP]. Flag any channels exceeding their daily or cumulative targets. Provide a reallocation recommendation to optimize underperforming channels while staying within the total budget. Include a breakdown of spend by day and channel for the last [TIME_PERIOD].
Here’s the budget tracking analysis for the Q3 ‘Back-to-School’ campaign across Meta, Google Ads, and TikTok, with a total budget of $150,000 and a daily cap of $5,000. **Current Status (as of September 15, 2024):** - **Meta (Instagram & Facebook):** Spent $62,000 (41.3% of budget) at a pace of $4,133/day. Daily spend has exceeded the $5,000 cap on 3 days this month (Sept 5, 9, and 12), totaling $1,500 in overspend. Performance is strong with a 3.2% ROAS, but pacing is a concern. - **Google Ads:** Spent $48,000 (32% of budget) at a pace of $3,200/day. No overspend, but ROAS is lagging at 2.1%. Daily spend has been consistent but underutilized. - **TikTok:** Spent $30,000 (20% of budget) at a pace of $2,000/day. No overspend, but engagement metrics are below target (avg. watch time 12s vs. 18s goal). **Overspend Alerts:** - Meta has overspent by $1,500 this month due to aggressive bidding on high-performing audiences. - No other platforms have exceeded their daily caps. **Reallocation Recommendations:** 1. **Reduce Meta’s daily cap to $4,500** (saving $500/day) to prevent further overspend while maintaining strong performance. Reallocate the $500/day saved to Google Ads to test new high-intent keywords, which could improve ROAS. 2. **Pause TikTok’s underperforming ad sets** (those with <10s avg. watch time) and reallocate 20% of the budget ($1,000/day) to Google Ads for retargeting campaigns. This could boost ROAS by targeting users who’ve already shown interest. 3. **Set up real-time alerts** for Meta’s daily spend exceeding $4,500 to avoid future overspend. **Daily Spend Breakdown (Last 30 Days):** | Date | Meta | Google | TikTok | Total | |------------|--------|--------|--------|--------| | Sept 1 | $4,800 | $3,200 | $2,000 | $10,000| | Sept 5 | $5,200 | $3,100 | $1,700 | $10,000| | ... | ... | ... | ... | ... | | Sept 15 | $4,900 | $3,300 | $1,800 | $10,000| **Projected Outcome:** With these adjustments, the campaign is projected to stay within the $150,000 budget while improving overall ROAS to 2.8 by the end of September. Google Ads’ ROAS is expected to increase to 2.6, and TikTok’s engagement metrics should stabilize with the reallocation of budget to better-performing creatives.
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan