Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill google-ads-pmax-asset-group-optimizergit clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-pmax-asset-group-optimizer)<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-pmax-asset-group-optimizer"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-pmax-asset-group-optimizer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/google-ads-pmax-asset-group-optimizer"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/google-ads-pmax-asset-group-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.01919 |
| Opus 5.5 | $0.00041 | $0.00768 |
| Sonnet 5.5 | $0.00020 | $0.00384 |
| Haiku 4.5 | $0.00010 | $0.00192 |
Grade A, and why
google-ads-pmax-asset-group-optimizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Max Asset Group Optimizer
Complete guide for optimizing Performance Max asset groups — from structure and audience signals to creative testing and feed optimization.
Asset group count decision guide in references/decision-trees.md.
MCP Tool Integration
STEP 1: PMax campaign performance overview
google_ads_run_gaql(query="
SELECT campaign.name, campaign.status,
metrics.cost_micros, metrics.conversions,
metrics.cost_per_conversion, metrics.conversions_value
FROM campaign
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
AND campaign.status = 'ENABLED'
AND segments.date DURING LAST_30_DAYS
ORDER BY metrics.cost_micros DESC
")
STEP 2: Asset group performance
google_ads_run_gaql(query="
SELECT campaign.name, asset_group.name, asset_group.status,
metrics.impressions, metrics.clicks, metrics.conversions,
metrics.cost_micros, metrics.cost_per_conversion
FROM asset_group
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
AND segments.date DURING LAST_30_DAYS
ORDER BY metrics.cost_micros DESC
")
STEP 3: Search terms (v21+)
google_ads_run_gaql(query="
SELECT campaign.name, search_term_view.search_term,
metrics.impressions, metrics.clicks,
metrics.conversions, metrics.cost_micros
FROM search_term_view
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
AND segments.date DURING LAST_30_DAYS
ORDER BY metrics.cost_micros DESC
LIMIT 100
")
STEP 4: Ad network type breakdown (v22+)
google_ads_run_gaql(query="
SELECT campaign.name, segments.ad_network_type,
metrics.impressions, metrics.clicks,
metrics.conversions, metrics.cost_micros
FROM campaign
WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX'
AND segments.date DURING LAST_30_DAYS
")
Asset Group Structure
Structuring Options
| Option | Best for | Example |
|---|---|---|
| Category-based | Most common | Women's / Men's / Accessories |
| Margin-based | Profit focus | High / Standard / Clearance |
| Funnel-based | Customer journey | Prospecting / Retargeting / Cross-sell |
| Performance-based | Data-driven | Top Performers / Testing / Long Tail |
| Hybrid (recommended) | Best of all | Bestsellers + Category A/B/C + Sale |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago Changed · +6 tokens per session 936aba1458de
- 2mo ago First seen · 188 lines · 96 tokens per session scan A 0be6ff456f43
google-ads-pmax-asset-group-optimizer is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (6 stars, last pushed 14d ago), licensed MIT. It adds 102 tokens to every session and 1,919 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.
google-ads-pmax-asset-group-optimizer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| google-ads-pmax-asset-group-optimizerAd-Superpowers/ad-superpowers-plugin | Skill | 6 | 14d ago | MIT | A | 102 | Claude Code |
| ai-model-expert-1688-ecommerce-video-generation-editingwubin1836/ai-hive-agent-skills | Skill | 29 | 1mo ago | MIT | A | 330 | Codex |
| sealeap-amazon-apparel-lifecycle-adsxjli360/sealeap-amazon-ad-skills | Skill | 86 | 2mo ago | MIT | A | 167 | Codex |
| 302-ai-alternative-ai-hivewubin1836/ai-hive-agent-skills | Skill | 29 | 1mo ago | MIT | A | 229 | Codex |
| sealeap-amazon-ca-apparel-adsxjli360/sealeap-amazon-ad-skills | Skill | 86 | 2mo ago | MIT | A | 158 | Codex |
| sealeap-amazon-listing-optimizerxjli360/sealeap-amazon-ad-skills | Skill | 86 | 2mo ago | MIT | A | 147 | Codex |
| ai-hive-animation-167-e6ff654wubin1836/ai-hive-agent-skills | Skill | 29 | 1mo ago | MIT | A | 143 | Codex |