Method: properties.customMetrics.create

创建自定义指标。

HTTP 请求

POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customMetrics

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。示例格式:properties/1234

请求正文

请求正文包含一个 CustomMetric 实例。

响应正文

如果成功,响应正文将包含一个新创建的 CustomMetric 实例。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/analytics.edit