Given your total budget, recommends the optimal split across Google Search, PMax, Meta prospecting, Meta retargeting, and any other active channels based on your last 60-90 days of marginal ROAS and CPA by channel. Tells you where each additional dollar produces the best return. Platform: Google and Meta.
git clone https://github.com/irinabuht12-oss/marketing-skills.git--- name: channel-mix-optimizer description: Given your total budget, recommends the optimal split across Google Search, PMax, Meta prospecting, Meta retargeting, and any other active channels based on your last 60-90 days of marginal ROAS and CPA by channel. Tells you where each additional dollar produces the best return. Platform: Google and Meta. metadata: platform: Google and Meta --- # 15/ Channel Mix Optimizer — Google + Meta ## What it does Given your total budget, recommends the optimal split across Google Search, PMax, Meta prospecting, Meta retargeting, and any other active channels based on your last 60-90 days of marginal ROAS and CPA by channel. Tells you where each additional dollar produces the best return. ## How it works Claude calculates marginal efficiency for each channel — not average ROAS (which hides diminishing returns), but what your last dollar spent in each channel actually returned. It builds an efficiency curve per channel and recommends the allocation that maximizes total conversions or revenue within your budget constraint. ## Practical example You're spending $80K/month split evenly across 4 channels: Google Search ($20K), PMax ($20K), Meta prospecting ($20K), Meta retargeting ($20K). Claude's analysis shows Google Search still has headroom with marginal CPA at $34, Meta retargeting is maxed out with marginal CPA at $72 (the audience pool is exhausted), and PMax has middling marginal returns. Recommended reallocation: Google Search $32K, PMax $18K, Meta prospecting $22K, Meta retargeting $8K. Projected result: 23% more conversions at the same total spend. ## What you get back - Current allocation vs recommended allocation with dollar amounts - Marginal CPA and ROAS for each channel at current and proposed spend levels - Projected total conversion and revenue impact of the reallocation - Diminishing returns curve for each channel showing where efficiency drops off - Sensitivity analysis showing how the recommendation changes if budget increases or decreases by 20% ## When to use it - Monthly or quarterly budget allocation reviews - When total budget changes and you need to redistribute - When a new channel is added and you need to figure out how much to shift from existing channels - During planning season when building annual media plans with projected outcomes ## Data access (Ryze MCP) This skill works best with live account data. Connect the free Ryze MCP once and Claude reads your Google Ads, Meta Ads, GA4 and Search Console directly: - claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → `https://connector.get-ryze.ai/mcp` - Claude Code: `claude mcp add ryze --transport http https://connector.get-ryze.ai/mcp` - Cursor: Settings → MCP → add the same URL Setup guide: https://www.get-ryze.ai/how-to-connect-claude-to-google-meta-ads-mcp
["Gather your last 60-90 days of performance data from Google Ads, Meta Ads Manager, and any other active channels. Export reports for spend, revenue, conversions, and CPA by channel. Ensure your data includes marginal ROAS and CPA for each channel.","Open your preferred AI tool (e.g., Claude, ChatGPT) and paste the prompt template, replacing [BUSINESS_NAME], [ACTIVE_CHANNELS], [TOTAL_BUDGET], and [TARGET_CPA] with your specific values. Include any additional channels or constraints.","Run the analysis and review the recommended allocation. Pay attention to the marginal ROAS and CPA for each channel to understand where additional spend will drive the highest returns.","Implement the recommended budget split in your ad platforms (e.g., Google Ads, Meta Ads Manager). Use the marginal ROAS and CPA insights to prioritize adjustments, such as pausing underperforming campaigns or increasing budgets in high-ROAS channels.","Monitor performance weekly for the first 30 days. Use tools like Google Analytics 4 or Meta Ads Manager to track conversions and revenue. Adjust budgets in real-time if performance deviates significantly from projections. Re-run the analysis monthly to account for seasonality and market changes."]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/irinabuht12-oss/marketing-skills/tree/main/skills/channel-mix-optimizerCopy 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.
Act as a channel-mix optimizer for [BUSINESS_NAME]. Using the last 60-90 days of performance data for [ACTIVE_CHANNELS: Google Search, Google PMax, Meta Prospecting, Meta Retargeting, etc.], calculate the marginal ROAS and CPA for each channel. Recommend the optimal budget split across these channels for a total budget of $[TOTAL_BUDGET] to maximize revenue while maintaining a target CPA of $[TARGET_CPA]. Provide the recommended allocation in dollars and percentage, along with the expected marginal ROAS and CPA for each channel. Prioritize channels where the marginal ROAS is highest relative to the target CPA. Assume no budget constraints beyond the total [TOTAL_BUDGET].
Based on your last 90 days of performance data, here’s the optimal budget allocation for your $50,000 monthly ad spend to maximize revenue while staying within a target CPA of $45. The analysis assumes no diminishing returns beyond the current spend levels and prioritizes channels with the highest marginal ROAS relative to your CPA target. **Recommended Allocation:** - **Google PMax:** $22,500 (45%) – Marginal ROAS: 3.8x, Marginal CPA: $38 - **Meta Retargeting:** $12,500 (25%) – Marginal ROAS: 4.2x, Marginal CPA: $42 - **Google Search:** $7,500 (15%) – Marginal ROAS: 3.1x, Marginal CPA: $40 - **Meta Prospecting:** $5,000 (10%) – Marginal ROAS: 2.5x, Marginal CPA: $48 - **Microsoft Ads:** $2,500 (5%) – Marginal ROAS: 2.8x, Marginal CPA: $44 **Key Insights:** 1. **Google PMax** remains the highest-impact channel, delivering the best balance of scale and efficiency. Increasing its budget by $5,000 could yield an additional $19,000 in revenue at a marginal CPA of $38, which is below your target. 2. **Meta Retargeting** outperforms other Meta channels with a marginal ROAS of 4.2x. Shifting $2,500 from Meta Prospecting to Retargeting could improve overall efficiency without sacrificing volume. 3. **Google Search** and **Microsoft Ads** are secondary priorities. Their marginal ROAS is below your target, but they still contribute to revenue growth. Consider pausing underperforming keywords in Search if their CPA exceeds $50. 4. **Meta Prospecting** has the lowest marginal ROAS (2.5x) and highest marginal CPA ($48). Reducing its budget by $2,500 and reallocating to Retargeting could improve overall performance. **Next Steps:** - Implement the recommended allocation in Google Ads and Meta Ads Manager. - Monitor marginal ROAS and CPA weekly for the next 30 days. Adjust budgets in real-time if performance deviates by more than 10% from projections. - Re-run this analysis monthly to account for seasonality and market changes. Use tools like Google Analytics 4 and Meta Ads Manager to track conversions and revenue accurately.
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan