维度和指标浏览器

Dimensions and Metrics Explorer

有什么方法可以将 dimensions and Metrics explorer 集成到我的应用程序中(它允许我创建提取命令,然后使用 Analytics Reporting API v4 获取报告)因为我不知道不想每次都去网站上检查以确保我没有选择不兼容的维度和指标?

您可以从 Metadata API however at this time there is no way of checking if the dimensions and metrics are compatible with each other. The only way to do that is to send the request or as you said check the dimensions and metrics 中获取所有有效维度和指标的列表。

多年来我经常向团队询问这个问题。他们说他们想在某个时候添加类似的东西。但是我认为它在优先级列表中的位置可能很低。

回答:不,在发送请求之前,无法以编程方式检查维度和指标是否一起有效。