# Export a competitor's Google Search ad copy

**Use case:** 

Get the text ads a competitor runs on Google Search: headline, description, first and last date shown and how many days each ad ran. Long-running ads are usually the ones that convert, so sort by days shown to find proven copy. Data comes from the Google Ads Transparency Center.

## Input

```json
{
  "mode": "ads",
  "domains": [
    "hubspot.com"
  ],
  "country": "ANY",
  "adFormat": "text",
  "platform": "search",
  "maxAdsPerAdvertiser": 30,
  "onlyActiveAds": false,
  "decodeAds": true,
  "includeCountryHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "input": {
    "label": "Input"
  },
  "advertiserName": {
    "label": "Advertiser"
  },
  "format": {
    "label": "Format"
  },
  "headline": {
    "label": "Headline"
  },
  "description": {
    "label": "Description"
  },
  "daysShown": {
    "label": "Days shown",
    "format": "number"
  },
  "firstShown": {
    "label": "First shown",
    "format": "date"
  },
  "lastShown": {
    "label": "Last shown",
    "format": "date"
  },
  "transparencyUrl": {
    "label": "Ad",
    "format": "link"
  }
}
```

## How it works

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

The Google Ads Transparency Center Scraper: Ad Copy & Proven Ads Actor is ready to run with the inputs already set for "Export a competitor's Google Search ad copy". [Sign up or log in](https://console.apify.com/create-task-from-example/yRnukAPcdRSoznvC3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export a competitor's Google Search ad copy" task

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

### 3. Receive the "Export a competitor's Google Search ad copy" 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 input, advertiser, 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 "Export a competitor's Google Search ad copy" task via API](https://apify.com/adhistory/google-ads-history-actor.md).

## FAQ

### What does the competitor Search ad copy task return?

The competitor Search ad copy task returns one row per ad with advertiser name, format, decoded headline and description, first and last date shown, days shown and a link to the ad in the Transparency Center.

### How do I find a competitor's best ads with the competitor Search ad copy task?

Sort the competitor Search ad copy results by days shown. Ads that ran for months are usually ones the advertiser kept because they perform.

### How much does the competitor Search ad copy task cost?

The competitor Search ad copy task costs $1 per 1,000 results on the free Apify plan, with lower prices on paid plans. Decoded ad text is included in that price.

### Do I need a Google Ads account for the competitor Search ad copy task?

No. The competitor Search ad copy task reads the public Google Ads Transparency Center, so no Google account, login or API key is needed.

## About this Actor

This example demonstrates how to use [Google Ads Transparency Center Scraper: Ad Copy & Proven Ads](https://apify.com/adhistory/google-ads-history-actor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/adhistory/google-ads-history-actor.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/adhistory/google-ads-history-actor.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`).
