> ## Documentation Index
> Fetch the complete documentation index at: https://www.productmetrics.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://www.productmetrics.io/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://www.productmetrics.io/docs/api/mcp.
> Every agent surface: https://www.productmetrics.io/docs/.well-known/llms-manifest.json

# check-campaign-structure skill (/docs/agent-skills/check-campaign-structure)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 839 · updated: 2026-11-17 -->
Related: [Product Metrics agent skills](/docs/agent-skills/overview.md), [Install Product Metrics skills](/docs/agent-skills/install.md), [Skills for every store platform and ad channel](/docs/agent-skills/platform-skills.md), [product-metrics: the agent skill that picks the right Product Metrics skill](/docs/agent-skills/product-metrics.md), [set-up-tracking skill](/docs/agent-skills/set-up-tracking.md), [connect-google-ads skill](/docs/agent-skills/connect-google-ads.md)

> 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](https://github.com/product-metrics/skills/blob/main/plugins/product-metrics/skills/check-campaign-structure/SKILL.md) or at [`/.well-known/agent-skills/check-campaign-structure/SKILL.md`](https://www.productmetrics.io/docs/.well-known/agent-skills/check-campaign-structure/SKILL.md).



```bash
npx 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

```text
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

| Step                           | CLI / MCP                                                                    |
| ------------------------------ | ---------------------------------------------------------------------------- |
| Segment label                  | `productmetrics feed-source-settings get` (`feed_source_settings.get`)       |
| Listing groups per asset group | MCP `get_product_targeting`                                                  |
| Segments against other labels  | MCP `compare_product_segments`                                               |
| Results per segment            | MCP `get_google_ads_report` (`level: "product_label"`)                       |
| Campaign plan results          | `productmetrics 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



* [check-product-segments skill](/docs/agent-skills/check-product-segments): what each segment holds, read only
* [set-up-product-segmentation skill](/docs/agent-skills/set-up-product-segmentation): which custom label carries the segments
* [analyse-google-ads skill](/docs/agent-skills/analyse-google-ads): account and campaign trends, read only
