# A competitor's ads on Google, LinkedIn and TikTok in one run

**Use case:** 

Pulls live ads for two SaaS advertisers from the Google Ads Transparency Center and the LinkedIn Ad Library, plus the top-performing ads in the US from TikTok Creative Center for the last 7 days. Each ad comes with format, creative text, landing URL and first/last seen dates. Replace the advertisers with the brands you compete with.

## Input

```json
{
  "advertisers": [
    {
      "name": "HubSpot",
      "domain": "hubspot.com",
      "googleAdvertiserId": "AR10072600183532683265"
    },
    {
      "name": "monday.com",
      "domain": "monday.com",
      "googleAdvertiserId": "AR15972262369074085889"
    }
  ],
  "platforms": [
    "google",
    "linkedin",
    "tiktok"
  ],
  "googleRegion": "anywhere",
  "tiktokQueries": [
    {
      "region": "US",
      "period": 7
    }
  ],
  "activeOnly": true,
  "lastNDays": 90,
  "maxAdsPerAdvertiser": 5,
  "emitChangesOnly": false,
  "emitBaselineAsNew": false,
  "refreshThreshold": 5,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "platform": {
    "label": "Platform",
    "format": "text"
  },
  "advertiser": {
    "label": "Advertiser",
    "format": "object"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "headline": {
    "label": "Headline",
    "format": "text"
  },
  "landingDomain": {
    "label": "Landing domain",
    "format": "text"
  },
  "regions": {
    "label": "Regions",
    "format": "array"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "firstShownAt": {
    "label": "First shown",
    "format": "date"
  },
  "lastShownAt": {
    "label": "Last shown",
    "format": "date"
  },
  "libraryUrl": {
    "label": "Library",
    "format": "link"
  },
  "error": {
    "label": "Status / error"
  }
}
```

## About this Actor

This example demonstrates how to use [Ad Library Intelligence (Google, LinkedIn & TikTok)](https://apify.com/almoutasem_nabil/ad-library-intelligence.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/almoutasem_nabil/ad-library-intelligence.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/almoutasem_nabil/ad-library-intelligence.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`).
