Querying Google Analytics API for 30-day active users
问题 I'm having trouble getting data on 30-day active users when I query Google Analytics in python. My code is below. My problem is that I need to specify a date or day as dimension. "At least one of ga:nthDay, ga:date, or ga:day must be specified as a dimension to query this metric." I'm just not sure what the proper syntax is for this. from oauth2client.service_account import ServiceAccountCredentials from apiclient.discovery import build import httplib2 #create service credentials #this is