# 廣告主廣告列表介面

> 2 個平台的 2 個介面，用同一個 Ad 物件返回廣告主的廣告。某個廣告主在公開廣告庫裡的廣告，按頁返回：形式、文案、素材、落地頁，以及每條首次和最近展示的時間。每次 $0.004，各介面按自己的價格計費。

網頁版：https://okdata.online/zh-hant/roles/advertisers-ads-list/

## 各平台介面

| 平台 | 介面 | 路徑 | 每頁 | 價格 |
|---|---|---|---|---|
| Meta 廣告庫 | [Meta 廣告主的廣告](https://okdata.online/zh/apis/meta/advertisers/ads/list/) | `GET /v1/meta/advertisers/ads/list` | 30 | $0.004/次 · 每頁約 30 條廣告 |
| Google | [Google 廣告主的廣告](https://okdata.online/zh/apis/google/advertisers/ads/list/) | `GET /v1/google/advertisers/ads/list` | 40 | $0.004/次 · 每頁約 40 條廣告 |

## 返回的物件：[Ad](https://okdata.online/zh/docs/objects/ad/)

上面每個介面返回的欄位名和型別都一樣。平台不展示的欄位返回 null，並在 meta.unavailable 裡註明。

| 欄位 | 型別 | 含義 |
|---|---|---|
| `id` | `string` | 廣告在廣告庫裡的 ID。 |
| `url` | `string` | 廣告在廣告庫裡的連結。 |
| `advertiser` | `AdvertiserRef` | 投放廣告的廣告主。 |
| `title` | `string \| null` | 廣告標題（有的話）。 |
| `text` | `string` | 廣告文案，純文本；沒有則為空字串。 |
| `format` | `string \| null` | 素材形式；dynamic 指平台按觀眾動態拼裝（商品目錄廣告）。 |
| `images` | `string[] \| null` | 素材圖片地址。 |
| `videos` | `string[] \| null` | 素材影片地址。 |
| `landing_url` | `string \| null` | 廣告落地頁。 |
| `cta` | `string \| null` | 行動按鈕文字。 |
| `platforms` | `string[] \| null` | 投放位置，如 facebook、instagram。 |
| `active` | `boolean \| null` | 是否仍在投放。 |
| `first_shown_at` | `string \| null` | 首次展示時間，ISO 8601，UTC。 |
| `last_shown_at` | `string \| null` | 最近展示時間，ISO 8601，UTC。 |
| `reach` | `string \| null` | 廣告庫公佈的觸達人數：區間（如 1K-10K）或人數（Meta 廣告的歐盟觸達）；未公佈為 null。 |
| `ext` | `object` | 平台特有欄位，只在 view=full 時返回。 |

## 兩個平台上的同一個呼叫

引數一樣、翻頁方式一樣、返回結構一樣，只換路徑。

```bash
# Meta 廣告庫
curl -G "https://api.okdata.online/v1/meta/advertisers/ads/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=30147264485'

# Google
curl -G "https://api.okdata.online/v1/google/advertisers/ads/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=AR17172796163137470465'
```

## 常見用途

- 自己做投放計劃之前，先看競品正在投的所有廣告。
- 每週看看某個品牌又上了哪些新素材。
- 統計一個品牌在各個投放位置上各有多少條廣告。

## 常見問題

### 用什麼指定廣告主？

Google 用廣告主 ID 或品牌官網域名；Meta 用 Facebook 主頁 ID 或品牌名。每個介面頁都列了引數。

### 能區分在投和已停投的廣告嗎？

每條廣告都帶首次和最近展示時間，廣告庫標明狀態時還有 active。拿 last_shown_at 和今天比一比，就能分開。

### 怎麼發現新上的廣告？

把每次查到的廣告 id 存下來，沒見過的 id 就是新上的。每次檢查讀幾頁就是幾次呼叫。

## 其他資料型別

- [評論介面](https://okdata.online/zh/roles/posts-comments-list/)
- [熱榜介面](https://okdata.online/zh/roles/trends-list/)
- [評論回覆介面](https://okdata.online/zh/roles/comments-replies-list/)
- [話題內容介面](https://okdata.online/zh/roles/topics-posts-list/)
- [帳號資訊介面](https://okdata.online/zh/roles/accounts-get/)
- [帳號作品列表介面](https://okdata.online/zh/roles/accounts-posts-list/)
- [內容詳情介面](https://okdata.online/zh/roles/posts-get/)
- [內容搜尋介面](https://okdata.online/zh/roles/posts-search/)
- [熱門內容介面](https://okdata.online/zh/roles/posts-trending/)
- [帳號搜尋介面](https://okdata.online/zh/roles/accounts-search/)
- [內容資料介面](https://okdata.online/zh/roles/posts-metrics/)
- [社群帖子介面](https://okdata.online/zh/roles/communities-posts-list/)
- [廣告詳情介面](https://okdata.online/zh/roles/ads-get/)
- [廣告搜尋介面](https://okdata.online/zh/roles/ads-search/)
- [字幕介面](https://okdata.online/zh/roles/transcripts-get/)
- [粉絲列表介面](https://okdata.online/zh/roles/accounts-followers-list/)
- [商品詳情介面](https://okdata.online/zh/roles/products-get/)
- [商品評價介面](https://okdata.online/zh/roles/products-reviews-list/)
- [商品搜尋介面](https://okdata.online/zh/roles/products-search/)
- [達人搜尋介面](https://okdata.online/zh/roles/creators-search/)
- [達人詳情介面](https://okdata.online/zh/roles/creators-get/)
- [達人粉絲畫像介面](https://okdata.online/zh/roles/creators-audience-get/)
