List of Dimensions and Metrics in different languages - google-analytics

The Metadata API can be used to get a list of google analytic dimensions and metrics. Is it possible to have this list returned in different languages? Is there a list/database of the metrics and dimensions for different languages?

The MetaData API only returns in english there is no way to change the language. I dont think they will be changing that anytime soon. But you could try adding it as a feature request. http://code.google.com/p/analytics-issues/issues/list

Related

where to find google analytics dimensions values

I'm trying to implement my own google analytics reporting UI where users pick metrics and dimensions and then pick the filters according to what the user have already chosen and my question is there any way to get all the dimensions values? for example the dimension "country" can take the value of all the countries(USA,Fance,etc...). I've did some research on google but found nothing. any help is appreciated!
I would suggest using something like Analytics Edge extension for Excel to do exactly what you're trying to do.
If that doesn't completely solve what you're doing, the extension does pull all the pullable fields from GA. It also gives you an insight into what kind of request it sends to G to pull the data. Very useful for debugging, but also for learning the reporting API.
Alternatively, there's documentation on the API here: https://developers.google.com/analytics/devguides/reporting/core/v4
Make sure you know whether you're using GA4 or GA UA. They have different APIs.

List of labels used in google object localization

I wonder if there is a list of the possible labels returned by google's object localization: 'human', 'dog', 'cat', etc.
Knowing all possible labels returned by the object localization service of Google, can help us use the service more efficiently. For example, if we are looking in our database for images with hats, we first send our images to the api, then we need to know all possible labels related to hat that google returned. Looking for the word "hat" in the labels will miss those images in which google object recognition returned "sombrero".
There is no extensive list available which has all the possible labels used in Google object localization. If you feel that list would be highly beneficial you may post a feature request in Google's issuetracker.
In any case, notice that Google object localization results contain a machine-generated identifier (MID) corresponding to a label's Google Knowledge Graph entry. Therefore, you may perform calls to the GKG API to check similar possible results.
For example, if you perform the call for Sombrero
https://kgsearch.googleapis.com/v1/entities:search?query=sombrero&key=<yourAPIKey>&limit=5&indent=True
you will obtain the results: Sombrero, Hat, Sun Hat, Sombrero Galaxy, Straw Hat.

import all dimensions and metrics from Google analytic s API through R

I am using RGA library to query data from Google analytics using R.
What I need:
I need to import all dimensions and metrics from the GA API. Though I understand that all dimensions and metrics are not compatible to be queried together, but there has got to be some way to import all in one query?
Since we are just storing data in the warehouse at the moment, I need to import and store all of it.
Is there a way I can get around this without having to specify every dimension and metric specifically?
You can extract 7 dimensions and 10 metrics per query. There are over 400 dimensions and metrics available. There is no 'database export' option in Google Analytics -- what you seek does not exist.
Google doesn't allow this for several reasons including the protection of their practices, data privacy, and the fact that it would be an absolutely massive drain on them.
A metric like 'Users' simply can't be all downloaded unless you have access to the actual hit data, and the associated client IDs, which Google will never give you.

How do I access Custom Metrics and Custom Dimensions from Google Core Reporting API

I have defined a few Custom Metrics and Custom Dimensions. I can see and use them in my custom reports or as secondary dimensions in my standard reports.
I am unable to access them from the Core Reporting API. I expected to be able to extract them in a manner that is similar to Custom Variables.
I have so far been unable to do this or to find any documentation on this besides this reference
https://developers.google.com/analytics/devguides/platform/features/customdimsmets#reporting
After the collection, configuration, and other processing stages of
the pipeline are complete, custom dimensions and metrics become available
via the web reporting interface or th Core Reporting API.
To me this reads like it should be possible.
Any help would be greatly appreciated!
As of 01 May 2013, according to https://developers.google.com/analytics/devguides/reporting/core/dimsmets/customvars
Custom Var cannot be used with any metrics, which makes them useless...I'll be delighted if someone tells me I'm wrong.
Check this out : https://developers.google.com/resources/api-libraries/documentation/analytics/v3/java/latest/
Check the method: Analytics.Data.Ga.get(String ids,
String startDate,
String endDate,
String metrics)
Parameters:
.....
metrics - A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
I think the 4th parameter is a way to retrieve filtered reports based on custom variables, dimensions, or metrics.

How I can get places with specific types using Google Places API?

I need all locations of type cafe, gas_station, and restaurant using Google Places Api. Here is my query via the API:
https://maps.googleapis.com/maps/api/place/search/json?location=41.104805,29.024291&radius=50000&sensor=true&key=AIzaSyAVH0qHD6BPxRlnck3rIqcxC5TTwOTyfds&types=gas_station||shopping_mall
This returns mosque location types only. I'm not getting shopping_mall, gas_station, or restaurant types. here i am checking type in google place api
How can i get all these types?
Unfortunately, Google Places API does not appear to have anything under those categories in that area.
Use types=establishment to get a more complete list of businesses etc. in that area.
Unfortunately, you will have to find some other way to determine what is a gas station, etc. Google Places API does not appear to have that data, at least at this time.
It may be possible to contribute that data yourself.
Since the answer above was posted, Google has added support for additional location types.
https://developers.google.com/places/documentation/supported_types
It was suggested in other SO thread, that you use 'keyword' instead of 'types' in your query to Google. Related SO thread:
How can I search places with specific types using Google Places API?

Resources