Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Google Ads Transparency Center

Tài liệu 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.

Giá
$0.015USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 10 tùy chọn

Phòng thử nghiệm

Đầu vào
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
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp 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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Google$0.015 mỗi lần gọiJSON
Google$0.01 mỗi lần gọiJSON
GoogleTừ $0.002 mỗi lần gọiJSON
GoogleTừ $0.0015 mỗi lần gọiJSON
Google$0.01 mỗi lần gọiJSON
Google$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Google API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Google Ads Transparency Center?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/google/ads-transparency với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Google Ads Transparency Center có giá bao nhiêu?

$0.015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Google Ads Transparency Center chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: text (string), advertiser_id (string), region (string), political_ads (boolean), platform (string) và creative_format (string) và 4 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Google Ads Transparency Center trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Google không?

Không. Google Ads Transparency Center chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Google.