# Google Ads Search Term Audit: Wasted Spend Report (`zaiq/search-term-waste-audit`) Actor

Review your own search-term export against explicit irrelevant categories and thresholds. Protect conversions and allowed terms, inspect evidence, and compare named snapshots. No account connection or automatic changes.

- **URL**: https://apify.com/zaiq/search-term-waste-audit.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $800.00 / 1,000 campaign audits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Ads Search Term Review Report

![Google Ads Search Term Review Report: Review your own search-term export against explicit irrelevant categories and thresholds](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/hero-search-term-waste-audit.jpg)

Review your own search-term export against explicit categories and thresholds. Campaign-wide term groups show reported conversion evidence for human review.

The default is a free fictional synthetic demonstration. Paste CSV, TSV or JSON or select your own accessible dataset. No ad account is connected or changed.

### What you get

| Field | What it holds |
|---|---|
| Campaign audit | Visible search-term spend, impressions, clicks and reported conversions. Up to 100 grouped term excerpts retain source row numbers and per-row spend, clicks and conversion evidence; ad-group and match-type hashes are not anonymisation. |
| Review protection | Rows with equivalent terms across ad groups are grouped within each campaign. Converting or unknown-conversion terms, protected phrases, match-type conflicts and terms below your thresholds are preserved. |
| Comparisons | Optional named aggregate snapshots compare compatible rules and scopes. |
| SUMMARY | Run status, audit-event counts, input size and notes. |

### What people use it for

- **Agency reviews:** Sort buyer-defined irrelevant phrases by observed spend for human review.
- **Recurring checks:** Compare compatible snapshots from successive reporting periods.

### How to use it

1. Run the fictional demo or choose your own CSV, TSV, JSON text or accessible dataset.
2. For buyer data supply scope, period, currency, explicit categories, protected phrases and review thresholds.
3. Check each group, incomplete conversions, attribution delay, sample size and match behaviour. No negatives are generated or applied.
4. Select an existing private dataset with the dataset picker (READ), and select an existing private snapshot store with its picker (READ and WRITE) when comparing or saving snapshots. Legacy dataset ID/name and snapshot store name inputs remain for environments where access is already granted; they do not themselves grant limited-permission access. Do not combine picker and legacy fields for the same resource.

### Input

| Field | Example | Notes |
|---|---|---|
| Mode | Synthetic free demo | The default uses fictional data. |
| Data | CSV, TSV or JSON | Default labels, ignoring case and treating spaces as underscores: campaign; search_term or Search term; spend or Cost; impressions or Impr.; clicks; conversions; optional id, ad_group or Ad group, match_type or Match type. Conversions may be blank or absent and are then unknown. A UTF-8 BOM is accepted. |
| Column mapping | Optional JSON object | Map field keys campaign, search_term, spend, impressions, clicks, conversions, ad_group, match_type or id to source headers, for example {"search_term":"Query","spend":"Amount","impressions":"Views"}. Ambiguous aliases require an explicit mapping. A column cannot serve two fields. Cost must be in currency units; cost_micros is not supported. |
| Rules | Explicit phrase categories | Whole-word phrase matches; not semantic intent. |
| Snapshots | Private store and unique name | Optional; no raw terms saved in snapshots. |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "recordType": "campaign-audit",
  "status": "synthetic_demo",
  "currency": "USD",
  "periodStart": "2026-09-01",
  "periodEnd": "2026-09-30",
  "visibleSpend": 86.7,
  "candidateCount": 1,
  "evidence": [
    {
      "searchTermExcerpt": "free tutorial",
      "spend": 47.2,
      "clicks": 24,
      "conversions": 0,
      "status": "candidate_for_review",
      "inputRows": [
        1
      ],
      "dataOrigin": "fictional_synthetic_demo",
      "suggestion": null
    }
  ]
}
```

Every example value is fictional and synthetic, not a buyer run. SUMMARY records Actor audit events; the platform start charge is separate.

### Pricing

- **$1 per completed campaign audit** using buyer data. Invalid inputs and unsuccessful campaigns do not incur an audit event.
- The fictional demo has no audit event charge. Apify also charges an Actor start fee of $0.00005 per GB of run memory, rounded up with a minimum of one event.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| One campaign, default memory | $1.00005 including one start event |
| Two campaigns, default memory | $2.00005 including one start event |
| Synthetic demo, default memory | $0.00005 start event only |

Set a maximum cost per run. The platform start fee is separate from campaign audit events. Verify actual charges and caps in your account.

### Tips

- Use a stable non-sensitive scope label and consistent rules for snapshots.
- Check conversion delays, match types, sample size and protected phrases before acting.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/search-term-waste-audit").call(run_input={"mode": "demo"})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/search-term-waste-audit').call({"mode": "demo"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~search-term-waste-audit/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"mode": "demo"}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "review my search-term export using my explicit categories". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Metrics must be plain unsigned decimal numbers matching (0|\[1-9]\[0-9]\*)(.\[0-9]+)?, such as 0, 0.5 or 1234.50; surrounding whitespace is allowed. No leading zeroes, comma, currency symbol, exponent, sign, or thousands separator. Impressions and clicks must be whole-valued. Exports with other locale formats must be converted by the buyer; a real Google Ads export has not been verified.
- Visible search-term spend is not total account spend; zero conversions does not prove waste or savings. Results are review prompts only, never negative recommendations.
- Up to 20,000 rows, 100 campaigns and 8 MB of input. Reports include at most 100 grouped term excerpts; counts include all groups.
- Campaign-wide grouping combines ad groups. Punctuation and case variants are conservatively grouped. It cannot establish conversion attribution, match semantics or account-wide safety.
- Terms containing obvious contact details, URLs, markup or formula prefixes are redacted. Automated redaction is incomplete: names, business identifiers, bare domains and other sensitive data can appear. Remove sensitive data before uploading.
- The input remains in your run storage; output can contain search terms, category labels and aggregate data. Access controls, exports, integrations and sharing are your responsibility. Hashes are not anonymisation.
- Snapshot names are reserved before delivery. Concurrent writers are last-writer-wins, not atomic; choose a unique name per run.
- No website fetching, ad account login, model or external data service is used. Customer-owned Apify storage is used for input, output and optional snapshots.
- Comparisons require the same resolved column mapping as well as the same review scope and rules. Snapshots created by earlier grouping versions are incompatible.
- If delivery or billing cannot be reconciled after an interruption, the run stops paid work and leaves existing results, charges and snapshots for review. Check SUMMARY and the dataset; this is separate from the spending limit.

### FAQ

**Does this change my account?**

No. It does not connect to an ad account.

**Are candidates proven waste?**

No. Human review and conversion timing are essential.

**Are sample results real?**

No. The default is a fictional demonstration.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: search term review, negative keyword review, paid search audit.

# Actor input Schema

## `mode` (type: `string`):

Demo uses fictional rows and has no audit event charge. Choose text or dataset to review your data.

## `data` (type: `string`):

Paste CSV, TSV or a JSON array, up to 8 MB / 20,000 rows. Supported default labels: campaign; search_term or Search term; spend or Cost; impressions or Impr.; clicks; conversions; optional id, ad_group, match_type. Use column mapping for other labels. Empty or absent conversions are unknown. Use plain non-negative numbers with a dot decimal, no commas or currency symbols. Numbers must match (0|\[1-9]\[0-9]\*)(.\[0-9]+)? (no leading zeroes); clicks and impressions must be whole-valued.

## `datasetId` (type: `string`):

Existing customer-owned dataset ID or name accessible to the run, using letters, digits, hyphens or underscores. No URLs or paths. Up to 20,000 rows and 8 MB. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `scope` (type: `string`):

A stable non-sensitive label identifying the same account, campaign selection and report scope across snapshots. Do not use a customer name.

## `offerContext` (type: `string`):

Describe the offer for your reviewer. The Actor does not infer intent from this text or output it.

## `irrelevantCategories` (type: `array`):

Array of objects: {"label":"category label", "terms":\["explicit phrase"]}. Literal whole-word phrase matching, not semantic analysis. Use generic non-sensitive labels.

## `protectedTerms` (type: `array`):

Literal phrases protect related broader and narrower terms for review. Remove identifying information.

## `exactNegatives` (type: `array`):

Existing exact negative phrases, without brackets. Exact text matches are marked as already listed, not proposed again.

## `minSpend` (type: `number`):

Minimum total spend for a canonical term across all rows in one campaign. You choose this review threshold.

## `minClicks` (type: `integer`):

Minimum total clicks for a canonical term across all rows in one campaign. You choose this review threshold.

## `currency` (type: `string`):

One ISO-style three-letter currency code for all rows, for example USD.

## `periodStart` (type: `string`):

Inclusive start date YYYY-MM-DD for the supplied export.

## `periodEnd` (type: `string`):

Inclusive end date YYYY-MM-DD. Your attribution window and reporting delay may extend beyond this period.

## `attributionNote` (type: `string`):

Describe your attribution window or known conversion delays. This is private context and is not echoed.

## `snapshotStore` (type: `string`):

Optional private named key-value store for aggregate snapshots. Names must contain only letters, numbers, hyphen and underscore. Snapshot contents never include raw terms. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `snapshotName` (type: `string`):

Unique name per campaign; reserved before delivery and not reused by another run. Simultaneous writers are last-writer-wins; use unique names.

## `compareTo` (type: `string`):

Optional previous snapshot name in the same store. Comparisons require the same scope, currency, campaign and review rules; periods are displayed.

## `datasetByName` (type: `boolean`):

Turn on if the dataset field contains a name rather than an ID. The dataset must be accessible to this run.

## `columnMapping` (type: `object`):

Map supported field keys to your exact source headers, e.g. {"search_term":"Query", "spend":"Amount", "impressions":"Views"}. Keys: campaign, search_term, spend, impressions, clicks, conversions, ad_group, match_type, id. Map cost only in currency units, never micros. Duplicate mappings and ambiguous aliases are rejected; blanks or absent conversions are unknown. The resolved mapping is part of snapshot compatibility.

## `dataset` (type: `string`):

Select an existing buyer dataset; choose dataset mode and leave the legacy dataset ID/name field empty.

## `snapshotStoreResource` (type: `string`):

Select an existing private store for aggregate snapshot reads and writes. Leave the legacy store name empty.

## Actor input object example

```json
{
  "mode": "demo",
  "minSpend": 0,
  "minClicks": 0,
  "datasetByName": false
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "demo"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/search-term-waste-audit").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "mode": "demo" }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/search-term-waste-audit").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "demo"
}' |
apify call zaiq/search-term-waste-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/search-term-waste-audit"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/IPU0biO5J6MwIQHBR/builds/XL49a9QWYRpsKG1s4/openapi.json
