# BrandMetrics

> 品牌一段時間的指數均值，以及行業均值作對照。

網頁版：https://okdata.online/zh/docs/objects/brand_metrics/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `brand` | string | 品牌名。 |
| `category` | string \| null | 平台給品牌歸的行業，平台原文。 |
| `search_index` | integer \| null | 期間日均搜尋指數。 |
| `content_index` | integer \| null | 期間日均內容指數。 |
| `spread_index` | integer \| null | 期間日均傳播指數。 |
| `benchmarks` | BrandBenchmark[] \| null | 整個行業和頭部品牌的同口徑均值。 |
| `ext` | object | 平台特有欄位，只在 view=full 時返回。 |

### BrandBenchmark

| 欄位 | 型別 | 說明 |
|---|---|---|
| `scope` | string | 取平均的品牌範圍：整個行業，或行業前 3、5、10、15、30 名。 |
| `search_index` | integer \| null | 這些品牌的日均搜尋指數。 |
| `content_index` | integer \| null | 這些品牌的日均內容指數。 |
| `spread_index` | integer \| null | 這些品牌的日均傳播指數。 |

## 返回 BrandMetrics 的介面

- [抖音巨量算數品牌指數對比](https://okdata.online/zh/apis/douyin/index/brands/metrics/) (`douyin.index.brands.metrics`): $0.002/次

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`brand`, `category`, `search_index`, `content_index`, `spread_index`, `benchmarks`
- standard：—
- full：`ext`
