FeedMCP

数据接口 / Google 广告透明中心

Google 广告详情 API

Google 广告透明中心里的一条广告:标题、描述、图片、格式、投放的国家,以及首次和最近投放时间。

项目 值
地址 GET https://api.feedmcp.com/v1/google/ads/get
ID google.ads.get
价格 $0.002 / 次
返回 一个 广告对象
认证 Authorization: Bearer $FEEDMCP_API_KEY

展示量只有政治广告和部分地区公开,其他广告 impressions 为 null。

参数

参数 类型 必填 说明
url string 二选一 广告链接(adstransparency.google.com/advertiser/AR…/creative/CR…)
id string 二选一 「广告主 ID/广告 ID」,例如 AR…/CR…

所有接口还支持 view=full:在返回里附上平台的原始数据(raw),价格不变。

返回字段

data.item 是一个「广告」对象,所有平台字段相同:

字段 类型 说明
id string 广告 ID,可以直接传给这个广告库的详情接口:Meta 是广告库 ID,Google 是「AR…/CR…」,LinkedIn 和 TikTok 是数字 ID
platform string 广告库:meta、google、linkedin、tiktok
url string | null 广告在广告库里的链接
advertiser.id string | null 广告主 ID:Meta 是 Facebook 主页 ID,Google 是 AR 开头的 ID,可以直接传给广告主的广告列表
advertiser.name string | null 广告主名字
format string | null 广告格式,例如 image、video、text、dpa(动态商品广告)、Carousel Ad
headline string | null 标题
text string | null 正文文案
cta string | null 按钮文字,例如 Shop now
landing_url string | null 落地页
images string[] 图片地址
videos string[] 视频地址
first_shown string | null 开始投放的时间,ISO 8601,UTC
last_shown string | null 最近一次投放的时间(还在投放的广告是今天)
active boolean | null 是否还在投放(只有 Meta)
placements string[] 投放位置(只有 Meta):facebook、instagram、messenger、threads、audience_network
countries string[] 投放的国家,两位代码(平台公开时才有)
impressions {min, max} | null 展示量区间(平台公开时才有;TikTok 是触达人数区间)
paid_by string | null 出资方(LinkedIn,以及 Meta 的政治广告)

什么时候扣费

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

每次返回的 meta.billing 里写着这次扣了多少、还剩多少余额。

调用示例

cURL

curl "https://api.feedmcp.com/v1/google/ads/get?url=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR08171864262113755137%2Fcreative%2FCR05503456503366942721" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"

Python

import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/google/ads/get",
    params={"url": "https://adstransparency.google.com/advertiser/AR08171864262113755137/creative/CR05503456503366942721"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())

JavaScript

const res = await fetch("https://api.feedmcp.com/v1/google/ads/get?url=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR08171864262113755137%2Fcreative%2FCR05503456503366942721", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());

MCP

在装好 FeedMCP 的 AI 里,调用 call 工具:

{
  "endpoint": "google.ads.get",
  "params": {
    "url": "https://adstransparency.google.com/advertiser/AR08171864262113755137/creative/CR05503456503366942721"
  },
  "max_price": "0.002"
}

返回示例

示例数据是虚构的,格式和真实返回一致。

{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "AR08171864262113755137/CR05503456503366942721",
      "platform": "google",
      "url": "https://adstransparency.google.com/advertiser/AR08171864262113755137/creative/CR05503456503366942721",
      "advertiser": {
        "id": "AR08171864262113755137",
        "name": "Trail Outfitters Inc",
        "url": "https://example.com"
      },
      "format": "image",
      "headline": "Winter tents",
      "text": "Trail Outfitters",
      "cta": null,
      "landing_url": null,
      "images": [
        "https://encrypted-tbn2.gstatic.com/x"
      ],
      "videos": [],
      "first_shown": "2025-10-25T07:00:00.000Z",
      "last_shown": "2026-11-20T14:56:56.000Z",
      "active": null,
      "placements": [],
      "countries": [
        "US"
      ],
      "impressions": null,
      "paid_by": null
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "google.ads.get",
    "platform": "google",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}

出错时的格式见 错误码:每个错误都写明扣没扣钱(charged)和能不能重试(retry)。

Google 广告透明中心的其他接口

常见问题

Google 广告详情接口多少钱?

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

需要平台账号吗?

不需要,只取公开数据。

ID 或链接怎么找?

广告主用 AR 开头的 ID(用广告主搜索找),也可以直接用网站域名;广告用广告链接,或者「AR…/CR…」。

怎么在 AI 里用?

装好 MCP 后直接说你要什么,AI 会调用 google.ads.get。