> For the complete documentation index, see [llms.txt](https://growingio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://growingio.gitbook.io/docs/developer-manual/api-reference/query-productid/definition/querycampaignid.md).

# 查询推广活动ID

### URL

<https://www.growingio.com/api/v1/projects/{project\\_uid}/meta/campaigns>

### 请求类型

GET

### 请求头参数

公共头部请参考[公共请求头参数](/docs/developer-manual/api-reference/authenticate.md)。

### 参数说明与示例

{% tabs %}
{% tab title="请求参数" %}

| 路径参数         | 类型     | 是否必传 | 说明     |
| ------------ | ------ | ---- | ------ |
| project\_uid | string | 是    | 项目UID。 |
| {% endtab %} |        |      |        |

{% tab title="返回参数" %}

| 名称           | 类型     | 说明                |
| ------------ | ------ | ----------------- |
| id           | string | campaign id，活动ID。 |
| name         | string | 活动名称。             |
| {% endtab %} |        |                   |

{% tab title="响应示例" %}

```
[
  {
    "id": "gnPNkoWA",
    "name": "双十一推广"
  },
  {
    "id": "La9BwRne",
    "name": "美丽星辰"
  }
]
```

{% endtab %}
{% endtabs %}
