# 即時 Google Ads 廣告主進階版

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/google/ads_advertisers/live/advanced`

**Tags:** DataForSEO

同步傳回 Google 廣告透明度資料中與查詢相符的廣告主。傳回 `keyword`、`type`、`se_domain`、`location_code`、`language_code`、`check_url`、`datetime`、`spell`、`refinement_chips`、`item_types`、`items_count` 與 `items`。預設選擇 `advanced`；若只在意排名清單，就用 `regular`；只有想檢查解析器丟棄了什麼時才用 `html`。採用 DataForSEO 的信封結構：資料位於 `tasks[0].result`，結果狀態位於 `tasks[0].status_code`——被拒絕的請求仍會回傳 HTTP 200。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：0.02 美元。
- 參考客戶倍率：1.0。不得對已結算的客戶金額再次套用。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "keyword": {
        "type": "string",
        "description": "用於搜尋廣告主的關鍵字"
      },
      "location_name": {
        "type": "string",
        "description": "搜尋引擎地點全名"
      },
      "location_code": {
        "type": "integer",
        "description": "搜尋引擎地點代碼"
      }
    },
    "required": [
      "keyword"
    ]
  }
}
```

## Responses

### 200 — 成功回應

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "API 目前版本"
    },
    "status_code": {
      "type": "integer",
      "description": "一般狀態碼"
    },
    "status_message": {
      "type": "string",
      "description": "一般資訊訊息"
    },
    "time": {
      "type": "string",
      "description": "執行時間（秒）"
    },
    "cost": {
      "type": "number",
      "description": "任務總費用，美元"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "任務陣列"
    },
    "tasks[].result": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "即時 SERP 結果陣列"
    }
  }
}
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```
