Google AnalyticsGoogle AnalyticsSEO/AEO

Run several GA4 reports in one batch

google-analytics.x.analyticsdata-properties-batchrunreports

properties.batchRunReports — Returns multiple reports in a batch. All reports must be for the same Google Analytics property.

价格
free按目录价
成功率
100%近 30 天 · 87 次
延迟 p50
525 毫秒p95 1.5 秒
最后验证
—尚未验证
POSThttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsdata-properties-batchrunreportsBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
路径参数
property字符串必填A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). This property must be specified for the batch. The proper
  • 路径参数
  • property字符串必填

    A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). This property must be specified for the batch. The proper

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsdata-properties-batchrunreports' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。