---
title: "Advertiser"
description: "Google 广告透明度中心中的一个广告主：其法定名称和披露名称、国家/地区及政治广告登记。"
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/ads/llms.txt)

```http
GET | POST /v1/google-ads/advertiser
```

参数可以用 `GET` 的查询字符串发送，也可以用 `POST` 的 JSON 正文发送，两者等效。

## 请求

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/google-ads/advertiser?id=AR10536869552476651521" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ id: "AR10536869552476651521" });
const res = await fetch(`https://gateway.apinoa.com/v1/google-ads/advertiser?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/google-ads/advertiser",
    params={"id": "AR10536869552476651521"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## 传入内容

| 传入 | 读取 | 说明 |
|---|---|---|
| `id` | 该广告主 | 其 id（`AR…`），或其透明度中心 URL |

`advertisers?query=` 可按名称查找广告主的 id。`country` 按该国家/地区读取广告主。

## 参数

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `country` | string |  | The country to read the advertiser for (ISO 3166-1 alpha-2). Default: anywhere. |
| `id` | string |  | The advertiser id (AR…), or its Transparency Center URL. |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 响应

在 `data` 中返回 `Advertiser`。 真实响应的精简版：数组只保留前几项，长文本已截断。

```json
{
  "success": true,
  "data": {
    "library": "google-ads",
    "id": "AR10536869552476651521",
    "url": "https://adstransparency.google.com/advertiser/AR10536869552476651521",
    "name": "Money Metals Exchange LLC",
    "country": "US",
    "verified": true,
    "ext": {
      "adsDisclosureNameType": 1,
      "legalName": "Money Metals Exchange LLC",
      "disclosedName": "Money Metals Exchange LLC",
      "billingCountry": "US",
      "disclosureCountry": "US",
      "political": {
        "country": "US",
        "countries": [
          "PR",
          "MP"
        ],
        "ads": 25836,
        "ext": {
          "region": {
            "1": 1
          }
        }
      },
      "reportTypes": [
        "POLITICAL",
        "ALL"
      ]
    }
  }
}
```

## 错误

| 状态 | 错误码 | 含义 |
|---|---|---|
| 400 | `INVALID_PARAMS` | 参数缺失、未知或超出范围。消息中会指出是哪一个。 |
| 401 | `UNAUTHORIZED` | 缺少 `x-api-key` 请求头，或密钥已吊销或未知。 |
| 402 | `INSUFFICIENT_CREDITS` | 积分不足以支付本次调用。请在控制台选择套餐或充值。 |
| 404 | `NOT_FOUND` | 广告透明度中心中不存在该广告主。 |
| 429 | `MARKETPLACE_SATURATED` | 并发调用过多。请等待 `Retry-After` 秒后重试。 |
| 502 | `UPSTREAM_ERROR` | 平台返回了无法使用的内容。请退避后重试。 |

所有错误码见[错误](/docs/errors)。失败的调用不计费。

## 价格

**Price** 1 credit per call. [Plans and credits](https://apinoa.com/en/pricing).

## 说明

- 一个 `Advertiser`：[Ads API](/docs/api-reference/ads/response-schema) 中每个广告库返回的都是同一种记录。只有透明度中心提供的信息在 `ext` 中。
- `ext.legalName`、`ext.disclosedName` 和 `ext.trademarkName` 是 Google 为该广告主披露的名称；`ext.billingCountry` 和 `ext.disclosureCountry` 是 ISO 3166-1 alpha-2 代码。Google 提供时，`ext.nameHistory` 列出曾用名。
- 已登记的政治广告主带有 `ext.political`：登记的地区、该地区涵盖的国家/地区，以及投放过的政治广告数量。`ext.reportTypes` 列出其所在的报告（`ALL`，政治广告主另有 `POLITICAL`）。
- Google 未验证广告主身份时，`verified` 为 `false`。
