I'm using Google Analytic's API for javascript.
I'm performing a query for the user's count of a data range, and passing the view ID to the query:
gapi.client.analytics.data.ga.get({
'ids': 'ga:XXXXXXXX',
'start-date': '2014-10-01',
'end-date': '2014-10-15',
'metrics': 'ga:users'
}).execute(function (results) {
if (results.rows && results.rows.length)
console.log(results.rows[0][0]);
});
However, since I'm dealing with the quotas of usage, and I needed to query for multiple views.
Is there a way to request the report for more than one id in the same query?
Something like:
gapi.client.analytics.data.ga.get({
'ids': 'ga:XXXXXXXX, ga:XXXXXXXXX, ga:XXXXXXXXXX', //Which obviously doesn't work