var profileId = 'XXXXXX'; var tableId = 'ga:' + profileId; var metric = 'ga:users'; var options = { "filters" : "ga:customVarValue1==test", "dimensions" : "ga:customVarValue1" }; // profile ID, 開始日, 終了日, metric, オプション var report = Analytics.Data.Ga.get(tableId, startDate, startDate, metric, options);