Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Google Ads Transparency Center

Dokumentasi 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.

Harga
$0.015USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 10 opsional

Playground

Input
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
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Google$0.015 per panggilanJSON
Google$0.01 per panggilanJSON
GoogleDari $0.002 per panggilanJSON
GoogleDari $0.0015 per panggilanJSON
Google$0.01 per panggilanJSON
Google$0.01 per panggilanJSON

Panduan:Best Google API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Google Ads Transparency Center?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/google/ads-transparency dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Google Ads Transparency Center?

$0.015 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Google Ads Transparency Center?

Tidak ada parameter yang wajib. Opsional: text (string), advertiser_id (string), region (string), political_ads (boolean), platform (string) dan creative_format (string) dan 4 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Google Ads Transparency Center?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Google?

Tidak. Google Ads Transparency Center berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Google secara terpisah.