Now you add the dimensions, filter conditions, and measures to the query. The methods return the query object (this), so the methods can be chained. The sequence in which you add dimensions to the query determines the nesting of the dimensions in the result set.

When the query was sent, you get back a result set. The first parameter of the method is the callback function on success.
If everything went right, you get one object with your all your results. If not, the second parameter is the callback function on error.