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

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

# Subsidy comparison / 补贴商品对比

Compare PDD metrics by the upstream subsidy flag. / 按上游百亿补贴标记比较拼多多销售指标。

## Required inputs / 必要输入

- `time` — `user_required`; required: Analysis time range
  分析时间范围

## Steps / 步骤

1. `query_subsidy` · `query_metrics` — Query metrics grouped by subsidy flag.
   按补贴标记分组查询指标。
   - metrics: `gmv`, `units`, `asp`
   - group_by: `billion_subsidy_tag`
   - time: `${time}`

## Call example / 调用示例

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

`query_metrics`

```json
{
  "metrics": [
    "gmv",
    "units",
    "asp"
  ],
  "time": {
    "last_complete_months": 3
  },
  "group_by": [
    "billion_subsidy_tag"
  ],
  "task_query": "使用 pdd 数据执行补贴商品对比；time={\"last_complete_months\":3}",
  "dataset": "pdd"
}
```


## Output requirements / 输出要求

- Present each returned flag, including unknown values, with metric definitions.
  展示每个返回标记及未知值，并附指标口径。

## Limitations / 限制

- The flag is upstream metadata and unknown values must not be treated as no subsidy.
  标记来自上游元数据，未知值不能当作未补贴。

## Stop conditions / 停止条件

- Stop if the response is truncated or the flag meaning is unclear.
  结果被截断或标记含义不清时停止。
