Skip to content
Available skills

check-campaign-structure skill

The read-only skill an agent uses to check that Shopping and Performance Max campaigns are built on your product segments, and to read the campaign plan results.

check-campaign-structure checks how your Shopping and Performance Max campaigns use the segment label, and what happened since you applied the campaign plan. It reads listing group filters, results per segment and per campaign, and the plan results, then gives you the exact steps to change in Google Ads. It changes nothing itself.

Use it for

Campaigns filtered on the segments, catch-all asset groups, other labels, plan results.

Works through

The MCP tools get_product_targeting and compare_product_segments, and the CLI for plan results.

You get

A verdict per campaign and the steps to take in Google Ads.

The skill

Full file: on GitHub or at /.well-known/agent-skills/check-campaign-structure/SKILL.md.

pnpm dlx skills add product-metrics/skills \
  --skill check-campaign-structure

When an agent uses it

  • “Is my Performance Max campaign filtered on your segments?”
  • “Are my campaigns built on ProfitMetrics labels or on yours?”
  • “What happened since I applied the campaign plan?”

Example conversation

You:    Is PMax Shoes built on the segments?
Agent:  get_product_targeting (campaign_name_contains: "Shoes")
        Asset group "All products" filters on custom_label_3 (your own
        margin bands), not on custom_label_0, where the segments go.
        An "everything else" node serves Drainers next to Stars.

        In Google Ads: split the asset group's listing groups on
        custom_label_0, so you can increase priority on Stars and
        lower it on Drainers. Tell me when it's done and I'll check.

Example data.

Commands and tools it uses

StepCLI / MCP
Segment labelproductmetrics feed-source-settings get (feed_source_settings.get)
Listing groups per asset groupMCP get_product_targeting
Segments against other labelsMCP compare_product_segments
Results per segmentMCP get_google_ads_report (level: "product_label")
Campaign plan resultsproductmetrics google-ads get-plan-results (google_ads.get_plan_results)

In the app, no API: the campaign plan itself is on the Campaign plan page. In Google Ads, your step: every change to listing groups, asset groups, budgets and targets.

Where next