@google-analytics/data 2.6.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/README.md +28 -19
- package/build/protos/google/analytics/data/v1alpha/analytics_data_api.proto +107 -415
- package/build/protos/google/analytics/data/v1alpha/data.proto +888 -448
- package/build/protos/google/analytics/data/v1beta/analytics_data_api.proto +70 -4
- package/build/protos/google/analytics/data/v1beta/data.proto +135 -6
- package/build/protos/protos.d.ts +11205 -9495
- package/build/protos/protos.js +33004 -28934
- package/build/protos/protos.json +3565 -3168
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +92 -38
- package/build/src/v1alpha/alpha_analytics_data_client.js +10 -383
- package/build/src/v1alpha/alpha_analytics_data_client.js.map +1 -1
- package/build/src/v1alpha/alpha_analytics_data_client_config.json +1 -38
- package/build/src/v1alpha/index.js +2 -1
- package/build/src/v1alpha/index.js.map +1 -1
- package/build/src/v1beta/beta_analytics_data_client.d.ts +401 -12
- package/build/src/v1beta/beta_analytics_data_client.js +28 -316
- package/build/src/v1beta/beta_analytics_data_client.js.map +1 -1
- package/build/src/v1beta/beta_analytics_data_client_config.json +5 -0
- package/build/src/v1beta/index.js +2 -1
- package/build/src/v1beta/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -20,9 +20,6 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
20
20
|
innerApiCalls: {
|
|
21
21
|
[name: string]: Function;
|
|
22
22
|
};
|
|
23
|
-
pathTemplates: {
|
|
24
|
-
[name: string]: gax.PathTemplate;
|
|
25
|
-
};
|
|
26
23
|
alphaAnalyticsDataStub?: Promise<{
|
|
27
24
|
[name: string]: Function;
|
|
28
25
|
}>;
|
|
@@ -31,7 +28,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
31
28
|
*
|
|
32
29
|
* @param {object} [options] - The configuration object.
|
|
33
30
|
* The options accepted by the constructor are described in detail
|
|
34
|
-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/
|
|
31
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
35
32
|
* The common options are:
|
|
36
33
|
* @param {object} [options.credentials] - Credentials object.
|
|
37
34
|
* @param {string} [options.credentials.client_email]
|
|
@@ -54,11 +51,10 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
54
51
|
* API remote host.
|
|
55
52
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
56
53
|
* Follows the structure of {@link gapicConfig}.
|
|
57
|
-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* if you need to override this behavior.
|
|
54
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
|
55
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
56
|
+
* For more information, please check the
|
|
57
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
62
58
|
*/
|
|
63
59
|
constructor(opts?: ClientOptions);
|
|
64
60
|
/**
|
|
@@ -99,39 +95,97 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
99
95
|
static get scopes(): string[];
|
|
100
96
|
getProjectId(): Promise<string>;
|
|
101
97
|
getProjectId(callback: Callback<string, undefined, undefined>): void;
|
|
102
|
-
runReport(request?: protos.google.analytics.data.v1alpha.IRunReportRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IRunReportResponse, protos.google.analytics.data.v1alpha.IRunReportRequest | undefined, {} | undefined]>;
|
|
103
|
-
runReport(request: protos.google.analytics.data.v1alpha.IRunReportRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRunReportResponse, protos.google.analytics.data.v1alpha.IRunReportRequest | null | undefined, {} | null | undefined>): void;
|
|
104
|
-
runReport(request: protos.google.analytics.data.v1alpha.IRunReportRequest, callback: Callback<protos.google.analytics.data.v1alpha.IRunReportResponse, protos.google.analytics.data.v1alpha.IRunReportRequest | null | undefined, {} | null | undefined>): void;
|
|
105
|
-
runPivotReport(request?: protos.google.analytics.data.v1alpha.IRunPivotReportRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IRunPivotReportResponse, protos.google.analytics.data.v1alpha.IRunPivotReportRequest | undefined, {} | undefined]>;
|
|
106
|
-
runPivotReport(request: protos.google.analytics.data.v1alpha.IRunPivotReportRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRunPivotReportResponse, protos.google.analytics.data.v1alpha.IRunPivotReportRequest | null | undefined, {} | null | undefined>): void;
|
|
107
|
-
runPivotReport(request: protos.google.analytics.data.v1alpha.IRunPivotReportRequest, callback: Callback<protos.google.analytics.data.v1alpha.IRunPivotReportResponse, protos.google.analytics.data.v1alpha.IRunPivotReportRequest | null | undefined, {} | null | undefined>): void;
|
|
108
|
-
batchRunReports(request?: protos.google.analytics.data.v1alpha.IBatchRunReportsRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IBatchRunReportsResponse, protos.google.analytics.data.v1alpha.IBatchRunReportsRequest | undefined, {} | undefined]>;
|
|
109
|
-
batchRunReports(request: protos.google.analytics.data.v1alpha.IBatchRunReportsRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IBatchRunReportsResponse, protos.google.analytics.data.v1alpha.IBatchRunReportsRequest | null | undefined, {} | null | undefined>): void;
|
|
110
|
-
batchRunReports(request: protos.google.analytics.data.v1alpha.IBatchRunReportsRequest, callback: Callback<protos.google.analytics.data.v1alpha.IBatchRunReportsResponse, protos.google.analytics.data.v1alpha.IBatchRunReportsRequest | null | undefined, {} | null | undefined>): void;
|
|
111
|
-
batchRunPivotReports(request?: protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IBatchRunPivotReportsResponse, (protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest | undefined), {} | undefined]>;
|
|
112
|
-
batchRunPivotReports(request: protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IBatchRunPivotReportsResponse, protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest | null | undefined, {} | null | undefined>): void;
|
|
113
|
-
batchRunPivotReports(request: protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest, callback: Callback<protos.google.analytics.data.v1alpha.IBatchRunPivotReportsResponse, protos.google.analytics.data.v1alpha.IBatchRunPivotReportsRequest | null | undefined, {} | null | undefined>): void;
|
|
114
|
-
getMetadata(request?: protos.google.analytics.data.v1alpha.IGetMetadataRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IMetadata, protos.google.analytics.data.v1alpha.IGetMetadataRequest | undefined, {} | undefined]>;
|
|
115
|
-
getMetadata(request: protos.google.analytics.data.v1alpha.IGetMetadataRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IMetadata, protos.google.analytics.data.v1alpha.IGetMetadataRequest | null | undefined, {} | null | undefined>): void;
|
|
116
|
-
getMetadata(request: protos.google.analytics.data.v1alpha.IGetMetadataRequest, callback: Callback<protos.google.analytics.data.v1alpha.IMetadata, protos.google.analytics.data.v1alpha.IGetMetadataRequest | null | undefined, {} | null | undefined>): void;
|
|
117
|
-
runRealtimeReport(request?: protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest, options?: CallOptions): Promise<[protos.google.analytics.data.v1alpha.IRunRealtimeReportResponse, (protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest | undefined), {} | undefined]>;
|
|
118
|
-
runRealtimeReport(request: protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRunRealtimeReportResponse, protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest | null | undefined, {} | null | undefined>): void;
|
|
119
|
-
runRealtimeReport(request: protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest, callback: Callback<protos.google.analytics.data.v1alpha.IRunRealtimeReportResponse, protos.google.analytics.data.v1alpha.IRunRealtimeReportRequest | null | undefined, {} | null | undefined>): void;
|
|
120
98
|
/**
|
|
121
|
-
*
|
|
99
|
+
* Returns a customized funnel report of your Google Analytics event data. The
|
|
100
|
+
* data returned from the API is as a table with columns for the requested
|
|
101
|
+
* dimensions and metrics.
|
|
122
102
|
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
*
|
|
103
|
+
* Funnel exploration lets you visualize the steps your users take to complete
|
|
104
|
+
* a task and quickly see how well they are succeeding or failing at each
|
|
105
|
+
* step. For example, how do prospects become shoppers and then become buyers?
|
|
106
|
+
* How do one time buyers become repeat buyers? With this information, you can
|
|
107
|
+
* improve inefficient or abandoned customer journeys. To learn more, see [GA4
|
|
108
|
+
* Funnel Explorations](https://support.google.com/analytics/answer/9327974).
|
|
109
|
+
*
|
|
110
|
+
* @param {Object} request
|
|
111
|
+
* The request object that will be sent.
|
|
112
|
+
* @param {string} request.property
|
|
113
|
+
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
114
|
+
* Specified in the URL path and not the body. To learn more, see [where to
|
|
115
|
+
* find your Property
|
|
116
|
+
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
117
|
+
* Within a batch request, this property should either be unspecified or
|
|
118
|
+
* consistent with the batch-level property.
|
|
119
|
+
*
|
|
120
|
+
* Example: properties/1234
|
|
121
|
+
* @param {number[]} request.dateRanges
|
|
122
|
+
* Date ranges of data to read. If multiple date ranges are requested, each
|
|
123
|
+
* response row will contain a zero based date range index. If two date
|
|
124
|
+
* ranges overlap, the event data for the overlapping days is included in the
|
|
125
|
+
* response rows for both date ranges.
|
|
126
|
+
* @param {google.analytics.data.v1alpha.Funnel} request.funnel
|
|
127
|
+
* The configuration of this request's funnel. This funnel configuration is
|
|
128
|
+
* required.
|
|
129
|
+
* @param {google.analytics.data.v1alpha.FunnelBreakdown} request.funnelBreakdown
|
|
130
|
+
* If specified, this breakdown adds a dimension to the funnel table sub
|
|
131
|
+
* report response. This breakdown dimension expands each funnel step to the
|
|
132
|
+
* unique values of the breakdown dimension. For example, a breakdown by the
|
|
133
|
+
* `deviceCategory` dimension will create rows for `mobile`, `tablet`,
|
|
134
|
+
* `desktop`, and the total.
|
|
135
|
+
* @param {google.analytics.data.v1alpha.FunnelNextAction} request.funnelNextAction
|
|
136
|
+
* If specified, next action adds a dimension to the funnel visualization sub
|
|
137
|
+
* report response. This next action dimension expands each funnel step to the
|
|
138
|
+
* unique values of the next action. For example a next action of the
|
|
139
|
+
* `eventName` dimension will create rows for several events (i.e.
|
|
140
|
+
* `session_start` & `click`) and the total.
|
|
141
|
+
*
|
|
142
|
+
* Next action only supports `eventName` and most Page / Screen dimensions
|
|
143
|
+
* like `pageTitle` and `pagePath`.
|
|
144
|
+
* @param {google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType} request.funnelVisualizationType
|
|
145
|
+
* The funnel visualization type controls the dimensions present in the funnel
|
|
146
|
+
* visualization sub report response. If not specified, `STANDARD_FUNNEL` is
|
|
147
|
+
* used.
|
|
148
|
+
* @param {number[]} request.segments
|
|
149
|
+
* The configurations of segments. Segments are subsets of a property's data.
|
|
150
|
+
* In a funnel report with segments, the funnel is evaluated in each segment.
|
|
151
|
+
*
|
|
152
|
+
* Each segment specified in this request
|
|
153
|
+
* produces a separate row in the response; in the response, each segment
|
|
154
|
+
* identified by its name.
|
|
155
|
+
*
|
|
156
|
+
* The segments parameter is optional. Requests are limited to 4 segments.
|
|
157
|
+
* @param {number} request.limit
|
|
158
|
+
* The number of rows to return. If unspecified, 10,000 rows are returned. The
|
|
159
|
+
* API returns a maximum of 100,000 rows per request, no matter how many you
|
|
160
|
+
* ask for. `limit` must be positive.
|
|
129
161
|
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* @
|
|
162
|
+
* The API can also return fewer rows than the requested `limit`, if there
|
|
163
|
+
* aren't as many dimension values as the `limit`.
|
|
164
|
+
* @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
|
|
165
|
+
* Dimension filters allow you to ask for only specific dimension values in
|
|
166
|
+
* the report. To learn more, see [Creating a Report: Dimension
|
|
167
|
+
* Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
|
|
168
|
+
* for examples. Metrics cannot be used in this filter.
|
|
169
|
+
* @param {boolean} request.returnPropertyQuota
|
|
170
|
+
* Toggles whether to return the current state of this Analytics Property's
|
|
171
|
+
* quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
172
|
+
* @param {object} [options]
|
|
173
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
174
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
175
|
+
* The first element of the array is an object representing [RunFunnelReportResponse]{@link google.analytics.data.v1alpha.RunFunnelReportResponse}.
|
|
176
|
+
* Please see the
|
|
177
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
178
|
+
* for more details and examples.
|
|
179
|
+
* @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.run_funnel_report.js</caption>
|
|
180
|
+
* region_tag:analyticsdata_v1alpha_generated_AlphaAnalyticsData_RunFunnelReport_async
|
|
133
181
|
*/
|
|
134
|
-
|
|
182
|
+
runFunnelReport(request?: protos.google.analytics.data.v1alpha.IRunFunnelReportRequest, options?: CallOptions): Promise<[
|
|
183
|
+
protos.google.analytics.data.v1alpha.IRunFunnelReportResponse,
|
|
184
|
+
protos.google.analytics.data.v1alpha.IRunFunnelReportRequest | undefined,
|
|
185
|
+
{} | undefined
|
|
186
|
+
]>;
|
|
187
|
+
runFunnelReport(request: protos.google.analytics.data.v1alpha.IRunFunnelReportRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRunFunnelReportResponse, protos.google.analytics.data.v1alpha.IRunFunnelReportRequest | null | undefined, {} | null | undefined>): void;
|
|
188
|
+
runFunnelReport(request: protos.google.analytics.data.v1alpha.IRunFunnelReportRequest, callback: Callback<protos.google.analytics.data.v1alpha.IRunFunnelReportResponse, protos.google.analytics.data.v1alpha.IRunFunnelReportRequest | null | undefined, {} | null | undefined>): void;
|
|
135
189
|
/**
|
|
136
190
|
* Terminate the gRPC channel and close the client.
|
|
137
191
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -39,7 +39,7 @@ class AlphaAnalyticsDataClient {
|
|
|
39
39
|
*
|
|
40
40
|
* @param {object} [options] - The configuration object.
|
|
41
41
|
* The options accepted by the constructor are described in detail
|
|
42
|
-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/
|
|
42
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
43
43
|
* The common options are:
|
|
44
44
|
* @param {object} [options.credentials] - Credentials object.
|
|
45
45
|
* @param {string} [options.credentials.client_email]
|
|
@@ -62,11 +62,10 @@ class AlphaAnalyticsDataClient {
|
|
|
62
62
|
* API remote host.
|
|
63
63
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
64
64
|
* Follows the structure of {@link gapicConfig}.
|
|
65
|
-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* if you need to override this behavior.
|
|
65
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
|
66
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
67
|
+
* For more information, please check the
|
|
68
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
70
69
|
*/
|
|
71
70
|
constructor(opts) {
|
|
72
71
|
var _a, _b;
|
|
@@ -124,12 +123,6 @@ class AlphaAnalyticsDataClient {
|
|
|
124
123
|
}
|
|
125
124
|
// Load the applicable protos.
|
|
126
125
|
this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
|
|
127
|
-
// This API contains "path templates"; forward-slash-separated
|
|
128
|
-
// identifiers to uniquely identify resources within the API.
|
|
129
|
-
// Create useful helper objects for these.
|
|
130
|
-
this.pathTemplates = {
|
|
131
|
-
metadataPathTemplate: new this._gaxModule.PathTemplate('properties/{property}/metadata'),
|
|
132
|
-
};
|
|
133
126
|
// Put together the default options sent with requests.
|
|
134
127
|
this._defaults = this._gaxGrpc.constructSettings('google.analytics.data.v1alpha.AlphaAnalyticsData', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
|
135
128
|
// Set up a dictionary of "inner API calls"; the core implementation
|
|
@@ -164,14 +157,7 @@ class AlphaAnalyticsDataClient {
|
|
|
164
157
|
.AlphaAnalyticsData, this._opts, this._providedCustomServicePath);
|
|
165
158
|
// Iterate over each of the methods that the service provides
|
|
166
159
|
// and create an API call method for each.
|
|
167
|
-
const alphaAnalyticsDataStubMethods = [
|
|
168
|
-
'runReport',
|
|
169
|
-
'runPivotReport',
|
|
170
|
-
'batchRunReports',
|
|
171
|
-
'batchRunPivotReports',
|
|
172
|
-
'getMetadata',
|
|
173
|
-
'runRealtimeReport',
|
|
174
|
-
];
|
|
160
|
+
const alphaAnalyticsDataStubMethods = ['runFunnelReport'];
|
|
175
161
|
for (const methodName of alphaAnalyticsDataStubMethods) {
|
|
176
162
|
const callPromise = this.alphaAnalyticsDataStub.then(stub => (...args) => {
|
|
177
163
|
if (this._terminated) {
|
|
@@ -232,341 +218,7 @@ class AlphaAnalyticsDataClient {
|
|
|
232
218
|
}
|
|
233
219
|
return this.auth.getProjectId();
|
|
234
220
|
}
|
|
235
|
-
|
|
236
|
-
* Returns a customized report of your Google Analytics event data. Reports
|
|
237
|
-
* contain statistics derived from data collected by the Google Analytics
|
|
238
|
-
* tracking code. The data returned from the API is as a table with columns
|
|
239
|
-
* for the requested dimensions and metrics. Metrics are individual
|
|
240
|
-
* measurements of user activity on your property, such as active users or
|
|
241
|
-
* event count. Dimensions break down metrics across some common criteria,
|
|
242
|
-
* such as country or event name.
|
|
243
|
-
*
|
|
244
|
-
* @param {Object} request
|
|
245
|
-
* The request object that will be sent.
|
|
246
|
-
* @param {google.analytics.data.v1alpha.Entity} request.entity
|
|
247
|
-
* A property whose events are tracked. Within a batch request, this entity
|
|
248
|
-
* should either be unspecified or consistent with the batch-level entity.
|
|
249
|
-
* @param {number[]} request.dimensions
|
|
250
|
-
* The dimensions requested and displayed.
|
|
251
|
-
* @param {number[]} request.metrics
|
|
252
|
-
* The metrics requested and displayed.
|
|
253
|
-
* @param {number[]} request.dateRanges
|
|
254
|
-
* Date ranges of data to read. If multiple date ranges are requested, each
|
|
255
|
-
* response row will contain a zero based date range index. If two date
|
|
256
|
-
* ranges overlap, the event data for the overlapping days is included in the
|
|
257
|
-
* response rows for both date ranges. In a cohort request, this `dateRanges`
|
|
258
|
-
* must be unspecified.
|
|
259
|
-
* @param {number} request.offset
|
|
260
|
-
* The row count of the start row. The first row is counted as row 0.
|
|
261
|
-
*
|
|
262
|
-
* To learn more about this pagination parameter, see
|
|
263
|
-
* [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
264
|
-
* @param {number} request.limit
|
|
265
|
-
* The number of rows to return. If unspecified, 10 rows are returned. If
|
|
266
|
-
* -1, all rows are returned.
|
|
267
|
-
*
|
|
268
|
-
* To learn more about this pagination parameter, see
|
|
269
|
-
* [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
270
|
-
* @param {number[]} request.metricAggregations
|
|
271
|
-
* Aggregation of metrics. Aggregated metric values will be shown in rows
|
|
272
|
-
* where the dimension_values are set to "RESERVED_(MetricAggregation)".
|
|
273
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
|
|
274
|
-
* The filter clause of dimensions. Dimensions must be requested to be used in
|
|
275
|
-
* this filter. Metrics cannot be used in this filter.
|
|
276
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
|
|
277
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
278
|
-
* SQL having-clause. Metrics must be requested to be used in this filter.
|
|
279
|
-
* Dimensions cannot be used in this filter.
|
|
280
|
-
* @param {number[]} request.orderBys
|
|
281
|
-
* Specifies how rows are ordered in the response.
|
|
282
|
-
* @param {string} request.currencyCode
|
|
283
|
-
* A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
|
284
|
-
* If the field is empty, the report uses the entity's default currency.
|
|
285
|
-
* @param {google.analytics.data.v1alpha.CohortSpec} request.cohortSpec
|
|
286
|
-
* Cohort group associated with this request. If there is a cohort group
|
|
287
|
-
* in the request the 'cohort' dimension must be present.
|
|
288
|
-
* @param {boolean} request.keepEmptyRows
|
|
289
|
-
* If false or unspecified, each row with all metrics equal to 0 will not be
|
|
290
|
-
* returned. If true, these rows will be returned if they are not separately
|
|
291
|
-
* removed by a filter.
|
|
292
|
-
* @param {boolean} request.returnPropertyQuota
|
|
293
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
294
|
-
* quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
295
|
-
* @param {object} [options]
|
|
296
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
297
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
298
|
-
* The first element of the array is an object representing [RunReportResponse]{@link google.analytics.data.v1alpha.RunReportResponse}.
|
|
299
|
-
* Please see the
|
|
300
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
301
|
-
* for more details and examples.
|
|
302
|
-
* @example
|
|
303
|
-
* const [response] = await client.runReport(request);
|
|
304
|
-
*/
|
|
305
|
-
runReport(request, optionsOrCallback, callback) {
|
|
306
|
-
request = request || {};
|
|
307
|
-
let options;
|
|
308
|
-
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
309
|
-
callback = optionsOrCallback;
|
|
310
|
-
options = {};
|
|
311
|
-
}
|
|
312
|
-
else {
|
|
313
|
-
options = optionsOrCallback;
|
|
314
|
-
}
|
|
315
|
-
options = options || {};
|
|
316
|
-
this.initialize();
|
|
317
|
-
return this.innerApiCalls.runReport(request, options, callback);
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Returns a customized pivot report of your Google Analytics event data.
|
|
321
|
-
* Pivot reports are more advanced and expressive formats than regular
|
|
322
|
-
* reports. In a pivot report, dimensions are only visible if they are
|
|
323
|
-
* included in a pivot. Multiple pivots can be specified to further dissect
|
|
324
|
-
* your data.
|
|
325
|
-
*
|
|
326
|
-
* @param {Object} request
|
|
327
|
-
* The request object that will be sent.
|
|
328
|
-
* @param {google.analytics.data.v1alpha.Entity} request.entity
|
|
329
|
-
* A property whose events are tracked. Within a batch request, this entity
|
|
330
|
-
* should either be unspecified or consistent with the batch-level entity.
|
|
331
|
-
* @param {number[]} request.dimensions
|
|
332
|
-
* The dimensions requested. All defined dimensions must be used by one of the
|
|
333
|
-
* following: dimension_expression, dimension_filter, pivots, order_bys.
|
|
334
|
-
* @param {number[]} request.metrics
|
|
335
|
-
* The metrics requested, at least one metric needs to be specified. All
|
|
336
|
-
* defined metrics must be used by one of the following: metric_expression,
|
|
337
|
-
* metric_filter, order_bys.
|
|
338
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
|
|
339
|
-
* The filter clause of dimensions. Dimensions must be requested to be used in
|
|
340
|
-
* this filter. Metrics cannot be used in this filter.
|
|
341
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
|
|
342
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
343
|
-
* SQL having-clause. Metrics must be requested to be used in this filter.
|
|
344
|
-
* Dimensions cannot be used in this filter.
|
|
345
|
-
* @param {number[]} request.pivots
|
|
346
|
-
* Describes the visual format of the report's dimensions in columns or rows.
|
|
347
|
-
* The union of the fieldNames (dimension names) in all pivots must be a
|
|
348
|
-
* subset of dimension names defined in Dimensions. No two pivots can share a
|
|
349
|
-
* dimension. A dimension is only visible if it appears in a pivot.
|
|
350
|
-
* @param {number[]} request.dateRanges
|
|
351
|
-
* The date range to retrieve event data for the report. If multiple date
|
|
352
|
-
* ranges are specified, event data from each date range is used in the
|
|
353
|
-
* report. A special dimension with field name "dateRange" can be included in
|
|
354
|
-
* a Pivot's field names; if included, the report compares between date
|
|
355
|
-
* ranges. In a cohort request, this `dateRanges` must be unspecified.
|
|
356
|
-
* @param {string} request.currencyCode
|
|
357
|
-
* A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
|
358
|
-
* If the field is empty, the report uses the entity's default currency.
|
|
359
|
-
* @param {google.analytics.data.v1alpha.CohortSpec} request.cohortSpec
|
|
360
|
-
* Cohort group associated with this request. If there is a cohort group
|
|
361
|
-
* in the request the 'cohort' dimension must be present.
|
|
362
|
-
* @param {boolean} request.keepEmptyRows
|
|
363
|
-
* If false or unspecified, each row with all metrics equal to 0 will not be
|
|
364
|
-
* returned. If true, these rows will be returned if they are not separately
|
|
365
|
-
* removed by a filter.
|
|
366
|
-
* @param {boolean} request.returnPropertyQuota
|
|
367
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
368
|
-
* quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
369
|
-
* @param {object} [options]
|
|
370
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
371
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
372
|
-
* The first element of the array is an object representing [RunPivotReportResponse]{@link google.analytics.data.v1alpha.RunPivotReportResponse}.
|
|
373
|
-
* Please see the
|
|
374
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
375
|
-
* for more details and examples.
|
|
376
|
-
* @example
|
|
377
|
-
* const [response] = await client.runPivotReport(request);
|
|
378
|
-
*/
|
|
379
|
-
runPivotReport(request, optionsOrCallback, callback) {
|
|
380
|
-
request = request || {};
|
|
381
|
-
let options;
|
|
382
|
-
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
383
|
-
callback = optionsOrCallback;
|
|
384
|
-
options = {};
|
|
385
|
-
}
|
|
386
|
-
else {
|
|
387
|
-
options = optionsOrCallback;
|
|
388
|
-
}
|
|
389
|
-
options = options || {};
|
|
390
|
-
this.initialize();
|
|
391
|
-
return this.innerApiCalls.runPivotReport(request, options, callback);
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Returns multiple reports in a batch. All reports must be for the same
|
|
395
|
-
* Entity.
|
|
396
|
-
*
|
|
397
|
-
* @param {Object} request
|
|
398
|
-
* The request object that will be sent.
|
|
399
|
-
* @param {google.analytics.data.v1alpha.Entity} request.entity
|
|
400
|
-
* A property whose events are tracked. This entity must be specified for the
|
|
401
|
-
* batch. The entity within RunReportRequest may either be unspecified or
|
|
402
|
-
* consistent with this entity.
|
|
403
|
-
* @param {number[]} request.requests
|
|
404
|
-
* Individual requests. Each request has a separate report response. Each
|
|
405
|
-
* batch request is allowed up to 5 requests.
|
|
406
|
-
* @param {object} [options]
|
|
407
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
408
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
409
|
-
* The first element of the array is an object representing [BatchRunReportsResponse]{@link google.analytics.data.v1alpha.BatchRunReportsResponse}.
|
|
410
|
-
* Please see the
|
|
411
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
412
|
-
* for more details and examples.
|
|
413
|
-
* @example
|
|
414
|
-
* const [response] = await client.batchRunReports(request);
|
|
415
|
-
*/
|
|
416
|
-
batchRunReports(request, optionsOrCallback, callback) {
|
|
417
|
-
request = request || {};
|
|
418
|
-
let options;
|
|
419
|
-
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
420
|
-
callback = optionsOrCallback;
|
|
421
|
-
options = {};
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
options = optionsOrCallback;
|
|
425
|
-
}
|
|
426
|
-
options = options || {};
|
|
427
|
-
this.initialize();
|
|
428
|
-
return this.innerApiCalls.batchRunReports(request, options, callback);
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* Returns multiple pivot reports in a batch. All reports must be for the same
|
|
432
|
-
* Entity.
|
|
433
|
-
*
|
|
434
|
-
* @param {Object} request
|
|
435
|
-
* The request object that will be sent.
|
|
436
|
-
* @param {google.analytics.data.v1alpha.Entity} request.entity
|
|
437
|
-
* A property whose events are tracked. This entity must be specified for the
|
|
438
|
-
* batch. The entity within RunPivotReportRequest may either be unspecified or
|
|
439
|
-
* consistent with this entity.
|
|
440
|
-
* @param {number[]} request.requests
|
|
441
|
-
* Individual requests. Each request has a separate pivot report response.
|
|
442
|
-
* Each batch request is allowed up to 5 requests.
|
|
443
|
-
* @param {object} [options]
|
|
444
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
445
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
446
|
-
* The first element of the array is an object representing [BatchRunPivotReportsResponse]{@link google.analytics.data.v1alpha.BatchRunPivotReportsResponse}.
|
|
447
|
-
* Please see the
|
|
448
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
449
|
-
* for more details and examples.
|
|
450
|
-
* @example
|
|
451
|
-
* const [response] = await client.batchRunPivotReports(request);
|
|
452
|
-
*/
|
|
453
|
-
batchRunPivotReports(request, optionsOrCallback, callback) {
|
|
454
|
-
request = request || {};
|
|
455
|
-
let options;
|
|
456
|
-
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
457
|
-
callback = optionsOrCallback;
|
|
458
|
-
options = {};
|
|
459
|
-
}
|
|
460
|
-
else {
|
|
461
|
-
options = optionsOrCallback;
|
|
462
|
-
}
|
|
463
|
-
options = options || {};
|
|
464
|
-
this.initialize();
|
|
465
|
-
return this.innerApiCalls.batchRunPivotReports(request, options, callback);
|
|
466
|
-
}
|
|
467
|
-
/**
|
|
468
|
-
* Returns metadata for dimensions and metrics available in reporting methods.
|
|
469
|
-
* Used to explore the dimensions and metrics. In this method, a Google
|
|
470
|
-
* Analytics GA4 Property Identifier is specified in the request, and
|
|
471
|
-
* the metadata response includes Custom dimensions and metrics as well as
|
|
472
|
-
* Universal metadata.
|
|
473
|
-
*
|
|
474
|
-
* For example if a custom metric with parameter name `levels_unlocked` is
|
|
475
|
-
* registered to a property, the Metadata response will contain
|
|
476
|
-
* `customEvent:levels_unlocked`. Universal metadata are dimensions and
|
|
477
|
-
* metrics applicable to any property such as `country` and `totalUsers`.
|
|
478
|
-
*
|
|
479
|
-
* @param {Object} request
|
|
480
|
-
* The request object that will be sent.
|
|
481
|
-
* @param {string} request.name
|
|
482
|
-
* Required. The resource name of the metadata to retrieve. This name field is
|
|
483
|
-
* specified in the URL path and not URL parameters. Property is a numeric
|
|
484
|
-
* Google Analytics GA4 Property identifier. To learn more, see [where to find
|
|
485
|
-
* your Property
|
|
486
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
487
|
-
*
|
|
488
|
-
* Example: properties/1234/metadata
|
|
489
|
-
*
|
|
490
|
-
* Set the Property ID to 0 for dimensions and metrics common to all
|
|
491
|
-
* properties. In this special mode, this method will not return custom
|
|
492
|
-
* dimensions and metrics.
|
|
493
|
-
* @param {object} [options]
|
|
494
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
495
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
496
|
-
* The first element of the array is an object representing [Metadata]{@link google.analytics.data.v1alpha.Metadata}.
|
|
497
|
-
* Please see the
|
|
498
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
499
|
-
* for more details and examples.
|
|
500
|
-
* @example
|
|
501
|
-
* const [response] = await client.getMetadata(request);
|
|
502
|
-
*/
|
|
503
|
-
getMetadata(request, optionsOrCallback, callback) {
|
|
504
|
-
request = request || {};
|
|
505
|
-
let options;
|
|
506
|
-
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
507
|
-
callback = optionsOrCallback;
|
|
508
|
-
options = {};
|
|
509
|
-
}
|
|
510
|
-
else {
|
|
511
|
-
options = optionsOrCallback;
|
|
512
|
-
}
|
|
513
|
-
options = options || {};
|
|
514
|
-
options.otherArgs = options.otherArgs || {};
|
|
515
|
-
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
516
|
-
options.otherArgs.headers['x-goog-request-params'] =
|
|
517
|
-
gax.routingHeader.fromParams({
|
|
518
|
-
name: request.name || '',
|
|
519
|
-
});
|
|
520
|
-
this.initialize();
|
|
521
|
-
return this.innerApiCalls.getMetadata(request, options, callback);
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
* The Google Analytics Realtime API returns a customized report of realtime
|
|
525
|
-
* event data for your property. These reports show events and usage from the
|
|
526
|
-
* last 30 minutes.
|
|
527
|
-
*
|
|
528
|
-
* @param {Object} request
|
|
529
|
-
* The request object that will be sent.
|
|
530
|
-
* @param {string} request.property
|
|
531
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
532
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
533
|
-
* find your Property
|
|
534
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
535
|
-
*
|
|
536
|
-
* Example: properties/1234
|
|
537
|
-
* @param {number[]} request.dimensions
|
|
538
|
-
* The dimensions requested and displayed.
|
|
539
|
-
* @param {number[]} request.metrics
|
|
540
|
-
* The metrics requested and displayed.
|
|
541
|
-
* @param {number} request.limit
|
|
542
|
-
* The number of rows to return. If unspecified, 10 rows are returned. If
|
|
543
|
-
* -1, all rows are returned.
|
|
544
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
|
|
545
|
-
* The filter clause of dimensions. Dimensions must be requested to be used in
|
|
546
|
-
* this filter. Metrics cannot be used in this filter.
|
|
547
|
-
* @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
|
|
548
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
549
|
-
* SQL having-clause. Metrics must be requested to be used in this filter.
|
|
550
|
-
* Dimensions cannot be used in this filter.
|
|
551
|
-
* @param {number[]} request.metricAggregations
|
|
552
|
-
* Aggregation of metrics. Aggregated metric values will be shown in rows
|
|
553
|
-
* where the dimension_values are set to "RESERVED_(MetricAggregation)".
|
|
554
|
-
* @param {number[]} request.orderBys
|
|
555
|
-
* Specifies how rows are ordered in the response.
|
|
556
|
-
* @param {boolean} request.returnPropertyQuota
|
|
557
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
558
|
-
* Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
559
|
-
* @param {object} [options]
|
|
560
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
561
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
562
|
-
* The first element of the array is an object representing [RunRealtimeReportResponse]{@link google.analytics.data.v1alpha.RunRealtimeReportResponse}.
|
|
563
|
-
* Please see the
|
|
564
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
565
|
-
* for more details and examples.
|
|
566
|
-
* @example
|
|
567
|
-
* const [response] = await client.runRealtimeReport(request);
|
|
568
|
-
*/
|
|
569
|
-
runRealtimeReport(request, optionsOrCallback, callback) {
|
|
221
|
+
runFunnelReport(request, optionsOrCallback, callback) {
|
|
570
222
|
request = request || {};
|
|
571
223
|
let options;
|
|
572
224
|
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
|
@@ -584,31 +236,7 @@ class AlphaAnalyticsDataClient {
|
|
|
584
236
|
property: request.property || '',
|
|
585
237
|
});
|
|
586
238
|
this.initialize();
|
|
587
|
-
return this.innerApiCalls.
|
|
588
|
-
}
|
|
589
|
-
// --------------------
|
|
590
|
-
// -- Path templates --
|
|
591
|
-
// --------------------
|
|
592
|
-
/**
|
|
593
|
-
* Return a fully-qualified metadata resource name string.
|
|
594
|
-
*
|
|
595
|
-
* @param {string} property
|
|
596
|
-
* @returns {string} Resource name string.
|
|
597
|
-
*/
|
|
598
|
-
metadataPath(property) {
|
|
599
|
-
return this.pathTemplates.metadataPathTemplate.render({
|
|
600
|
-
property: property,
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* Parse the property from Metadata resource.
|
|
605
|
-
*
|
|
606
|
-
* @param {string} metadataName
|
|
607
|
-
* A fully-qualified path representing Metadata resource.
|
|
608
|
-
* @returns {string} A string representing the property.
|
|
609
|
-
*/
|
|
610
|
-
matchPropertyFromMetadataName(metadataName) {
|
|
611
|
-
return this.pathTemplates.metadataPathTemplate.match(metadataName).property;
|
|
239
|
+
return this.innerApiCalls.runFunnelReport(request, options, callback);
|
|
612
240
|
}
|
|
613
241
|
/**
|
|
614
242
|
* Terminate the gRPC channel and close the client.
|
|
@@ -617,8 +245,7 @@ class AlphaAnalyticsDataClient {
|
|
|
617
245
|
* @returns {Promise} A promise that resolves when the client is closed.
|
|
618
246
|
*/
|
|
619
247
|
close() {
|
|
620
|
-
this.
|
|
621
|
-
if (!this._terminated) {
|
|
248
|
+
if (this.alphaAnalyticsDataStub && !this._terminated) {
|
|
622
249
|
return this.alphaAnalyticsDataStub.then(stub => {
|
|
623
250
|
this._terminated = true;
|
|
624
251
|
stub.close();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1alpha/alpha_analytics_data_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mBAAmB;AACnB,kCAAkC;AAIlC,uDAAwD;AACxD;;;;GAIG;AACH,yEAAyE;AAEzE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;GAIG;AACH,MAAa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"alpha_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1alpha/alpha_analytics_data_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mBAAmB;AACnB,kCAAkC;AAIlC,uDAAwD;AACxD;;;;GAIG;AACH,yEAAyE;AAEzE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;GAIG;AACH,MAAa,wBAAwB;IAmBnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,YAAY,IAAoB;;QAnDxB,gBAAW,GAAG,KAAK,CAAC;QAQ5B,gBAAW,GAAgB;YACzB,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