---
document_id: agent.dataset.pdd.task.brand_trend
schema_version: 2
parent_document_id: agent.dataset.pdd
section: capabilities
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# Brand trend / 品牌趋势

Query monthly atomic metrics for one exact brand. / 查询一个精确品牌的月度原子指标。

## Required inputs / 必要输入

- `brand` — `search_values`; required (`brand`): Exact brand value
  精确品牌值
- `time` — `user_required`; required: Analysis time range
  分析时间范围

## Steps / 步骤

1. `resolve_brand` · `search_values` — Resolve the spoken brand value.
   对齐用户口语中的品牌值。
   - search `brand` with `${brand}`
2. `query_trend` · `query_metrics` — Query metrics grouped by month.
   按月查询销售指标。
   - metrics: `gmv`, `units`, `asp`
   - group_by: `month`
   - filters: `brand eq ${brand}`
   - time: `${time}`

## Call example / 调用示例

Replace the example values with exact user inputs or values returned by `search_values`. / 将示例值替换为用户的精确输入或 `search_values` 返回的平台原始值。

`search_values`

```json
{
  "task_query": "使用 pdd 数据执行品牌趋势；brand=示例品牌，time={\"last_complete_months\":3}",
  "dataset": "pdd",
  "field": "brand",
  "kw": "示例品牌",
  "limit": 10
}
```

`query_metrics`

```json
{
  "metrics": [
    "gmv",
    "units",
    "asp"
  ],
  "time": {
    "last_complete_months": 3
  },
  "group_by": [
    "month"
  ],
  "filters": [
    {
      "field": "brand",
      "op": "eq",
      "value": "示例品牌"
    }
  ],
  "task_query": "使用 pdd 数据执行品牌趋势；brand=示例品牌，time={\"last_complete_months\":3}",
  "dataset": "pdd"
}
```


## Output requirements / 输出要求

- Present a month-by-month trend with metric definitions.
  按月展示趋势并附指标口径。

## Limitations / 限制

- Do not infer causes from sales movement alone.
  不得仅根据销售变化推断原因。

## Stop conditions / 停止条件

- Stop and ask when the brand match is ambiguous.
  品牌匹配有歧义时停止并追问。
