Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Google Ads Transparency Center

API 文件
https://api.sandbase.ai/v1/api/google/ads-transparency

Ads an advertiser is running on Google, from the Ads Transparency Center: creatives, formats, first and last shown dates.

價格
$0.015美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 10 個選填

Playground

輸入
free-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed
a specific advertiser id, or several comma-separated
geographic region the search originates from. REQUIRED when political_ads is true
restrict to political advertising; forces `region` to be set
where the ad ran: PLAY | MAPS | SEARCH | SHOPPING | YOUTUBE
text | image | video
YYYYMMDD
YYYYMMDD
results to return; default 40. Unlike engine=google, `num` IS documented here
cursor from the previous response's serpapi_pagination
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Google Ads Transparency Center API

Returns a list of ad creatives shown on Google for an advertiser or domain, taken from the Google Ads Transparency Center. Each creative includes the advertiser, format, first and last shown timestamps, and a preview link. Send a domain or advertiser name in text, or one or more IDs in advertiser_id.

Use cases

  • Check which advertisers run ads that point to your own domain.
  • Monitor a competitor's ad creatives and see how long each one has been running.
  • Filter a domain's ads by creative_format to review only video or text ads.
  • Collect advertiser_id values to look up one advertiser's full ad history.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/ads-transparency" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "apple.com"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
advertiser_idstringNoa specific advertiser id, or several comma-separated
creative_formatstringNotext / image / video
end_datestringNoYYYYMMDD
next_page_tokenstringNocursor from the previous response's serpapi_pagination
numintegerNoresults to return; default 40. Unlike engine=google, num IS documented here
platformstringNowhere the ad ran: PLAY / MAPS / SEARCH / SHOPPING / YOUTUBE
political_adsbooleanNorestrict to political advertising; forces region to be set
regionstringNogeographic region the search originates from. REQUIRED when political_ads is true
start_datestringNoYYYYMMDD
textstringNofree-text advertiser or domain to search for. Supply either this OR advertiser_id — neither is individually mandatory but one is needed

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ad_creatives": [
    {
      "ad_creative_id": "CR01913929004390285313",
      "advertiser": "Optimum Media Direction (Thailand) Co., Ltd",
      "advertiser_id": "AR03550249516248596481",
      "details_link": "https://adstransparency.google.com/advertiser/AR03550249516248596481/creative/CR…",
      "first_shown": 1792688520,
      "format": "video",
      "last_shown": 1793690110,
      "link": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=a…",
      "target_domain": "apple.com",
      "total_days_shown": 12
    }
  ],
  "search_information": {
    "total_results": 300000
  }
}

Response fields

FieldMeaning
ad_creatives[]List of ad creatives that match the search.
ad_creatives[].ad_creative_idIdentifier of one creative. It starts with CR.
ad_creatives[].advertiser / ad_creatives[].advertiser_idName of the advertiser that ran the ad and its ID, which starts with AR. Use the ID in advertiser_id for later searches.
ad_creatives[].formatCreative type, such as video or text.
ad_creatives[].first_shown / ad_creatives[].last_shownUnix timestamps in seconds for when the creative was first and last shown.
ad_creatives[].total_days_shownNumber of days the creative was shown.
ad_creatives[].target_domainDomain the ad is tied to, such as apple.com.
ad_creatives[].details_linkLink to the creative's page in the Ads Transparency Center.
ad_creatives[].image / ad_creatives[].link / ad_creatives[].width / ad_creatives[].heightPreview image URL or preview content URL for the creative, with pixel size when given. Text and image creatives carry image, width and height. The video creative carries link.
search_information.total_resultsTotal number of creatives that match the search.

Notes

  • Send either text or advertiser_id. One of the two is needed.
  • Set region when political_ads is true.
  • Use num to set how many results to return. Pass next_page_token from the previous response's pagination data to get the next page.
  • Pass start_date and end_date as YYYYMMDD.

Pricing

$0.015 per successful call. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
Google每次呼叫 $0.015JSON
Google每次呼叫 $0.01JSON
Google每次呼叫 $0.002 起JSON
Google每次呼叫 $0.0015 起JSON
Google每次呼叫 $0.01JSON
Google每次呼叫 $0.01JSON

指南:Best Google API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Google Ads Transparency Center API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/google/ads-transparency。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Google Ads Transparency Center API 的費用是多少?

每次 $0.015,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Google Ads Transparency Center API 接受哪些參數?

不需要任何參數。 選填:text (string), advertiser_id (string), region (string), political_ads (boolean), platform (string) 和 creative_format (string),以及另外 4 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Google Ads Transparency Center API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Google 開發者帳號或 API 金鑰嗎?

不需要。Google Ads Transparency Center 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Google API 存取權。