# Find a competitor's long-running Google search ads

**Use case:** 

See which Google search ads a competitor has kept running the longest - usually the ones that work. Enter a domain and get its text ads that ran 30+ days in the US, sorted by days running, with headline, description, first/last shown dates and countries. Ad copy is included even for ads Google only stores as screenshots (OCR). Change the domain to your competitor's.

## Input

```json
{
  "domains": [
    "nike.com"
  ],
  "region": "US",
  "platform": "search",
  "format": "text",
  "minDaysRunning": 30,
  "sortBy": "longestRunning",
  "onlyNewAds": false,
  "maxAdsPerTarget": 50,
  "maxResults": 0,
  "includeRegions": true,
  "includeAdCopy": true,
  "advertisersPerQuery": 1,
  "maxScanPerTarget": 1000,
  "concurrency": 3
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "firstShown": {
    "label": "First shown",
    "format": "string"
  },
  "lastShown": {
    "label": "Last shown",
    "format": "string"
  },
  "daysShown": {
    "label": "Days shown",
    "format": "integer"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "regionCount": {
    "label": "Countries",
    "format": "integer"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "transparencyUrl": {
    "label": "Ad link",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Ads Transparency Scraper - Ad Copy & Days Running Actor is ready to run with the inputs already set for "Find a competitor's long-running Google search ads". [Sign up or log in](https://console.apify.com/create-task-from-example/mtXqtdfiFbYYHPCQf) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find a competitor's long-running Google search ads" task

The Google Ads Transparency Scraper - Ad Copy & Days Running Actor will start running based on the input automatically. You can also change all the input fields, like advertiser domains, country, and more, to match your specific use case.

### 3. Receive the "Find a competitor's long-running Google search ads" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as advertiser, domain, format, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find a competitor's long-running Google search ads" task via API](https://apify.com/datalume/google-ads-transparency-scraper.md).

## FAQ

### How is this different from Google's free BigQuery dataset?

The BigQuery dataset covers only ads shown in the EEA and Turkey, has no ad copy or images and can lag behind the website. This task reads the live Transparency Center worldwide and returns headlines, descriptions, days running and countries.

### Why sort by longest running?

Advertisers keep paying for ads that work. Ads that have run for months are usually a competitor's proven winners, and minDaysRunning filters out short tests.

### Can I see how many impressions a US ad got?

Only for political ads. Google publishes impression ranges for ads shown in the EU or Turkey and for political ads, not for ordinary US ads. Where Google publishes them, you get impressionsMin and impressionsMax.

## About this Actor

This example demonstrates how to use [Google Ads Transparency Scraper - Ad Copy & Days Running](https://apify.com/datalume/google-ads-transparency-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datalume/google-ads-transparency-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/datalume/google-ads-transparency-scraper.md

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`).
