# Track how long a competitor's ads have run

**Use case:** 

Track how long each of a competitor's Google ads has run. Each row returns the ad format, total days shown, and a link, for ad longevity analysis.

## Input

```json
{
  "advertiserId": "AR01614014350098432001",
  "maxResultsPerAdvertiser": 30
}
```

## Output

```json
{
  "result_type": {
    "label": "Result Type",
    "format": "string"
  },
  "advertiser": {
    "label": "Advertiser",
    "format": "string"
  },
  "advertiser_id": {
    "label": "Advertiser ID",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "total_days_shown": {
    "label": "Total Days Shown",
    "format": "number"
  },
  "link": {
    "label": "Link",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Ads Transparency API | Ad Library for Marketing Agents](https://apify.com/johnvc/google-ads-transparency-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/google-ads-transparency-api) to learn more, explore other use cases, and run it yourself.