I am using V3 of google analytics API and the .Net Client. I have everything working the only issue I am having is when I try to run the following
metrics: ga:visits dimensions: ga:country, ga:region, ga:city, ga:latitude, ga:longitude, ga:networkDomain, ga:networkLocation, ga:date, ga:hour
I get this error
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid Value"
}
],
"code": 400,
"message": "Invalid Value"
}
}
when I run the following it works metrics: ga:visits dimensions: ga:country, ga:region, ga:city, ga:latitude, ga:longitude, ga:networkDomain, ga:networkLocation
I used google's tool https://developers.google.com/analytics/devguides/reporting/core/dimsmets#cats=geonetwork,session,trafficsources,system,time,pagetracking,internalsearch to make sure my metrics and dimensions were valid. I also used the api explorer and got the same error. https://developers.google.com/apis-explorer/#p/analytics/v3/analytics.data.ga.get
I really don't know what the issue is or how to fix it.