Measurements and indicators

Is there a way to integrate Metrics dimensions and Explorer in my application (which allows me to create extraction commands and then use the Analytics Reporting API v4 to get reports), so I don’t want to go to the site every time and check it to make sure I do not choose incompatible measurements and indicators?

+4
source share
1 answer

You can get a list of all valid dimensions and metrics from the metadata API , however there is currently no way to check if the dimensions and metrics are compatible with each other. The only way to do this is to send a request or, as you said, check the sizes and indicators .

I have asked for this quite often over the years. They say they would like to add something like this at some point. However, I think its probably a low priority list.

Answer: There is no way to programmatically check if the measurements and measures are valid together before sending the request.

+2
source

All Articles