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 6262 'dimensions ' => [new Dimension (
6363 [
6464 'name ' => 'city ' ,
65- ]),
65+ ]
66+ ),
6667 ],
6768 'metrics ' => [new Metric (
6869 [
6970 'name ' => 'activeUsers ' ,
70- ])
71+ ]
72+ )
7173 ]
7274]);
7375// [END analyticsdata_run_report]
7981foreach ($ response ->getRows () as $ row ) {
8082 print $ row ->getDimensionValues ()[0 ]->getValue ()
8183 . ' ' . $ row ->getMetricValues ()[0 ]->getValue () . PHP_EOL ;
82- // [END analyticsdata_run_report_response]
84+ // [END analyticsdata_run_report_response]
8385}
8486// [END analytics_data_quickstart]
Original file line number Diff line number Diff line change 7171 'dimensions ' => [new Dimension (
7272 [
7373 'name ' => 'city ' ,
74- ]),
74+ ]
75+ ),
7576 ],
7677 'metrics ' => [new Metric (
7778 [
7879 'name ' => 'activeUsers ' ,
79- ])
80+ ]
81+ )
8082 ]
8183]);
8284// [END analyticsdata_json_credentials_run_report]
8890foreach ($ response ->getRows () as $ row ) {
8991 print $ row ->getDimensionValues ()[0 ]->getValue ()
9092 . ' ' . $ row ->getMetricValues ()[0 ]->getValue () . PHP_EOL ;
91- // [END analyticsdata_json_credentials_run_report_response]
93+ // [END analyticsdata_json_credentials_run_report_response]
9294}
9395
9496// [END analytics_data_quickstart]
Original file line number Diff line number Diff line change 6868 'dimensions ' => [new Dimension (
6969 [
7070 'name ' => 'city ' ,
71- ]),
71+ ]
72+ ),
7273 ],
7374 'metrics ' => [new Metric (
7475 [
7576 'name ' => 'activeUsers ' ,
76- ])
77+ ]
78+ )
7779 ]
7880 ]);
7981
You can’t perform that action at this time.
0 commit comments