# YouTube and Google video ads of an advertiser

**Use case:** 

Pull the video ads a brand runs on Google and YouTube (with ad details: regions, dates, YouTube link) from the Google Ads Transparency Center.

## Input

```json
{
  "queries": [
    "shopify.com"
  ],
  "region": "anywhere",
  "format": "video",
  "platform": "all",
  "maxAdsPerQuery": 20,
  "includeDetails": true,
  "onlyNewAds": false,
  "monitorName": "default",
  "maxAdvertisersPerName": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "text"
  },
  "advertiserLegalName": {
    "label": "Legal name",
    "format": "text"
  },
  "advertiserCountry": {
    "label": "Country",
    "format": "text"
  },
  "advertiserVerified": {
    "label": "Verified",
    "format": "boolean"
  },
  "creativeId": {
    "label": "Creative ID",
    "format": "text"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "variationCount": {
    "label": "Variations",
    "format": "number"
  },
  "regions": {
    "label": "Regions",
    "format": "array"
  },
  "impressionsMin": {
    "label": "Impressions min",
    "format": "number"
  },
  "impressionsMax": {
    "label": "Impressions max",
    "format": "number"
  },
  "videoUrl": {
    "label": "Video",
    "format": "link"
  },
  "displayUrl": {
    "label": "Display URL",
    "format": "text"
  },
  "adText": {
    "label": "Ad text",
    "format": "text"
  },
  "assetUrls": {
    "label": "Assets",
    "format": "array"
  },
  "transparencyUrl": {
    "label": "Open in Transparency Center",
    "format": "link"
  }
}
```

## How it works

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

The Google Ads Transparency Scraper Actor is ready to run with the inputs already set for "YouTube and Google video ads of an advertiser". [Sign up or log in](https://console.apify.com/create-task-from-example/BX5xd2rKt0YE3bHat) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube and Google video ads of an advertiser" task

The Google Ads Transparency Scraper Actor will start running based on the input automatically. You can also change all the input fields, like advertisers to look up, region, and more, to match your specific use case.

### 3. Receive the "YouTube and Google video ads of an advertiser" 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, legal name, country, 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 "YouTube and Google video ads of an advertiser" task via API](https://apify.com/atkvn/google-ads-transparency-scraper.md).

## FAQ

### What details does this task return for each video ad?

Advertiser name, legal name, country and verification, creative ID, format, first/last shown dates, every region shown, the YouTube link, and impression ranges where Google publishes them (EU).

### How does this task filter the ads it retrieves?

Each query can be a domain, an advertiser name, an advertiser ID or a Transparency Center URL. You can also filter by region, date range and ad format.

### What type of ads can I extract using this task?

This task extracts video ads specifically from Google and YouTube, as listed in the Google Ads Transparency Center.

### Can I schedule this task to run automatically?

Yes, this task can be scheduled to run automatically using the Apify Console.

### Do I need a login to use this task?

No, this task does not require any login, cookies, or browser usage to access the public data from the Google Ads Transparency Center.

### What is included in the 'videoUrl' field?

The 'videoUrl' field contains the YouTube link for each video ad extracted by the task.

### Can this task be run using the Apify API?

Yes, this task can be run via the Apify API, allowing integration with other applications or services.

## About this Actor

This example demonstrates how to use [Google Ads Transparency Scraper](https://apify.com/atkvn/google-ads-transparency-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/atkvn/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/atkvn/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`).
