Google advertiser's running ads — Ads Transparency Center
serpapi.google.ads.transparencyAds a Google advertiser is running now, from the Ads Transparency Center
- Price
- $0.015/successプロバイダー原価
- Success rate
- 100%Last 30 days · 2,416 calls
- Latency p50
- 2.5 sp95 11 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.google.ads.transparency?text=coffee&engine=google_ads_transparency_centerPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
answers arrive in `ad_creatives`. This is the one endpoint in the file whose query param is `text` rather than `q` — and it is optional, because you may identify the advertiser by id instead.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
num | 整数 | 任意 | results to return; default 40. Unlike engine=google, `num` IS documented here | 10 |
text | 文字列 | 任意 | free-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed | coffee |
engine | 文字列 | 必須 | google_ads_transparency_center | |
region | 文字列 | 任意 | geographic region the search originates from. REQUIRED when political_ads is true | |
end_date | 文字列 | 任意 | YYYYMMDD | |
platform | 文字列 | 任意 | where the ad ran: PLAY | MAPS | SEARCH | SHOPPING | YOUTUBE | |
start_date | 文字列 | 任意 | YYYYMMDD | |
advertiser_id | 文字列 | 任意 | a specific advertiser id, or several comma-separated | |
political_ads | 真偽値 | 任意 | restrict to political advertising; forces `region` to be set | |
creative_format | 文字列 | 任意 | text | image | video | |
next_page_token | 文字列 | 任意 | cursor from the previous response's serpapi_pagination | |
- クエリパラメータ
num整数任意results to return; default 40. Unlike engine=google, `num` IS documented here
例:
10text文字列任意free-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed
例:
coffeeengine文字列必須例:
google_ads_transparency_centerregion文字列任意geographic region the search originates from. REQUIRED when political_ads is true
end_date文字列任意YYYYMMDD
platform文字列任意where the ad ran: PLAY | MAPS | SEARCH | SHOPPING | YOUTUBE
start_date文字列任意YYYYMMDD
advertiser_id文字列任意a specific advertiser id, or several comma-separated
political_ads真偽値任意restrict to political advertising; forces `region` to be set
creative_format文字列任意text | image | video
next_page_token文字列任意cursor from the previous response's serpapi_pagination
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.google.ads.transparency?text=coffee&engine=google_ads_transparency_center' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/serpapi.google.ads.transparency?text=coffee&engine=google_ads_transparency_center",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/serpapi.google.ads.transparency?text=coffee&engine=google_ads_transparency_center", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.015/success です。サービス料を含みます。