A search theme is a short phrase you give a Performance Max asset group to steer it toward specific queries, similar in spirit to a keyword but used as a hint rather than a hard match rule. An AI agent can pull every search theme set on every asset group in an account with one GAQL query, which is useful for finding asset groups with no themes at all or themes that overlap confusingly across groups in the same campaign. What it cannot do honestly is show you the exact queries those themes actually triggered, because Performance Max doesn't return a query level search terms report the way a Search campaign does.
In Google Ads, a Performance Max search theme is a short phrase you attach to an asset group to steer it toward specific kinds of searches, the closest thing PMax has to a keyword even though it works as a signal rather than a hard match rule. An AI agent connected to your Google Ads account can read every search theme set on every asset group with a single query, which is useful for spotting asset groups that have none, or groups in the same campaign whose themes overlap so much they're competing for the same audience. What it can't do, and what's worth knowing before you ask it to, is tell you which actual searches those themes pulled in, because Google doesn't expose that at the query level for Performance Max.
What a search theme actually is
Google's own documentation describes search themes as phrases that tell Performance Max what to look for, similar to how a keyword works in a Search campaign, with one real difference: Google treats the theme as a strong signal, not a boundary. A campaign can still serve an asset group to a search that matches none of its themes if the system's own signals (your audience data, the landing page, the other assets) suggest it's a good fit anyway. That flexibility is the entire design of Performance Max, and it's also why themes alone don't give you the same predictability a tightly built keyword list does.
Themes live on the asset group, not the campaign, so different asset groups in the same PMax campaign can each carry their own set, pointed at different product lines, services or audiences.
Reading every search theme in an account with one query
Here's where the practical gap shows up. okaytorun's getAssetGroups tool, like most asset group reads, pulls ad strength, status and asset counts, because that's what the asset_group resource itself carries in the Google Ads API. Search themes don't live there. They're on a separate resource, asset_group_signal, attached to the asset group by id. Getting them means a direct read against that resource rather than the asset group list:
SELECT
asset_group_signal.asset_group,
asset_group_signal.search_theme.text,
campaign.id,
campaign.name
FROM asset_group_signal
WHERE asset_group_signal.search_theme.text IS NOT NULL
Through okaytorun's runGaql tool, which runs any read-only GAQL query the other tools don't cover, an agent can pull that in one call across every asset group in the account, then group the results by asset group and campaign to show you the full picture: which asset groups have themes, which don't, and which campaigns have two or more asset groups whose theme lists look nearly identical.
What that read is actually useful for
Once you have every asset group's theme list side by side, a few patterns show up fast:
- Asset groups with zero search themes. Not wrong on its own, since themes are optional, but worth a second look if that group also has a vague audience signal, because it means the group is leaning entirely on your landing pages and creative to tell Google what it's for.
- Overlapping themes across asset groups in one campaign. If "office chairs" and "ergonomic office chairs" sit on two different asset groups in the same campaign, both groups are effectively steering toward the same audience, which usually means one of them is redundant rather than genuinely incremental.
- A theme list that's grown too long. Google's guidance is to keep themes focused, generally under 25 per group. An agent can flag any asset group well past that as a candidate to trim back to its sharpest phrases.
None of this requires changing anything, and that's deliberate: search themes aren't exposed as an editable field through okaytorun's write operations today, so this read is a diagnostic step you act on inside Google Ads directly (Asset groups → the group → Search themes).
The honest limit: no query level search terms for PMax
This is the part worth saying plainly rather than letting it slide. A Search campaign gives you search_term_view, a row per actual query with its own cost, clicks and conversions, which is how an AI agent can read your account's search terms report and trace a specific keyword or negative back to the exact searches that triggered it. Performance Max has no equivalent query level resource exposed through the standard API. Google's own search term insights for PMax surface categories of queries in the Insights tab inside the UI, not an exportable, query level list that an API read could map back to a specific search theme.
That means an agent can tell you a search theme exists and looks reasonable on paper, but it can't close the loop and show you "this theme generated these 40 queries, here's what they cost." If a detail like this has moved since you're reading this, Google's help documentation is the place to check, since reporting access for PMax has expanded more than once since the campaign type launched.
Where this fits next to the rest of a PMax account
Search themes are one input into an asset group alongside its audience signal and creative. PMax Asset Groups: How AI Finds the Ones Holding You Back covers the ad strength side of the same asset group, which is the other half of this audit: one pass on creative strength, one pass on the targeting signals feeding it. Run both together through okaytorun's Google Ads MCP connector for Claude and you get a fuller picture of an asset group than either check gives you alone.
A worked example of what the combined read looks like
Say an account runs one Performance Max campaign with three asset groups: Running Shoes, Trail Shoes and Winter Boots. Pulling asset_group_signal across all three might come back looking like this once an agent flattens it into a table:
| Asset group | Search themes | Count |
|---|---|---|
| Running Shoes | running shoes, best running shoes, road running shoes | 3 |
| Trail Shoes | (none set) | 0 |
| Winter Boots | winter boots, snow boots, winter boots men, winter boots women, waterproof winter boots, insulated winter boots... (31 total) | 31 |
Three different problems, each visible the moment the data is side by side instead of buried three clicks deep in three separate asset groups. Trail Shoes has no themes at all, worth checking against its audience signal and ad strength before assuming it's fine. Winter Boots has gone well past Google's loosely focused handful, which likely means some of those 31 phrases are near duplicates diluting the signal rather than adding anything distinct. Running Shoes looks reasonable on its face. None of that conclusion came from clicking into three asset groups one at a time; it came from the agent flattening one GAQL result into a table you can actually scan.
Why this matters more as an account adds asset groups
The value of reading search themes this way scales with how many asset groups an account actually runs. A single asset group PMax campaign barely needs this: you already know what's on it because there's only one place to look. An account running five or six PMax campaigns, each with two or three asset groups split by product line or region, is a different story. Checking each one by hand means opening fifteen or more individual asset group pages, remembering what the last one said, and comparing by memory. An agent that pulls every asset_group_signal row in one query and groups them by campaign turns that into a single table, which is exactly the kind of repetitive, structured read that's worth automating even though the fix itself still happens by hand inside Google Ads.
Frequently asked questions
What is a search theme in Performance Max?
It is a short phrase, similar to a keyword, that you add to a Performance Max asset group to tell Google's system what kind of searches that group should be eligible for. Unlike a keyword, it is a signal rather than a strict match rule: Google can still serve the asset group outside the themes you list if its own signals suggest a good match.
Can an AI agent read the search themes already set on my asset groups?
Yes, with a direct GAQL query against the asset_group_signal resource, which is where search themes actually live in the Google Ads API. A tool that only reads the asset_group resource itself, the one that carries ad strength and status, won't return them, because they sit on a separate signal resource attached to the asset group.
Can an AI agent tell me which search themes are actually driving clicks?
No, not at the individual query level. Performance Max does not expose a search term view the way Search campaigns do, for privacy reasons tied to how PMax blends inventory across channels. Google's own search term insights for PMax show categories of queries in the UI, not an exportable list an API read can match back to a specific theme.
How many search themes should one asset group have?
Google's guidance is to use a focused handful, generally under 25 per asset group, grouped around one real theme rather than every variation you can think of. Piling in dozens of loosely related phrases makes the signal vague instead of specific, which defeats the point of adding themes at all.
Does every asset group need search themes?
No. Search themes are optional, and an asset group with none still runs on Google's other signals: audience signals, the page feed and the landing pages and assets themselves. Adding themes narrows and strengthens the targeting signal for that group; leaving them off just means the group leans more on everything else.