File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 62
62
'dimensions ' => [new Dimension (
63
63
[
64
64
'name ' => 'city ' ,
65
- ]),
65
+ ]
66
+ ),
66
67
],
67
68
'metrics ' => [new Metric (
68
69
[
69
70
'name ' => 'activeUsers ' ,
70
- ])
71
+ ]
72
+ )
71
73
]
72
74
]);
73
75
// [END analyticsdata_run_report]
79
81
foreach ($ response ->getRows () as $ row ) {
80
82
print $ row ->getDimensionValues ()[0 ]->getValue ()
81
83
. ' ' . $ row ->getMetricValues ()[0 ]->getValue () . PHP_EOL ;
82
- // [END analyticsdata_run_report_response]
84
+ // [END analyticsdata_run_report_response]
83
85
}
84
86
// [END analytics_data_quickstart]
Original file line number Diff line number Diff line change 71
71
'dimensions ' => [new Dimension (
72
72
[
73
73
'name ' => 'city ' ,
74
- ]),
74
+ ]
75
+ ),
75
76
],
76
77
'metrics ' => [new Metric (
77
78
[
78
79
'name ' => 'activeUsers ' ,
79
- ])
80
+ ]
81
+ )
80
82
]
81
83
]);
82
84
// [END analyticsdata_json_credentials_run_report]
88
90
foreach ($ response ->getRows () as $ row ) {
89
91
print $ row ->getDimensionValues ()[0 ]->getValue ()
90
92
. ' ' . $ row ->getMetricValues ()[0 ]->getValue () . PHP_EOL ;
91
- // [END analyticsdata_json_credentials_run_report_response]
93
+ // [END analyticsdata_json_credentials_run_report_response]
92
94
}
93
95
94
96
// [END analytics_data_quickstart]
Original file line number Diff line number Diff line change 68
68
'dimensions ' => [new Dimension (
69
69
[
70
70
'name ' => 'city ' ,
71
- ]),
71
+ ]
72
+ ),
72
73
],
73
74
'metrics ' => [new Metric (
74
75
[
75
76
'name ' => 'activeUsers ' ,
76
- ])
77
+ ]
78
+ )
77
79
]
78
80
]);
79
81
You can’t perform that action at this time.
0 commit comments