# Ads Spend Signals - Who Is Advertising on Google Ads ? (`upadhyay.labs/ads-spend-signals`) Actor

Find out which companies are advertising on Google Ads right now. Paste company websites and get each verified advertiser from the Google Ads Transparency Center: active ads, new ads, formats, countries and a 0-100 ad activity score. A B2B buying signal, not a raw ad dump.

- **URL**: https://apify.com/upadhyay.labs/ads-spend-signals.md
- **Developed by:** [Upadhyay Labs](https://apify.com/upadhyay.labs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.70 / 1,000 company ad signals

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

### Company Ad Spend Signals

**Find out which companies are advertising on Google right now.** Paste a list of company websites. For each company, Ad Spend Signals finds its **advertiser account in the [Google Ads Transparency Center](https://adstransparency.google.com/)**, checks that the account really belongs to that company, and returns one row with **active ads, new ads, ad formats, countries and a 0–100 ad activity score** with plain-English reasons.

A company that is buying ads has budget and is in growth mode. That makes ad activity one of the clearest **B2B buying signals**: for sales teams prospecting, for marketing and PPC agencies looking for clients, and for anyone enriching a company list in Clay, n8n or Make.

```
ramp.com       → score 81 · high · 900 active ads · 800 shown in the last 7 days · text, image and video
semrush.com    → score 83 · high · 2,000 active ads · agency "Delve Partners" kept out of the numbers
your-lead.com  → no advertiser found (status row explains why)
```

- 🏢 **Company-first.** A list of companies in, one signal row per company out. Not a dump of raw ads for one keyword.
- ✅ **The right advertiser, or none.** Every match comes with evidence and a confidence level. Agencies and resellers that advertise a company's website are listed separately and never counted as the company's ads.
- 📊 **0–100 ad activity score.** Volume, recency, new-ad velocity, formats and buying intent, every point explained.
- 🔁 **Monitor mode.** Schedule it weekly and get only the companies with new ads since last time.
- 🌍 **Country mix.** See where a company's newest ads run, plus EU impression figures.

### What does Ad Spend Signals do?

Google publishes every ad shown on Search, YouTube, Display, Shopping, Maps and Play in its public **Ads Transparency Center**. Anyone can browse it one advertiser at a time. Ad Spend Signals turns it into an **API for company advertising activity**: give it hundreds or thousands of companies, and it answers "is this company advertising, how much, and what changed?" for each one.

For every company you give it, the Actor:

1. **Finds the advertiser account.** From a website, it looks at every ad that sends people to that domain and groups the ads by advertiser. From a company name, it uses Google's own search suggestions and the company's domain.
2. **Checks it's the right company.** An account is attached only with evidence: its name matches the company **and** its ads link to the company's website, or it clearly owns that website's ads. See [How accurate is the advertiser match?](#how-accurate-is-the-advertiser-match)
3. **Reads the ads** in your window and countries: active ads, ads shown in the last 7 days, all-time ads, formats, first and last seen, new ads and, optionally, where the newest ads ran.
4. **Scores the company** from 0 to 100, with a band (`high`, `medium`, `low`, `none`) and the reasons behind it.

### Why use Ad Spend Signals?

- **Sales and SDR teams:** put the accounts that are spending on growth at the top of your list. A company that started 20 new ads this week has a live budget and a team that is busy shipping campaigns.
- **Marketing, PPC and creative agencies:** find active advertisers, and the ones that **just started**, in your target market. Sort by score, filter by country, then pitch with their own ads in hand.
- **RevOps and data teams (Clay, n8n, Make, Zapier):** add "is advertising" and an activity score as columns to any company list. Every row has a clean `company.domain`, so it joins with your CRM and with other Actors.
- **Competitive and market research:** see how hard a competitor is pushing, in which formats and countries, and when a new campaign starts.

**How it compares with typical ad library scrapers:**

| | Typical ad library scraper | Ad Spend Signals |
| --- | --- | --- |
| Input | One keyword, page or advertiser | A list of companies (websites or names), or another Actor's dataset |
| Output | Every raw ad | One row per company with a score, plus ad rows if you want them |
| Advertiser matching | Whatever the search returns, including agencies and affiliates | Verified match with evidence and a confidence level; strangers listed separately |
| "What's new" | Re-scrape and compare yourself | Monitor mode returns only new ads |

Because it runs on Apify you also get **scheduling**, a **REST API**, **webhooks**, **residential proxy rotation**, run monitoring, and integrations with **Clay, n8n, Make, Zapier, Google Sheets and Airtable**.

### What data can Ad Spend Signals extract?

**Company rows** (one per company, the default):

| Field | Description | Example |
| --- | --- | --- |
| `company.name`, `company.domain` | The company and its clean website domain | Ramp Business Corporation, ramp.com |
| `match.confidence` | How sure we are the advertiser is the company | high |
| `match.accounts[]` | The advertiser account(s): ID, name, evidence, link | AR1190…, "landing-domain", "name-exact" |
| `ads.activeAds`, `ads.activeAdsRange` | Ads shown in your window (default 30 days) | 900, \[900, 1000] |
| `ads.adsLast7d` | Ads shown in the last 7 days | 800 |
| `ads.totalAdsRange` | All ads ever shown | \[3000, 4000] |
| `ads.newAds` | Ads that first appeared in the last 7 days (among the ads read) | 4 |
| `ads.newAdsSinceLastRun`, `ads.stoppedAdsSinceLastRun` | Monitor mode: what changed since the last run | 12, 3 |
| `ads.firstSeen`, `ads.lastSeen`, `ads.daysSinceLastSeen` | Activity dates | 2022-04-21, 2026-11-12, 0 |
| `ads.formats` | Active ads per format | `{"text": 500, "image": 100, "video": 100}` |
| `ads.countryMix` | Countries where the newest ads ran | `{"US": 2, "CA": 1}` |
| `ads.euImpressionsSampled` | EU "times shown" figure for the sampled ads | 1000 |
| `signal.score`, `signal.strength`, `signal.reasons[]` | The ad activity score and why | 81, high, "800 ads shown in the last 7 days" |
| `otherAdvertisers[]` | Agencies or resellers that advertise the same website | Delve Partners Inc (18 ads) |

**Ad rows** (optional, one per ad): `adId`, `advertiserName`, `format`, `firstShown`, `lastShown`, `daysActive`, `isActive`, `isNewSinceLastRun`, `countries`, `previewUrl`, `adUrl`, plus the company and match confidence.

**Status rows**, so you know what happened to every input: `no-advertiser-found`, `invalid-input` and `fetch-failed`, each with a plain explanation.

#### What the public data can and can't tell you

- **"How much" means how many ads, how recent and how fast it grows.** Google doesn't publish what advertisers pay, so **no tool can give you dollar spend** for commercial Google ads. Ad volume and velocity are the reliable proxy.
- **Counts are ranges.** Google publishes "900–1,000", not 937. We show the range and score on its lower bound. Below about 100 the count is exact.
- **Impressions are EU-only.** Google publishes "times shown" only for ads delivered in the EU, so `euImpressionsSampled` is empty for companies that don't advertise there.
- **No ad copy or landing URLs from Google.** You get the creative preview, format, dates and a link to each ad.
- **`firstSeen` covers the ads we read**, not necessarily the account's first-ever ad.

### How to find companies that are advertising on Google

1. Open the Actor and paste your companies into **Companies**, one per line: `ramp.com`, `Gong, gong.io` or `Palo Alto Networks`. Websites give the most accurate matches. You can also pick another Actor's results in **Companies from a dataset**.
2. Optional: choose **Countries** (US, GB, DE…) and **Ad formats**, and set how many days count as **active** (default 30).
3. Choose **Output**: *Companies* (default), *Ads* or *Both*.
4. Click **Start**. Results appear in the **Companies** view of the Output tab.
5. Sort by `signal.score`, or filter `signal.strength = high`.
6. Optional: turn on **Monitor mode** and add a weekly **Schedule** to get only what's new.

### Pricing

Ad Spend Signals is **pay per event**, not pay per compute unit, so a slow run never costs you more than a fast one. You're charged only when a row actually lands in your dataset:

Free, always: `invalid-input`, `no-advertiser-found` and `fetch-failed` status rows, and the automatic `apify-actor-start` event. Nothing is charged before a row is delivered, and the run stops cleanly the moment your spending limit would be exceeded — see the **Pricing** tab on this page for the current price of each event and any volume discount.

### Input

See the **Input** tab for every option. The ones that matter most:

| Field | What it does |
| --- | --- |
| `companies` | Websites (`ramp.com`), names (`Palo Alto Networks`) or `Name, domain` lines |
| `sourceDataset`, `sourceDatasetField` | Read companies from another Actor's dataset (the field is detected automatically) |
| `countries` | Only count ads shown in these countries |
| `formats` | Only text, image or video ads |
| `activeWithinDays` / `newAdsWithinDays` | What counts as active (default 30 days) and new (default 7 days) |
| `minActiveAds` | Skip companies with fewer active ads |
| `minConfidence` | `medium` (default) or `high` (strictest) |
| `outputMode` | `companies`, `ads` or `both` |
| `monitorMode`, `monitorKey` | Report only what's new since the last run |
| `detailSample` | How many of each company's newest ads to check for countries (default 3, 0 = off) |
| `proxyConfiguration` | Apify residential proxy, on by default |

Example input:

```json
{
    "companies": ["ramp.com", "gong.io"],
    "countries": ["US"],
    "activeWithinDays": 30,
    "outputMode": "companies"
}
```

### Output

You can download the dataset in various formats such as **JSON, HTML, CSV or Excel**, or read it through the API. The Output tab has three views: **Companies**, **Ads** and **Not matched**.

#### Company row (from a real run, November 2026)

```json
{
    "recordType": "company",
    "status": "ok",
    "input": "semrush.com",
    "company": { "name": "Semrush INC", "domain": "semrush.com", "domainSource": "input" },
    "match": {
        "confidence": "high",
        "accounts": [
            {
                "platform": "google",
                "advertiserId": "AR12174930187514806273",
                "advertiserName": "Semrush INC",
                "confidence": "high",
                "evidence": ["landing-domain", "name-exact"],
                "url": "https://adstransparency.google.com/advertiser/AR12174930187514806273"
            }
        ]
    },
    "ads": {
        "activeAds": 2000,
        "activeAdsRange": [2000, 3000],
        "totalAdsRange": [10000, 20000],
        "adsLast7d": 2000,
        "newAds": 5,
        "newAdsIsLowerBound": true,
        "firstSeen": "2021-10-25",
        "lastSeen": "2026-11-12",
        "daysSinceLastSeen": 0,
        "channels": ["google"],
        "formats": { "text": 2000, "image": 80, "video": 300 },
        "countryMix": { "IE": 2, "GB": 2, "US": 1, "CA": 1, "AU": 1, "SG": 1 },
        "adsSampledForCountries": 3,
        "euImpressionsSampled": 1000
    },
    "signal": {
        "score": 83,
        "strength": "high",
        "reasons": [
            "2,000 active ads (range 2,000-3,000)",
            "2,000 ads shown in the last 7 days",
            "5 new ads in 7 days or more",
            "Running 3 ad formats (text, image, video)",
            "Runs search-style text ads (buying-intent traffic)"
        ]
    },
    "otherAdvertisers": [
        { "platform": "google", "advertiserId": "AR09507160944376020993", "advertiserName": "Delve Partners Inc", "ads": 18 }
    ],
    "scrapedAt": "2026-11-12T05:35:14.393Z"
}
```

Note `otherAdvertisers`: an agency also runs ads for semrush.com. Its ads are listed, but they are **not** counted in Semrush's numbers.

#### Ad row (Output *Ads* or *Both*)

```json
{
    "recordType": "ad",
    "adId": "google:AR11909113871291383809:CR10000000000000000001",
    "platform": "google",
    "advertiserName": "Ramp Business Corporation",
    "format": "text",
    "firstShown": "2026-11-08T10:00:00.000Z",
    "lastShown": "2026-11-12T10:00:00.000Z",
    "daysActive": 5,
    "isActive": true,
    "isNewSinceLastRun": null,
    "countries": ["US", "CA"],
    "adUrl": "https://adstransparency.google.com/advertiser/AR11909113871291383809/creative/CR10000000000000000001",
    "company": { "name": "Ramp Business Corporation", "domain": "ramp.com", "domainSource": "input" },
    "matchConfidence": "high"
}
```

(The creative ID is shortened for the example.)

#### Status row

```json
{
    "recordType": "company",
    "status": "no-advertiser-found",
    "statusMessage": "Ads for this domain come from \"Example Agency LLC\" and other accounts, none of which matches the company name, so none was attached.",
    "input": "client-example.com",
    "company": { "name": null, "domain": "client-example.com", "domainSource": "input" },
    "otherAdvertisers": [{ "platform": "google", "advertiserId": "AR00000000000000000001", "advertiserName": "Example Agency LLC", "ads": 14 }]
}
```

A run summary (companies checked, matches by confidence, status rows and why the run finished) is saved as `SUMMARY` in the run's key-value store.

### How the ad activity score works

The score runs from 0 to 100 and is fully explainable. No AI, no hidden weights.

| Factor | Points | Rule |
| --- | --- | --- |
| Volume | 0–30 | Active ads on a log scale: 1 ad ≈ 6, 10 ≈ 14, 100 ≈ 22, 1,000+ = 30 |
| Recency | 0–25 | Last ad shown within 2 days scores most and fades to 0 after 60 days, plus the share of ads shown in the last 7 days |
| New-ad velocity | 0–20 | New ads in your window, or since the last run in monitor mode |
| Format spread | 0–15 | Text, image and video ads |
| Buying-intent channel | 0–10 | Search-style text ads score highest |

Recency, spread and intent are scaled by volume, so **one stray ad never looks like a campaign**. Bands: **high** 65+, **medium** 35–64, **low** 1–34, **none** 0 (no ads recently). Every point that's added also adds a sentence to `signal.reasons`.

### Monitor mode: get only new ads every week

1. Turn on **Monitor mode** and run once. This is the **baseline**: you get every company once.
2. Add a **Schedule** (for example every Monday) with the same input.
3. From then on, each run returns only the companies that **have new ads**, and in *Ads* output only the new ads. `newAdsSinceLastRun` and `stoppedAdsSinceLastRun` are filled in.

Companies with nothing new produce no row. The history is kept per set of filters, or per **Monitor name** you choose, so separate schedules keep separate histories. Adding companies to a scheduled list doesn't reset the others.

### Use Ad Spend Signals with the API, Clay, n8n and Make

Run it from code with the Apify client (see the **API** tab for your token and more languages):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('upadhyay.labs/ads-spend-signals').call({
    companies: ['ramp.com', 'gong.io', 'datadoghq.com'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((row) => [row.company?.domain, row.signal?.score]));
```

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("upadhyay.labs/ads-spend-signals").call(run_input={"companies": ["ramp.com", "gong.io"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row.get("company", {}).get("domain"), row.get("signal", {}).get("score"))
```

- **Clay:** call the Actor from an HTTP API column with the company domain, and map `signal.score` and `ads.activeAds` into columns.
- **n8n / Make / Zapier:** use the Apify app or integration to run the Actor, then filter on `signal.strength = high`.
- **Chain with other Actors:** pick any dataset that has company websites in **Companies from a dataset**, for example a Google Maps leads export or ATS Hiring Signals. Companies that are both **hiring and advertising** are your warmest accounts.

### Tips for better and cheaper results

- **Give websites, not just names.** A website lets the Actor verify the advertiser by where its ads link. Names alone are matched only when exactly one account has that name.
- **Use `Name, domain` for brands with a different legal name** (for example `Airtable, airtable.com`). That helps when the advertiser account uses the legal entity's name.
- **Raise `minActiveAds`** (for example 5) to get only real advertisers.
- **Use `countries`** when you sell in one market. "800 active ads in the US" is a sharper signal than a worldwide count.
- **Use `high` confidence** for fully automated outreach, and `medium` when a person reviews the list.
- **Faster runs:** stay on *Companies* output and set `detailSample` to 0 if you don't need the country mix.
- **Speed:** about 11 companies a minute with the defaults. For very large lists, split them over several scheduled runs.

### More tools from upadhyay.labs

Company ad activity pairs well with other company-level signals — for example, a company that's both **hiring and advertising** is often the warmest account on your list. Check the [upadhyay.labs profile on Apify Store](https://apify.com/upadhyay.labs) for our other company-signal Actors.

### FAQ

#### How accurate is the advertiser match?

Precision comes first: a wrong advertiser is worse than none. In our test on **51 well-known companies** (November 2026), **47 were matched and none was matched to the wrong advertiser**. The other 4: one company had no ads, two were matched only to other accounts and so left empty, and one name-only input was correctly left unmatched.

An account is attached only when:

- **High:** its name matches the company **and** its ads link to the company's website.
- **Medium:** it owns at least 80% of the ads for a website **you** gave (with 10 or more ads), and its name doesn't look like an agency's. This catches legal names, such as Formagrid Inc for Airtable or Mango Technologies for ClickUp. An exact name match on its own is also medium, when no other account shares that name.

Everything else goes into `otherAdvertisers` or a `no-advertiser-found` row. For example, when an agency runs ads for a client's website, the agency's ads are not counted as the client's.

#### Can it show how much money a company spends on Google Ads?

No, and no honest tool can: Google doesn't publish spend for commercial ads. What it does publish (ad counts, dates, formats, countries and EU impressions) is what this Actor uses. In practice, the number of active ads and how fast new ones appear track budget closely.

#### Which ad platforms are covered?

The **Google Ads Transparency Center**, which covers Search, YouTube, Display, Shopping, Maps and Play ads. Meta's library exposes commercial ads in its official API only for the EU and UK and needs a developer token. LinkedIn's library blocks automated requests. We add a platform only when we can read it reliably and legitimately.

#### Why is a company "none" or "no advertiser found"?

`none` means it has an advertiser account but showed no ads in your window and countries. `no-advertiser-found` means no account could be matched with enough evidence: the company doesn't advertise on Google, or it advertises under another name. Check `statusMessage` and `otherAdvertisers`, and try `Name, domain`.

#### Do I need proxies, cookies or a login?

No login, no cookies and no Google account. Google blocks IP addresses that send many requests, so the Actor paces itself and uses **Apify residential proxies by default**. When an IP is blocked or a connection drops, it switches to a fresh one automatically. If Google keeps blocking every IP, the run stops cleanly and explains why.

#### Is it legal to collect this data?

Ad Spend Signals reads public advertising transparency data that Google publishes for anyone to see, without logging in. It collects company-level business information, not personal data.

Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

This Actor is independent and not affiliated with or endorsed by Google.

#### Something isn't working. Where do I report it?

Open the **Issues** tab of this Actor and include the run link. We read every report. Google can change its public pages without notice; when that happens the Actor stops with a clear message instead of returning wrong data, and we ship a fix.

# Changelog

This Actor's version history is a separate document: https://apify.com/upadhyay.labs/ads-spend-signals/changelog.md

# Actor input Schema

## `companies` (type: `array`):

One company per line: a website (ramp.com), a company name (Palo Alto Networks) or "Name, domain" (Acme Inc, acme.io). Websites give the most accurate results.

## `sourceDataset` (type: `string`):

Optional. Read companies from another Actor's results, for example ATS Hiring Signals, LinkedIn Hiring Signals or a Google Maps leads scraper.

## `sourceDatasetField` (type: `string`):

Dot path to the website, domain or company name in each dataset item, e.g. "company.domain". Leave empty to detect it automatically (website, domain, url, company name...).

## `platforms` (type: `array`):

Which ad libraries to read. Today: the Google Ads Transparency Center (Search, YouTube, Display and other Google ads). More libraries are planned.

## `countries` (type: `array`):

Only count ads shown in these countries (two-letter codes such as US, GB, DE). Leave empty for worldwide.

## `formats` (type: `array`):

Only count these ad formats. Leave empty for all formats.

## `activeWithinDays` (type: `integer`):

An ad counts as active when it was shown within this many days.

## `newAdsWithinDays` (type: `integer`):

An ad counts as new when it first appeared within this many days.

## `minActiveAds` (type: `integer`):

Skip companies with fewer active ads than this (no row, no charge). 0 reports every company that has an advertiser account, including dormant ones.

## `minConfidence` (type: `string`):

How sure we must be that an advertiser account belongs to the company. "High": the account's name matches the company and its ads link to the company's website. "Medium" also accepts an account that owns nearly all ads for the website, or an exact name match. Weaker matches are never used.

## `outputMode` (type: `string`):

One row per company with the ad activity score, one row per ad, or both.

## `monitorMode` (type: `boolean`):

Remember the ads of each company between runs. The first run is a baseline; later runs return only companies with new ads (and only the new ads), plus how many stopped. Schedule it weekly.

## `monitorKey` (type: `string`):

Optional. Use different names to keep separate histories for separate schedules. By default the history depends on your filters.

## `maxAdsPerCompany` (type: `integer`):

How many ads to read for each company (newest first). Counts of active ads come from Google's published ranges and do not depend on this number.

## `maxCompanies` (type: `integer`):

Safety cap on the number of companies processed in one run.

## `countryBreakdown` (type: `boolean`):

Adds the number of active ads in your selected countries (or in 12 major markets if none are selected). Uses extra requests, so runs are slower.

## `detailSample` (type: `integer`):

Looks up this many of each company's newest ads one by one to see in which countries they ran (countryMix) and, for ads shown in the EU, the "times shown" lower bound. Google publishes impressions for the EU only. Each lookup is one extra request. 0 turns it off.

## `refreshAdvertisers` (type: `boolean`):

Ignore the advertiser matches remembered from earlier runs (kept for 30 days) and match every company again.

## `maxConcurrency` (type: `integer`):

How many companies are processed at the same time.

## `requestsPerSecond` (type: `integer`):

Overall request rate to the ad library. 2 per second is tested on residential proxies. Lower it to 1 without a proxy: Google blocks an IP address that sends too many requests.

## `proxyConfiguration` (type: `object`):

Residential proxies, on by default. Google blocks datacenter IP addresses almost immediately, so this Actor always uses Apify's RESIDENTIAL group (or your own proxy URLs). A blocked or dropped IP is swapped for a fresh one automatically. Turn off only for very small lists.

## Actor input object example

```json
{
  "companies": [
    "ramp.com",
    "gong.io"
  ],
  "platforms": [
    "google"
  ],
  "activeWithinDays": 30,
  "newAdsWithinDays": 7,
  "minActiveAds": 0,
  "minConfidence": "medium",
  "outputMode": "companies",
  "monitorMode": false,
  "maxAdsPerCompany": 100,
  "maxCompanies": 1000,
  "countryBreakdown": false,
  "detailSample": 3,
  "refreshAdvertisers": false,
  "maxConcurrency": 5,
  "requestsPerSecond": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with one row per company (and one per ad when output is "Ads" or "Both").

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

Companies checked, advertiser matches by platform and confidence, free rows, events charged and why the run finished.

# 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 = {
    "companies": [
        "ramp.com",
        "gong.io"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("upadhyay.labs/ads-spend-signals").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 = {
    "companies": [
        "ramp.com",
        "gong.io",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("upadhyay.labs/ads-spend-signals").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 '{
  "companies": [
    "ramp.com",
    "gong.io"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call upadhyay.labs/ads-spend-signals --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,upadhyay.labs/ads-spend-signals"
        }
    }
}
```

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/YoW99sIdDmTevjzgc/builds/4fudwpCileceo2AoM/openapi.json
