SerpApiGoogleSEO/AEO

Paid ads on a Google results page for a query

serpapi.x.google-ads

The shopping/text ad units Google shows on its own results page for a keyword (distinct from the Ads Transparency Center)

价格
$0.015/success按供应商原价
成功率
99.4%近 30 天 · 4,678 次
延迟 p50
1.4 秒p95 6.9 秒
最后验证
2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/serpapi.x.google-ads?q=coffee&gl=us&engine=google_ads&location=Austin%2C+Texas%2C+United+States预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

answers arrive in `ads` (not `ads_results`).

参数类型必填说明示例
查询参数
q字符串必填coffee
gl字符串可选us
hl字符串可选en
engine字符串必填google_ads
location字符串必填city-level origin of the search — confirmed REQUIRED live (a bare gl/hl call 400s with "Missing `location` parameter")Austin, Texas, United States
  • 查询参数
  • q字符串必填

    示例:coffee

  • gl字符串可选

    示例:us

  • hl字符串可选

    示例:en

  • engine字符串必填

    示例:google_ads

  • location字符串必填

    city-level origin of the search — confirmed REQUIRED live (a bare gl/hl call 400s with "Missing `location` parameter")

    示例:Austin, Texas, United States

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.google-ads?q=coffee&gl=us&engine=google_ads&location=Austin%2C+Texas%2C+United+States' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.015/success 计费,已含服务费。