competitor_get_transparency_ads
Competitor research read low risk
Part of the Competitor Ads Agent.
What it does
Which ads a competitor is running in Google's Ads Transparency Center, which of them are NEW, and what they say — the step a strategist otherwise does by screenshotting adstransparency.google.com. Look up by the competitor's own advertiser_ids (precise; get them from competitor_find_google_advertisers) or by domain — a domain search also returns partners and resellers that advertise the site, so the result splits counts by_advertiser and a warning names every other advertiser. Covers text, image and video ads on Search, YouTube, Maps, Play and Shopping. Per ad: creative_id, advertiser, format, first_shown, last_shown, total_days_shown, a status, target_domain and on_domain (whether the ad points at the competitor's own site), ad_link (the ad's own page on adstransparency.google.com, which shows it exactly as Google does) and image_url (the picture of the ad as Google renders it), and for each ad whose detail is fetched a `creative` block: variations[], each one combination Google served, word for word (headline, long_headline, description, call_to_action, display_url, landing_page, business_name, image, video, sitelinks, text_in_image_only, and `raw` with the vendor's own fields), plus `targeting`. STATUS IS DERIVED FROM GOOGLE'S OWN DATES against `since`, not from any stored history: 'new' = first shown inside the window, 'retired' = last shown before it, 'running' = neither, 'unknown' = no `since` or no dates. None of these is a statement about spend. Creative detail is billed per request: with advertiser_ids it is fetched for every listed ad, most recently shown first; a domain search fetches it only for NEW ads; details_for overrides either; both capped by max_creatives (default 10, max 50). more_available says the list stopped at `limit` with more ads left. max_images attaches up to 8 creatives as images — the most recently shown first when no `since` is given, else new first, then the longest-running. Google publishes many ads, text ads included, only as a picture of the ad, so with advertiser_ids the pictures come by default: they are the exact ads. Requires SCALIX_SEARCHAPI_API_KEY; without it the tool returns not_configured and names the manual alternative. Read-only.
When to use it
Use FIRST whenever the user asks for a competitor's ads on Google. Get the competitor's advertiser_ids from competitor_find_google_advertisers, pass them with its domain, and every listed ad comes back with its exact words, Google's dates, ad_link and image_url. Show the ads as ad cards, each formatted the way Google shows it (a search ad as it appears on Google: advertiser, display URL, headline, description, sitelinks; an image or video ad with its picture), with the words exactly as given — never as bare links, buttons or a summary. For what changed in a week, pass since=<a week ago, or 30 days back> and read the counts of new, running and retired. To send them to Slack, use competitor_post_ads_to_slack; for a PDF, competitor_ads_document.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | no | The competitor's bare domain, e.g. 'competitor.com' (scheme, 'www.' and path are stripped). Needed when advertiser_ids is not given (a domain search also returns partners and resellers); alongside advertiser_ids it marks each ad on_domain. |
advertiser_ids | array<string> | no | The competitor's own Google advertiser ids (AR…), from competitor_find_google_advertisers. The precise lookup: only these accounts' ads come back. Wins over domain for the lookup. |
since | string | no | ISO date opening the comparison window, e.g. '2026-09-24' (usually a week ago, or 30 days back). Without it nothing can be classified as new or retired and every ad comes back 'unknown'. |
region | string | no | Region to search, default 'anywhere'. Narrow it to the client's market when a competitor advertises in several. |
platform | string | no | Filter to one surface: google_search, youtube, google_maps, google_play or google_shopping. Omit for all. |
ad_format | string | no | Filter to one of: text, image, video. Omit for all three. |
time_period | string | no | Only ads shown in this period: today, last_7_days, last_30_days or 'YYYY-MM-DD..YYYY-MM-DD'. Omit for every ad the Transparency Center lists. |
include_creatives | boolean | no | Fetch the creative content of new ads (default true). Set false to list ads only and make no detail calls at all. |
max_creatives | integer | no | Cap on creative-detail calls, default 10, max 50. Each is a separate billed request. |
max_images | integer | no | Attach up to this many creatives as images (0-8). Default 8 with advertiser_ids (the exact ads, as Google renders them), 0 for a domain search. Order: the most recently shown first when no `since` is given, else new first, then the longest-running. |
limit | integer | no | Cap on ads listed, default 100. The tool pages until it reaches this. |
details_for | string | no | Which listed ads get their exact copy fetched: 'all' (every listed ad, most recently shown first; the default with advertiser_ids) or 'new' (ads first shown inside the window; the default for a domain search). Both are capped by max_creatives. |
Safeguards
Policy
Never present a status as a spend claim: 'retired' means Google last showed the creative before the window, not that the competitor stopped advertising or cut budget. Never report another advertiser's ad as the competitor's: a domain search returns partners and resellers too — read by_advertiser, prefer advertiser_ids, and never present an ad with on_domain=false as the competitor's. Quote ad copy word for word from the variation fields, with each ad's ad_link in chat but never in a client report — never paraphrase, merge variations or fill a gap. An empty description alongside an image means the copy is inside the image — read it from the attached image or say so, never report the competitor as having no ad copy. If creative detail could not be fetched, the wording is unknown: never guess it. Transparency Center data is what Google chose to publish and may be incomplete for a region. Competitors' ad copy is for analysis only and must never be reproduced in the client's own ads.
Reminder
Read-only — nothing in any ad account changes. The API key is never echoed in the response. Treat competitive creative data as sensitive and do not retain it beyond this request.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
not_configured | No SearchApi key is set on this deployment. | Ask the operator to set SCALIX_SEARCHAPI_API_KEY; meanwhile open https://adstransparency.google.com, search the competitor, and either screenshot the results or run web_get_page_screenshot on that page, recording it under not_collected in the report. | no |
invalid_argument | The domain was not a domain, an advertiser id was not AR…, platform, ad_format or time_period was not valid, or since was not an ISO date. | Pass advertiser_ids (AR…) or a bare domain, valid filters, and since as YYYY-MM-DD. | no |
needs_reauth | SearchApi rejected the API key or the plan does not cover this engine. | Check the key on the SearchApi dashboard and that the plan includes the Ads Transparency Center and LinkedIn Ad Library engines. | no |
quota_exhausted | The SearchApi search allowance for this period is used up. | Top up or upgrade the plan, or search the competitor by hand on https://adstransparency.google.com or https://www.linkedin.com/ad-library and record it under not_collected. | no |
rate_limited | SearchApi rate limit hit (the hourly cap is a share of the monthly plan). | Back off and retry in a few minutes. | yes |
platform_unavailable | SearchApi was unreachable or returned a server error. | Retry in a minute; if it persists, collect this competitor by hand and say so. | yes |
Edge cases
- Without `since` every ad is status 'unknown' — the tool will not guess a window.
- Display and video creatives are frequently images with no machine-readable text: an image URL with an empty description means the copy is in the image, not that there is none.
- By default creative detail is fetched only for ads classified 'new' (or 'unknown' when no window was given); details_for='all' fetches every listed ad, most recently shown first. Both are capped by max_creatives (max 50), because each call is billed separately.
- If a detail call fails the tool stops making more rather than burning the quota, lists the ads anyway, and warns that their wording is unverified.
- 'retired' is derived from Google's last-shown date and is not evidence a competitor reduced spend or left the auction.
- Google's Transparency Center publishes what it chooses to publish; absence of an ad in a region is not proof it never ran there.
- An ad row missing an advertiser or creative id cannot have its creative fetched; it is still listed, with creative null.
- A domain search returns every advertiser that advertises that site — partners, resellers, affiliates. by_advertiser splits the counts and a warning names them; advertiser_ids returns only those accounts.
- When both advertiser_ids and domain are given, the ids pick the ads and the domain marks each ad on_domain true or false; ads pointing to other sites are named in a warning.
- max_images attaches at most 8 creatives (new first, then the longest-running), fetched only from Google's ad CDNs; one that cannot be fetched or decoded is skipped with a note, never fatal.
- Each variation is one combination Google served, not the advertiser's full list of headlines and descriptions; the list rows themselves carry no text.
- more_available is true when the vendor had more ads after `limit`; the warning says so — never present the list as all of their ads.
- ad_link comes from the vendor's details_link, else it is built from the advertiser and creative ids; image_url is the creative's own image, else Google's rendering from the list.
- Google publishes many ads, text ads included, only as a picture: the details then carry no words (text_in_image_only), and the attached picture is the exact ad — read the words from it and quote them as shown.