Competitor Ads: Google Ads Transparency Center + LinkedIn Ad Library
Lets an agent answer "what ads is this company running?". Pulls public ad creatives from the Google Ads Transparency Center (by domain, advertiser name or advertiser id) and the LinkedIn Ad Library (by keyword, advertiser or pasted search URL, no LinkedIn login). Typed, compact JSON per ad. A blocked query returns an error row instead of failing the run. Apify hosted MCP server; auth via OAuth or Apify token.
เซิร์ฟเวอร์ MCP แบบโฮสต์
npx add-mcp 'https://mcp.apify.com?tools=dheerajitbhu/google-ads-transparency,dheerajitbhu/linkedin-ad-library'ติดตั้งลง Claude Code, Codex, Cursor และอื่นๆ
เอกสาร
Google Ads Transparency Center Scraper – Google Ads Library (dheerajitbhu/google-ads-transparency) Actor
Fetch public ad creatives from the Google Ads Transparency Center by domain, advertiser name, or advertiser id. Typed schema and compact JSON for AI agents. A blocked query returns an error row instead of failing the run.
- URL: https://apify.com/dheerajitbhu/google-ads-transparency.md
- Developed by: dheeraj kumar (community)
- Categories: AI, Lead generation, SEO tools
- Features: Limited permissions
- Stats: 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- User rating: No ratings yet
Pricing
from $0.99 / 1,000 ads
This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
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 examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
Google Ads Transparency Center Scraper – Google Ads Library
Fetch public ad creatives from the Google Ads Transparency Center by domain (nike.com), advertiser name, or advertiser id (AR…). Export structured rows — advertiser, format, first/last shown, preview image, cite-back URL — as JSON, CSV, or compact JSON for AI agents.
$0.99 per 1,000 ads, plus $0.001 per run. Works on Apify’s Free plan ($5/mo platform usage, no credit card required to try).
Try it in one click
The input form on this page is prefilled — press Start and it returns up to 20 recent creatives for nike.com in the US. A prefill run costs about $0.021.
{ "queries": ["nike.com"], "region": "us", "adFormat": "all", "maxAds": 20, "maxChargeUsd": 0.10 }
For AI agents
- Call with
mode=adsandqueries(domains, advertiser names, orAR…ids). Optional:region(defaultus, lowercase ISO 3166-1 alpha-2),adFormat(all,image,text,video),maxAds,sinceDate,untilDate,outputFormat=compact,maxChargeUsd. - Do not use
mode=selftest. - Read the default dataset, or key
OUTPUT_COMPACTin the key-value store when you asked for compact output (null fields are dropped). - A blocked or invalid query produces a
type=errorrow. The run still succeeds if other queries (or the run as a whole) produced output. - A well-formed query that matches zero creatives is billed the start fee only (
$0.001); noadevents. - Pricing:
apify-actor-start$0.001 (per run at the default 1 GB memory) plusad$0.00099 per delivered creative ($0.99 per 1,000). Onlytype=itemrows are billed; error rows are free. SetmaxChargeUsdas a cap. 1,000 ads ≈ $0.991. 20 ads (prefill) ≈ $0.021.
Input
queries— domains, advertiser names, or advertiser ids. If you leave this empty, the Actor uses the prefill query (nike.com) so an empty run still returns creatives.region(defaultus, lowercase ISO 3166-1 alpha-2),adFormat(all/image/text/video).maxAds— cap on creative rows this run (default 20, maximum 1,000).- Optional:
sinceDate/untilDate(ISO date; client-side filters on first/last shown, dropped rows are not billed),maxChargeUsd,outputFormat=compact,proxyConfiguration(default none — the public RPC usually works without a proxy).
Output
One dataset row per creative, plus an error row if a single query fails.
| Field | Meaning |
|---|---|
type | item (a creative) or error |
creativeId | Stable creative id (CR…) |
advertiserId, advertiserName, domain | Advertiser identifiers |
format | image, text, or video (always set on type=item) |
firstShownIso, lastShownIso | Canonical UTC ISO-8601 bounds |
shownForDays | Derived whole days between those bounds; null only if a bound is missing |
imageUrl, previewUrl | Image and/or video/preview URL. imageUrl is typical for format=image |
region, query | Requested region and the query that produced the row |
sourceUrl | Cite-back URL on adstransparency.google.com |
scrapedAt, error | Scrape time; error text on type=error rows |
Pricing
Pay per event:
| Event | Price |
|---|---|
Actor start (apify-actor-start) | $0.001 per run (at the default 1 GB memory) |
Ad (ad) | $0.00099 each ($0.99 per 1,000) |
Only delivered type=item creatives are billed. Error rows are free. Zero matches = start fee only. maxChargeUsd stops the run before it would go over. Works on Apify’s Free plan.
Reliability and limits
- There is no official Ads Transparency API. This Actor calls the same anonymous
SearchServiceRPC the public site uses. Google can change or lock that endpoint without notice. - List-level creatives only (id, advertiser, format, first/last shown, preview). Per-country variations (
LookupService/GetCreativeById) require a signed-in token and are out of scope for v1. - Sorry-page / rate-limit bursts: the Actor retries a query up to 2 times with 5–15s jitter, then writes a
type=errorrow and moves on. The run still succeeds. - If one query is blocked or invalid, that query becomes an error row and the run still succeeds. An empty input uses the prefill query so a first try always returns creatives (or a single error row).
More examples
Image ads only, compact output:
{
"queries": ["nike.com"],
"region": "us",
"adFormat": "image",
"maxAds": 50,
"outputFormat": "compact",
"maxChargeUsd": 1
}
Several domains, Germany, last-shown since a date:
{
"queries": ["ikea.com", "adidas.com"],
"region": "de",
"sinceDate": "2026-01-01",
"maxAds": 100,
"maxChargeUsd": 1
}
Run it on a schedule
Suggested frequency: weekly to track a competitor's new creatives, daily during a launch or campaign you are watching. Set sinceDate so each run keeps only recently shown ads. Save your input as a Task in Apify Console, then add a Schedule. Send results to Google Sheets, Slack, webhooks, Make / Zapier / n8n, or an AI agent through the Apify MCP server.
FAQ
Is there an official Google Ads Transparency Center API? No public API for searching other advertisers' creatives. This Actor reads the public Transparency Center that any visitor can browse, with no Google account.
What can I search by?
A domain (nike.com), an advertiser name, or an advertiser id (AR…). Filter by region and adFormat (image, text, video).
What does a run cost? $0.001 to start plus $0.00099 per ad ($0.99 per 1,000). A 20-ad prefill run is about $0.021. A query with zero matches costs the start fee only. Error rows are free.
Are date filters applied by Google?
No. sinceDate / untilDate are applied after fetch on first/last shown dates, and dropped rows are not billed.
Can I track a competitor's ads over time? Yes. Save the input as a Task and add a weekly Schedule (see Run it on a schedule).
Can I use it with AI agents or MCP?
Yes, through the Apify MCP server or API. outputFormat: "compact" writes a token-lean copy (OUTPUT_COMPACT) with null fields dropped.
Feedback
If the data helped, a short rating on the Reviews tab helps others find this Actor. Something broke or a field is missing? Open an issue on the Issues tab — we aim to reply within 24 hours.
Related actors
- LinkedIn Ad Library Scraper — B2B ad creatives from the LinkedIn Ad Library, no login.
- Google Play Reviews Scraper — Android app reviews, ratings and developer replies.
- Shopify App Store Scraper — Shopify app listings, ratings and pricing by keyword or category.
Keywords: Google Ads Transparency Center scraper, Google ad library, competitor ads, ad creatives API, Google Ads spy tool, Google Ads scraper, Google Ads library.
Actor input Schema
mode (type: string):
ads is the default and is what a Try-for-free / empty run uses. selftest is an internal health check — do not use it for regular runs.
queries (type: array):
Domains (nike.com), advertiser names, or advertiser ids (AR…). If empty, the prefill query is used so an empty/QA run still returns creatives.
region (type: string):
Transparency Center region as lowercase ISO 3166-1 alpha-2 (us, de, gb), matching the country convention on our Play/App Store Actors. Converted internally to the Center's numeric code (us=2840).
adFormat (type: string):
Server-side format filter on the public SearchCreatives RPC (confirmed 2026-11-10). all = no format restriction.
sinceDate (type: string):
Optional ISO date (YYYY-MM-DD). Applied client-side after fetch: creatives whose lastShownIso (or firstShownIso if last is missing) is older than this are dropped and not billed. The unofficial date fields on the RPC were not a stable server-side filter in our 2026-11-10 capture (400).
untilDate (type: string):
Optional ISO date (YYYY-MM-DD). Applied client-side after fetch: creatives first shown after this date are dropped and not billed.
maxAds (type: integer):
Cap on creative rows this run. Prefill and default are both 20 so empty {} QA and platform prefill QA stay under 5 minutes. Maximum 1,000 per run.
maxChargeUsd (type: number):
Optional spend cap in USD. The run stops delivering further ads once this cap would be exceeded. A run costs $0.001 to start plus $0.00099 per ad ($0.99 per 1,000). If a proxy is used later, this cap also covers that escalation.
outputFormat (type: string):
Compact writes the same billed rows to the key-value store as OUTPUT_COMPACT, a token-efficient copy for LLM/MCP clients.
proxyConfiguration (type: object):
Optional, default none. The public SearchService RPC answered from a normal datacenter IP with no proxy (2026-11-10). Leave empty unless you hit a sorry-page burst; then try datacenter first, residential only if needed.
Actor input object example
{
"mode": "ads",
"queries": [
"nike.com"
],
"region": "us",
"adFormat": "all",
"maxAds": 20,
"outputFormat": "standard"
}
Actor output Schema
results (type: string):
Dataset rows (type item or error).
compact (type: string):
Present when outputFormat=compact: same rows as OUTPUT_COMPACT.
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"mode": "ads",
"queries": [
"nike.com"
],
"region": "us",
"adFormat": "all",
"maxAds": 20
};
// Run the Actor and wait for it to finish
const run = await client.actor("dheerajitbhu/google-ads-transparency").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"mode": "ads",
"queries": ["nike.com"],
"region": "us",
"adFormat": "all",
"maxAds": 20,
}
# Run the Actor and wait for it to finish
run = client.actor("dheerajitbhu/google-ads-transparency").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{
"mode": "ads",
"queries": [
"nike.com"
],
"region": "us",
"adFormat": "all",
"maxAds": 20
}' |
apify call dheerajitbhu/google-ads-transparency --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,dheerajitbhu/google-ads-transparency"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/NY3zhPSGnSpYcb83A/builds/hziHY8mgF96I04lQA/openapi.json