@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20231127 → 0.0.20231128
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/index.d.ts +7358 -11016
- package/package.json +6 -6
- package/readme.md +74 -49
- package/tests.ts +0 -1945
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/tests.ts
DELETED
|
@@ -1,1945 +0,0 @@
|
|
|
1
|
-
/* This is stub file for gapi.client.analyticsadmin-v1alpha definition tests */
|
|
2
|
-
// IMPORTANT
|
|
3
|
-
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
|
-
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
|
-
|
|
6
|
-
// Revision: 20231127
|
|
7
|
-
|
|
8
|
-
gapi.load('client', async () => {
|
|
9
|
-
/** now we can use gapi.client */
|
|
10
|
-
|
|
11
|
-
await gapi.client.load('https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha');
|
|
12
|
-
/** now we can use gapi.client.analyticsadmin */
|
|
13
|
-
|
|
14
|
-
/** don't forget to authenticate your client before sending any request to resources: */
|
|
15
|
-
/** declare client_id registered in Google Developers Console */
|
|
16
|
-
const client_id = '<<PUT YOUR CLIENT ID HERE>>';
|
|
17
|
-
const scope = [
|
|
18
|
-
/** Edit Google Analytics management entities */
|
|
19
|
-
'https://www.googleapis.com/auth/analytics.edit',
|
|
20
|
-
/** Manage Google Analytics Account users by email address */
|
|
21
|
-
'https://www.googleapis.com/auth/analytics.manage.users',
|
|
22
|
-
/** View Google Analytics user permissions */
|
|
23
|
-
'https://www.googleapis.com/auth/analytics.manage.users.readonly',
|
|
24
|
-
/** See and download your Google Analytics data */
|
|
25
|
-
'https://www.googleapis.com/auth/analytics.readonly',
|
|
26
|
-
];
|
|
27
|
-
const immediate = false;
|
|
28
|
-
gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
|
|
29
|
-
if (authResult && !authResult.error) {
|
|
30
|
-
/** handle successful authorization */
|
|
31
|
-
run();
|
|
32
|
-
} else {
|
|
33
|
-
/** handle authorization error */
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
async function run() {
|
|
38
|
-
/**
|
|
39
|
-
* Marks target Account as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can
|
|
40
|
-
* UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently
|
|
41
|
-
* purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
|
|
42
|
-
*/
|
|
43
|
-
await gapi.client.analyticsadmin.accounts.delete({
|
|
44
|
-
name: "Test string",
|
|
45
|
-
});
|
|
46
|
-
/** Lookup for a single Account. */
|
|
47
|
-
await gapi.client.analyticsadmin.accounts.get({
|
|
48
|
-
name: "Test string",
|
|
49
|
-
});
|
|
50
|
-
/** Get data sharing settings on an account. Data sharing settings are singletons. */
|
|
51
|
-
await gapi.client.analyticsadmin.accounts.getDataSharingSettings({
|
|
52
|
-
name: "Test string",
|
|
53
|
-
});
|
|
54
|
-
/**
|
|
55
|
-
* Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns
|
|
56
|
-
* an empty list if no relevant accounts are found.
|
|
57
|
-
*/
|
|
58
|
-
await gapi.client.analyticsadmin.accounts.list({
|
|
59
|
-
pageSize: 42,
|
|
60
|
-
pageToken: "Test string",
|
|
61
|
-
showDeleted: true,
|
|
62
|
-
});
|
|
63
|
-
/** Updates an account. */
|
|
64
|
-
await gapi.client.analyticsadmin.accounts.patch({
|
|
65
|
-
name: "Test string",
|
|
66
|
-
updateMask: "Test string",
|
|
67
|
-
}, {
|
|
68
|
-
createTime: "Test string",
|
|
69
|
-
deleted: true,
|
|
70
|
-
displayName: "Test string",
|
|
71
|
-
name: "Test string",
|
|
72
|
-
regionCode: "Test string",
|
|
73
|
-
updateTime: "Test string",
|
|
74
|
-
});
|
|
75
|
-
/** Requests a ticket for creating an account. */
|
|
76
|
-
await gapi.client.analyticsadmin.accounts.provisionAccountTicket({
|
|
77
|
-
}, {
|
|
78
|
-
account: {
|
|
79
|
-
createTime: "Test string",
|
|
80
|
-
deleted: true,
|
|
81
|
-
displayName: "Test string",
|
|
82
|
-
name: "Test string",
|
|
83
|
-
regionCode: "Test string",
|
|
84
|
-
updateTime: "Test string",
|
|
85
|
-
},
|
|
86
|
-
redirectUri: "Test string",
|
|
87
|
-
});
|
|
88
|
-
/**
|
|
89
|
-
* Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
|
|
90
|
-
* Data Access Reports can be requested for a property. The property must be in Google Analytics 360. This method is only available to Administrators. These data access records include GA4
|
|
91
|
-
* UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include
|
|
92
|
-
* property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see
|
|
93
|
-
* [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
|
94
|
-
*/
|
|
95
|
-
await gapi.client.analyticsadmin.accounts.runAccessReport({
|
|
96
|
-
entity: "Test string",
|
|
97
|
-
}, {
|
|
98
|
-
dateRanges: [
|
|
99
|
-
{
|
|
100
|
-
endDate: "Test string",
|
|
101
|
-
startDate: "Test string",
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
dimensionFilter: {
|
|
105
|
-
accessFilter: {
|
|
106
|
-
betweenFilter: {
|
|
107
|
-
fromValue: {
|
|
108
|
-
doubleValue: 42,
|
|
109
|
-
int64Value: "Test string",
|
|
110
|
-
},
|
|
111
|
-
toValue: {
|
|
112
|
-
doubleValue: 42,
|
|
113
|
-
int64Value: "Test string",
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
fieldName: "Test string",
|
|
117
|
-
inListFilter: {
|
|
118
|
-
caseSensitive: true,
|
|
119
|
-
values: [
|
|
120
|
-
"Test string"
|
|
121
|
-
],
|
|
122
|
-
},
|
|
123
|
-
numericFilter: {
|
|
124
|
-
operation: "Test string",
|
|
125
|
-
value: {
|
|
126
|
-
doubleValue: 42,
|
|
127
|
-
int64Value: "Test string",
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
stringFilter: {
|
|
131
|
-
caseSensitive: true,
|
|
132
|
-
matchType: "Test string",
|
|
133
|
-
value: "Test string",
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
andGroup: {
|
|
137
|
-
expressions: undefined,
|
|
138
|
-
},
|
|
139
|
-
notExpression: undefined,
|
|
140
|
-
orGroup: {
|
|
141
|
-
expressions: undefined,
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
dimensions: [
|
|
145
|
-
{
|
|
146
|
-
dimensionName: "Test string",
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
expandGroups: true,
|
|
150
|
-
includeAllUsers: true,
|
|
151
|
-
limit: "Test string",
|
|
152
|
-
metricFilter: {
|
|
153
|
-
accessFilter: {
|
|
154
|
-
betweenFilter: {
|
|
155
|
-
fromValue: {
|
|
156
|
-
doubleValue: 42,
|
|
157
|
-
int64Value: "Test string",
|
|
158
|
-
},
|
|
159
|
-
toValue: {
|
|
160
|
-
doubleValue: 42,
|
|
161
|
-
int64Value: "Test string",
|
|
162
|
-
},
|
|
163
|
-
},
|
|
164
|
-
fieldName: "Test string",
|
|
165
|
-
inListFilter: {
|
|
166
|
-
caseSensitive: true,
|
|
167
|
-
values: [
|
|
168
|
-
"Test string"
|
|
169
|
-
],
|
|
170
|
-
},
|
|
171
|
-
numericFilter: {
|
|
172
|
-
operation: "Test string",
|
|
173
|
-
value: {
|
|
174
|
-
doubleValue: 42,
|
|
175
|
-
int64Value: "Test string",
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
stringFilter: {
|
|
179
|
-
caseSensitive: true,
|
|
180
|
-
matchType: "Test string",
|
|
181
|
-
value: "Test string",
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
andGroup: {
|
|
185
|
-
expressions: undefined,
|
|
186
|
-
},
|
|
187
|
-
notExpression: undefined,
|
|
188
|
-
orGroup: {
|
|
189
|
-
expressions: undefined,
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
metrics: [
|
|
193
|
-
{
|
|
194
|
-
metricName: "Test string",
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
offset: "Test string",
|
|
198
|
-
orderBys: [
|
|
199
|
-
{
|
|
200
|
-
desc: true,
|
|
201
|
-
dimension: {
|
|
202
|
-
dimensionName: "Test string",
|
|
203
|
-
orderType: "Test string",
|
|
204
|
-
},
|
|
205
|
-
metric: {
|
|
206
|
-
metricName: "Test string",
|
|
207
|
-
},
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
returnEntityQuota: true,
|
|
211
|
-
timeZone: "Test string",
|
|
212
|
-
});
|
|
213
|
-
/** Searches through all changes to an account or its children given the specified set of filters. */
|
|
214
|
-
await gapi.client.analyticsadmin.accounts.searchChangeHistoryEvents({
|
|
215
|
-
account: "Test string",
|
|
216
|
-
}, {
|
|
217
|
-
action: [
|
|
218
|
-
"Test string"
|
|
219
|
-
],
|
|
220
|
-
actorEmail: [
|
|
221
|
-
"Test string"
|
|
222
|
-
],
|
|
223
|
-
earliestChangeTime: "Test string",
|
|
224
|
-
latestChangeTime: "Test string",
|
|
225
|
-
pageSize: 42,
|
|
226
|
-
pageToken: "Test string",
|
|
227
|
-
property: "Test string",
|
|
228
|
-
resourceType: [
|
|
229
|
-
"Test string"
|
|
230
|
-
],
|
|
231
|
-
});
|
|
232
|
-
/**
|
|
233
|
-
* Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be
|
|
234
|
-
* created.
|
|
235
|
-
*/
|
|
236
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.batchCreate({
|
|
237
|
-
parent: "Test string",
|
|
238
|
-
}, {
|
|
239
|
-
requests: [
|
|
240
|
-
{
|
|
241
|
-
accessBinding: {
|
|
242
|
-
name: "Test string",
|
|
243
|
-
roles: [
|
|
244
|
-
"Test string"
|
|
245
|
-
],
|
|
246
|
-
user: "Test string",
|
|
247
|
-
},
|
|
248
|
-
parent: "Test string",
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
});
|
|
252
|
-
/** Deletes information about multiple users' links to an account or property. */
|
|
253
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.batchDelete({
|
|
254
|
-
parent: "Test string",
|
|
255
|
-
}, {
|
|
256
|
-
requests: [
|
|
257
|
-
{
|
|
258
|
-
name: "Test string",
|
|
259
|
-
}
|
|
260
|
-
],
|
|
261
|
-
});
|
|
262
|
-
/** Gets information about multiple access bindings to an account or property. */
|
|
263
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.batchGet({
|
|
264
|
-
names: "Test string",
|
|
265
|
-
parent: "Test string",
|
|
266
|
-
});
|
|
267
|
-
/** Updates information about multiple access bindings to an account or property. */
|
|
268
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.batchUpdate({
|
|
269
|
-
parent: "Test string",
|
|
270
|
-
}, {
|
|
271
|
-
requests: [
|
|
272
|
-
{
|
|
273
|
-
accessBinding: {
|
|
274
|
-
name: "Test string",
|
|
275
|
-
roles: [
|
|
276
|
-
"Test string"
|
|
277
|
-
],
|
|
278
|
-
user: "Test string",
|
|
279
|
-
},
|
|
280
|
-
}
|
|
281
|
-
],
|
|
282
|
-
});
|
|
283
|
-
/** Creates an access binding on an account or property. */
|
|
284
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.create({
|
|
285
|
-
parent: "Test string",
|
|
286
|
-
}, {
|
|
287
|
-
name: "Test string",
|
|
288
|
-
roles: [
|
|
289
|
-
"Test string"
|
|
290
|
-
],
|
|
291
|
-
user: "Test string",
|
|
292
|
-
});
|
|
293
|
-
/** Deletes an access binding on an account or property. */
|
|
294
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.delete({
|
|
295
|
-
name: "Test string",
|
|
296
|
-
});
|
|
297
|
-
/** Gets information about an access binding. */
|
|
298
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.get({
|
|
299
|
-
name: "Test string",
|
|
300
|
-
});
|
|
301
|
-
/** Lists all access bindings on an account or property. */
|
|
302
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.list({
|
|
303
|
-
pageSize: 42,
|
|
304
|
-
pageToken: "Test string",
|
|
305
|
-
parent: "Test string",
|
|
306
|
-
});
|
|
307
|
-
/** Updates an access binding on an account or property. */
|
|
308
|
-
await gapi.client.analyticsadmin.accounts.accessBindings.patch({
|
|
309
|
-
name: "Test string",
|
|
310
|
-
}, {
|
|
311
|
-
name: "Test string",
|
|
312
|
-
roles: [
|
|
313
|
-
"Test string"
|
|
314
|
-
],
|
|
315
|
-
user: "Test string",
|
|
316
|
-
});
|
|
317
|
-
/** Returns summaries of all accounts accessible by the caller. */
|
|
318
|
-
await gapi.client.analyticsadmin.accountSummaries.list({
|
|
319
|
-
pageSize: 42,
|
|
320
|
-
pageToken: "Test string",
|
|
321
|
-
});
|
|
322
|
-
/**
|
|
323
|
-
* Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before
|
|
324
|
-
* MeasurementProtocolSecret resources may be created.
|
|
325
|
-
*/
|
|
326
|
-
await gapi.client.analyticsadmin.properties.acknowledgeUserDataCollection({
|
|
327
|
-
property: "Test string",
|
|
328
|
-
}, {
|
|
329
|
-
acknowledgement: "Test string",
|
|
330
|
-
});
|
|
331
|
-
/** Creates an "GA4" property with the specified location and attributes. */
|
|
332
|
-
await gapi.client.analyticsadmin.properties.create({
|
|
333
|
-
}, {
|
|
334
|
-
account: "Test string",
|
|
335
|
-
createTime: "Test string",
|
|
336
|
-
currencyCode: "Test string",
|
|
337
|
-
deleteTime: "Test string",
|
|
338
|
-
displayName: "Test string",
|
|
339
|
-
expireTime: "Test string",
|
|
340
|
-
industryCategory: "Test string",
|
|
341
|
-
name: "Test string",
|
|
342
|
-
parent: "Test string",
|
|
343
|
-
propertyType: "Test string",
|
|
344
|
-
serviceLevel: "Test string",
|
|
345
|
-
timeZone: "Test string",
|
|
346
|
-
updateTime: "Test string",
|
|
347
|
-
});
|
|
348
|
-
/** Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties. */
|
|
349
|
-
await gapi.client.analyticsadmin.properties.createConnectedSiteTag({
|
|
350
|
-
}, {
|
|
351
|
-
connectedSiteTag: {
|
|
352
|
-
displayName: "Test string",
|
|
353
|
-
tagId: "Test string",
|
|
354
|
-
},
|
|
355
|
-
property: "Test string",
|
|
356
|
-
});
|
|
357
|
-
/** Create a roll-up property and all roll-up property source links. */
|
|
358
|
-
await gapi.client.analyticsadmin.properties.createRollupProperty({
|
|
359
|
-
}, {
|
|
360
|
-
rollupProperty: {
|
|
361
|
-
account: "Test string",
|
|
362
|
-
createTime: "Test string",
|
|
363
|
-
currencyCode: "Test string",
|
|
364
|
-
deleteTime: "Test string",
|
|
365
|
-
displayName: "Test string",
|
|
366
|
-
expireTime: "Test string",
|
|
367
|
-
industryCategory: "Test string",
|
|
368
|
-
name: "Test string",
|
|
369
|
-
parent: "Test string",
|
|
370
|
-
propertyType: "Test string",
|
|
371
|
-
serviceLevel: "Test string",
|
|
372
|
-
timeZone: "Test string",
|
|
373
|
-
updateTime: "Test string",
|
|
374
|
-
},
|
|
375
|
-
sourceProperties: [
|
|
376
|
-
"Test string"
|
|
377
|
-
],
|
|
378
|
-
});
|
|
379
|
-
/** Create a subproperty and a subproperty event filter that applies to the created subproperty. */
|
|
380
|
-
await gapi.client.analyticsadmin.properties.createSubproperty({
|
|
381
|
-
}, {
|
|
382
|
-
parent: "Test string",
|
|
383
|
-
subproperty: {
|
|
384
|
-
account: "Test string",
|
|
385
|
-
createTime: "Test string",
|
|
386
|
-
currencyCode: "Test string",
|
|
387
|
-
deleteTime: "Test string",
|
|
388
|
-
displayName: "Test string",
|
|
389
|
-
expireTime: "Test string",
|
|
390
|
-
industryCategory: "Test string",
|
|
391
|
-
name: "Test string",
|
|
392
|
-
parent: "Test string",
|
|
393
|
-
propertyType: "Test string",
|
|
394
|
-
serviceLevel: "Test string",
|
|
395
|
-
timeZone: "Test string",
|
|
396
|
-
updateTime: "Test string",
|
|
397
|
-
},
|
|
398
|
-
subpropertyEventFilter: {
|
|
399
|
-
applyToProperty: "Test string",
|
|
400
|
-
filterClauses: [
|
|
401
|
-
{
|
|
402
|
-
filterClauseType: "Test string",
|
|
403
|
-
filterExpression: {
|
|
404
|
-
filterCondition: {
|
|
405
|
-
fieldName: "Test string",
|
|
406
|
-
nullFilter: true,
|
|
407
|
-
stringFilter: {
|
|
408
|
-
caseSensitive: true,
|
|
409
|
-
matchType: "Test string",
|
|
410
|
-
value: "Test string",
|
|
411
|
-
},
|
|
412
|
-
},
|
|
413
|
-
notExpression: undefined,
|
|
414
|
-
orGroup: {
|
|
415
|
-
filterExpressions: undefined,
|
|
416
|
-
},
|
|
417
|
-
},
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
name: "Test string",
|
|
421
|
-
},
|
|
422
|
-
});
|
|
423
|
-
/**
|
|
424
|
-
* Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash
|
|
425
|
-
* Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged.
|
|
426
|
-
* https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not a GA4 Property.
|
|
427
|
-
*/
|
|
428
|
-
await gapi.client.analyticsadmin.properties.delete({
|
|
429
|
-
name: "Test string",
|
|
430
|
-
});
|
|
431
|
-
/** Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties. */
|
|
432
|
-
await gapi.client.analyticsadmin.properties.deleteConnectedSiteTag({
|
|
433
|
-
}, {
|
|
434
|
-
property: "Test string",
|
|
435
|
-
tagId: "Test string",
|
|
436
|
-
});
|
|
437
|
-
/** Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property. */
|
|
438
|
-
await gapi.client.analyticsadmin.properties.fetchAutomatedGa4ConfigurationOptOut({
|
|
439
|
-
}, {
|
|
440
|
-
property: "Test string",
|
|
441
|
-
});
|
|
442
|
-
/** Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties. */
|
|
443
|
-
await gapi.client.analyticsadmin.properties.fetchConnectedGa4Property({
|
|
444
|
-
property: "Test string",
|
|
445
|
-
});
|
|
446
|
-
/** Lookup for a single "GA4" Property. */
|
|
447
|
-
await gapi.client.analyticsadmin.properties.get({
|
|
448
|
-
name: "Test string",
|
|
449
|
-
});
|
|
450
|
-
/** Lookup for a AttributionSettings singleton. */
|
|
451
|
-
await gapi.client.analyticsadmin.properties.getAttributionSettings({
|
|
452
|
-
name: "Test string",
|
|
453
|
-
});
|
|
454
|
-
/** Returns the singleton data retention settings for this property. */
|
|
455
|
-
await gapi.client.analyticsadmin.properties.getDataRetentionSettings({
|
|
456
|
-
name: "Test string",
|
|
457
|
-
});
|
|
458
|
-
/** Lookup for Google Signals settings for a property. */
|
|
459
|
-
await gapi.client.analyticsadmin.properties.getGoogleSignalsSettings({
|
|
460
|
-
name: "Test string",
|
|
461
|
-
});
|
|
462
|
-
/**
|
|
463
|
-
* Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie:
|
|
464
|
-
* "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
|
|
465
|
-
*/
|
|
466
|
-
await gapi.client.analyticsadmin.properties.list({
|
|
467
|
-
filter: "Test string",
|
|
468
|
-
pageSize: 42,
|
|
469
|
-
pageToken: "Test string",
|
|
470
|
-
showDeleted: true,
|
|
471
|
-
});
|
|
472
|
-
/** Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property. */
|
|
473
|
-
await gapi.client.analyticsadmin.properties.listConnectedSiteTags({
|
|
474
|
-
}, {
|
|
475
|
-
property: "Test string",
|
|
476
|
-
});
|
|
477
|
-
/** Updates a property. */
|
|
478
|
-
await gapi.client.analyticsadmin.properties.patch({
|
|
479
|
-
name: "Test string",
|
|
480
|
-
updateMask: "Test string",
|
|
481
|
-
}, {
|
|
482
|
-
account: "Test string",
|
|
483
|
-
createTime: "Test string",
|
|
484
|
-
currencyCode: "Test string",
|
|
485
|
-
deleteTime: "Test string",
|
|
486
|
-
displayName: "Test string",
|
|
487
|
-
expireTime: "Test string",
|
|
488
|
-
industryCategory: "Test string",
|
|
489
|
-
name: "Test string",
|
|
490
|
-
parent: "Test string",
|
|
491
|
-
propertyType: "Test string",
|
|
492
|
-
serviceLevel: "Test string",
|
|
493
|
-
timeZone: "Test string",
|
|
494
|
-
updateTime: "Test string",
|
|
495
|
-
});
|
|
496
|
-
/**
|
|
497
|
-
* Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years.
|
|
498
|
-
* Data Access Reports can be requested for a property. The property must be in Google Analytics 360. This method is only available to Administrators. These data access records include GA4
|
|
499
|
-
* UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include
|
|
500
|
-
* property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see
|
|
501
|
-
* [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
|
502
|
-
*/
|
|
503
|
-
await gapi.client.analyticsadmin.properties.runAccessReport({
|
|
504
|
-
entity: "Test string",
|
|
505
|
-
}, {
|
|
506
|
-
dateRanges: [
|
|
507
|
-
{
|
|
508
|
-
endDate: "Test string",
|
|
509
|
-
startDate: "Test string",
|
|
510
|
-
}
|
|
511
|
-
],
|
|
512
|
-
dimensionFilter: {
|
|
513
|
-
accessFilter: {
|
|
514
|
-
betweenFilter: {
|
|
515
|
-
fromValue: {
|
|
516
|
-
doubleValue: 42,
|
|
517
|
-
int64Value: "Test string",
|
|
518
|
-
},
|
|
519
|
-
toValue: {
|
|
520
|
-
doubleValue: 42,
|
|
521
|
-
int64Value: "Test string",
|
|
522
|
-
},
|
|
523
|
-
},
|
|
524
|
-
fieldName: "Test string",
|
|
525
|
-
inListFilter: {
|
|
526
|
-
caseSensitive: true,
|
|
527
|
-
values: [
|
|
528
|
-
"Test string"
|
|
529
|
-
],
|
|
530
|
-
},
|
|
531
|
-
numericFilter: {
|
|
532
|
-
operation: "Test string",
|
|
533
|
-
value: {
|
|
534
|
-
doubleValue: 42,
|
|
535
|
-
int64Value: "Test string",
|
|
536
|
-
},
|
|
537
|
-
},
|
|
538
|
-
stringFilter: {
|
|
539
|
-
caseSensitive: true,
|
|
540
|
-
matchType: "Test string",
|
|
541
|
-
value: "Test string",
|
|
542
|
-
},
|
|
543
|
-
},
|
|
544
|
-
andGroup: {
|
|
545
|
-
expressions: undefined,
|
|
546
|
-
},
|
|
547
|
-
notExpression: undefined,
|
|
548
|
-
orGroup: {
|
|
549
|
-
expressions: undefined,
|
|
550
|
-
},
|
|
551
|
-
},
|
|
552
|
-
dimensions: [
|
|
553
|
-
{
|
|
554
|
-
dimensionName: "Test string",
|
|
555
|
-
}
|
|
556
|
-
],
|
|
557
|
-
expandGroups: true,
|
|
558
|
-
includeAllUsers: true,
|
|
559
|
-
limit: "Test string",
|
|
560
|
-
metricFilter: {
|
|
561
|
-
accessFilter: {
|
|
562
|
-
betweenFilter: {
|
|
563
|
-
fromValue: {
|
|
564
|
-
doubleValue: 42,
|
|
565
|
-
int64Value: "Test string",
|
|
566
|
-
},
|
|
567
|
-
toValue: {
|
|
568
|
-
doubleValue: 42,
|
|
569
|
-
int64Value: "Test string",
|
|
570
|
-
},
|
|
571
|
-
},
|
|
572
|
-
fieldName: "Test string",
|
|
573
|
-
inListFilter: {
|
|
574
|
-
caseSensitive: true,
|
|
575
|
-
values: [
|
|
576
|
-
"Test string"
|
|
577
|
-
],
|
|
578
|
-
},
|
|
579
|
-
numericFilter: {
|
|
580
|
-
operation: "Test string",
|
|
581
|
-
value: {
|
|
582
|
-
doubleValue: 42,
|
|
583
|
-
int64Value: "Test string",
|
|
584
|
-
},
|
|
585
|
-
},
|
|
586
|
-
stringFilter: {
|
|
587
|
-
caseSensitive: true,
|
|
588
|
-
matchType: "Test string",
|
|
589
|
-
value: "Test string",
|
|
590
|
-
},
|
|
591
|
-
},
|
|
592
|
-
andGroup: {
|
|
593
|
-
expressions: undefined,
|
|
594
|
-
},
|
|
595
|
-
notExpression: undefined,
|
|
596
|
-
orGroup: {
|
|
597
|
-
expressions: undefined,
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
metrics: [
|
|
601
|
-
{
|
|
602
|
-
metricName: "Test string",
|
|
603
|
-
}
|
|
604
|
-
],
|
|
605
|
-
offset: "Test string",
|
|
606
|
-
orderBys: [
|
|
607
|
-
{
|
|
608
|
-
desc: true,
|
|
609
|
-
dimension: {
|
|
610
|
-
dimensionName: "Test string",
|
|
611
|
-
orderType: "Test string",
|
|
612
|
-
},
|
|
613
|
-
metric: {
|
|
614
|
-
metricName: "Test string",
|
|
615
|
-
},
|
|
616
|
-
}
|
|
617
|
-
],
|
|
618
|
-
returnEntityQuota: true,
|
|
619
|
-
timeZone: "Test string",
|
|
620
|
-
});
|
|
621
|
-
/** Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property. */
|
|
622
|
-
await gapi.client.analyticsadmin.properties.setAutomatedGa4ConfigurationOptOut({
|
|
623
|
-
}, {
|
|
624
|
-
optOut: true,
|
|
625
|
-
property: "Test string",
|
|
626
|
-
});
|
|
627
|
-
/** Updates attribution settings on a property. */
|
|
628
|
-
await gapi.client.analyticsadmin.properties.updateAttributionSettings({
|
|
629
|
-
name: "Test string",
|
|
630
|
-
updateMask: "Test string",
|
|
631
|
-
}, {
|
|
632
|
-
acquisitionConversionEventLookbackWindow: "Test string",
|
|
633
|
-
adsWebConversionDataExportScope: "Test string",
|
|
634
|
-
name: "Test string",
|
|
635
|
-
otherConversionEventLookbackWindow: "Test string",
|
|
636
|
-
reportingAttributionModel: "Test string",
|
|
637
|
-
});
|
|
638
|
-
/** Updates the singleton data retention settings for this property. */
|
|
639
|
-
await gapi.client.analyticsadmin.properties.updateDataRetentionSettings({
|
|
640
|
-
name: "Test string",
|
|
641
|
-
updateMask: "Test string",
|
|
642
|
-
}, {
|
|
643
|
-
eventDataRetention: "Test string",
|
|
644
|
-
name: "Test string",
|
|
645
|
-
resetUserDataOnNewActivity: true,
|
|
646
|
-
});
|
|
647
|
-
/** Updates Google Signals settings for a property. */
|
|
648
|
-
await gapi.client.analyticsadmin.properties.updateGoogleSignalsSettings({
|
|
649
|
-
name: "Test string",
|
|
650
|
-
updateMask: "Test string",
|
|
651
|
-
}, {
|
|
652
|
-
consent: "Test string",
|
|
653
|
-
name: "Test string",
|
|
654
|
-
state: "Test string",
|
|
655
|
-
});
|
|
656
|
-
/**
|
|
657
|
-
* Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be
|
|
658
|
-
* created.
|
|
659
|
-
*/
|
|
660
|
-
await gapi.client.analyticsadmin.properties.accessBindings.batchCreate({
|
|
661
|
-
parent: "Test string",
|
|
662
|
-
}, {
|
|
663
|
-
requests: [
|
|
664
|
-
{
|
|
665
|
-
accessBinding: {
|
|
666
|
-
name: "Test string",
|
|
667
|
-
roles: [
|
|
668
|
-
"Test string"
|
|
669
|
-
],
|
|
670
|
-
user: "Test string",
|
|
671
|
-
},
|
|
672
|
-
parent: "Test string",
|
|
673
|
-
}
|
|
674
|
-
],
|
|
675
|
-
});
|
|
676
|
-
/** Deletes information about multiple users' links to an account or property. */
|
|
677
|
-
await gapi.client.analyticsadmin.properties.accessBindings.batchDelete({
|
|
678
|
-
parent: "Test string",
|
|
679
|
-
}, {
|
|
680
|
-
requests: [
|
|
681
|
-
{
|
|
682
|
-
name: "Test string",
|
|
683
|
-
}
|
|
684
|
-
],
|
|
685
|
-
});
|
|
686
|
-
/** Gets information about multiple access bindings to an account or property. */
|
|
687
|
-
await gapi.client.analyticsadmin.properties.accessBindings.batchGet({
|
|
688
|
-
names: "Test string",
|
|
689
|
-
parent: "Test string",
|
|
690
|
-
});
|
|
691
|
-
/** Updates information about multiple access bindings to an account or property. */
|
|
692
|
-
await gapi.client.analyticsadmin.properties.accessBindings.batchUpdate({
|
|
693
|
-
parent: "Test string",
|
|
694
|
-
}, {
|
|
695
|
-
requests: [
|
|
696
|
-
{
|
|
697
|
-
accessBinding: {
|
|
698
|
-
name: "Test string",
|
|
699
|
-
roles: [
|
|
700
|
-
"Test string"
|
|
701
|
-
],
|
|
702
|
-
user: "Test string",
|
|
703
|
-
},
|
|
704
|
-
}
|
|
705
|
-
],
|
|
706
|
-
});
|
|
707
|
-
/** Creates an access binding on an account or property. */
|
|
708
|
-
await gapi.client.analyticsadmin.properties.accessBindings.create({
|
|
709
|
-
parent: "Test string",
|
|
710
|
-
}, {
|
|
711
|
-
name: "Test string",
|
|
712
|
-
roles: [
|
|
713
|
-
"Test string"
|
|
714
|
-
],
|
|
715
|
-
user: "Test string",
|
|
716
|
-
});
|
|
717
|
-
/** Deletes an access binding on an account or property. */
|
|
718
|
-
await gapi.client.analyticsadmin.properties.accessBindings.delete({
|
|
719
|
-
name: "Test string",
|
|
720
|
-
});
|
|
721
|
-
/** Gets information about an access binding. */
|
|
722
|
-
await gapi.client.analyticsadmin.properties.accessBindings.get({
|
|
723
|
-
name: "Test string",
|
|
724
|
-
});
|
|
725
|
-
/** Lists all access bindings on an account or property. */
|
|
726
|
-
await gapi.client.analyticsadmin.properties.accessBindings.list({
|
|
727
|
-
pageSize: 42,
|
|
728
|
-
pageToken: "Test string",
|
|
729
|
-
parent: "Test string",
|
|
730
|
-
});
|
|
731
|
-
/** Updates an access binding on an account or property. */
|
|
732
|
-
await gapi.client.analyticsadmin.properties.accessBindings.patch({
|
|
733
|
-
name: "Test string",
|
|
734
|
-
}, {
|
|
735
|
-
name: "Test string",
|
|
736
|
-
roles: [
|
|
737
|
-
"Test string"
|
|
738
|
-
],
|
|
739
|
-
user: "Test string",
|
|
740
|
-
});
|
|
741
|
-
/** Creates an AdSenseLink. */
|
|
742
|
-
await gapi.client.analyticsadmin.properties.adSenseLinks.create({
|
|
743
|
-
parent: "Test string",
|
|
744
|
-
}, {
|
|
745
|
-
adClientCode: "Test string",
|
|
746
|
-
name: "Test string",
|
|
747
|
-
});
|
|
748
|
-
/** Deletes an AdSenseLink. */
|
|
749
|
-
await gapi.client.analyticsadmin.properties.adSenseLinks.delete({
|
|
750
|
-
name: "Test string",
|
|
751
|
-
});
|
|
752
|
-
/** Looks up a single AdSenseLink. */
|
|
753
|
-
await gapi.client.analyticsadmin.properties.adSenseLinks.get({
|
|
754
|
-
name: "Test string",
|
|
755
|
-
});
|
|
756
|
-
/** Lists AdSenseLinks on a property. */
|
|
757
|
-
await gapi.client.analyticsadmin.properties.adSenseLinks.list({
|
|
758
|
-
pageSize: 42,
|
|
759
|
-
pageToken: "Test string",
|
|
760
|
-
parent: "Test string",
|
|
761
|
-
});
|
|
762
|
-
/** Archives an Audience on a property. */
|
|
763
|
-
await gapi.client.analyticsadmin.properties.audiences.archive({
|
|
764
|
-
name: "Test string",
|
|
765
|
-
}, {
|
|
766
|
-
});
|
|
767
|
-
/** Creates an Audience. */
|
|
768
|
-
await gapi.client.analyticsadmin.properties.audiences.create({
|
|
769
|
-
parent: "Test string",
|
|
770
|
-
}, {
|
|
771
|
-
adsPersonalizationEnabled: true,
|
|
772
|
-
description: "Test string",
|
|
773
|
-
displayName: "Test string",
|
|
774
|
-
eventTrigger: {
|
|
775
|
-
eventName: "Test string",
|
|
776
|
-
logCondition: "Test string",
|
|
777
|
-
},
|
|
778
|
-
exclusionDurationMode: "Test string",
|
|
779
|
-
filterClauses: [
|
|
780
|
-
{
|
|
781
|
-
clauseType: "Test string",
|
|
782
|
-
sequenceFilter: {
|
|
783
|
-
scope: "Test string",
|
|
784
|
-
sequenceMaximumDuration: "Test string",
|
|
785
|
-
sequenceSteps: [
|
|
786
|
-
{
|
|
787
|
-
constraintDuration: "Test string",
|
|
788
|
-
filterExpression: {
|
|
789
|
-
andGroup: {
|
|
790
|
-
filterExpressions: undefined,
|
|
791
|
-
},
|
|
792
|
-
dimensionOrMetricFilter: {
|
|
793
|
-
atAnyPointInTime: true,
|
|
794
|
-
betweenFilter: {
|
|
795
|
-
fromValue: {
|
|
796
|
-
doubleValue: 42,
|
|
797
|
-
int64Value: "Test string",
|
|
798
|
-
},
|
|
799
|
-
toValue: {
|
|
800
|
-
doubleValue: 42,
|
|
801
|
-
int64Value: "Test string",
|
|
802
|
-
},
|
|
803
|
-
},
|
|
804
|
-
fieldName: "Test string",
|
|
805
|
-
inAnyNDayPeriod: 42,
|
|
806
|
-
inListFilter: {
|
|
807
|
-
caseSensitive: true,
|
|
808
|
-
values: [
|
|
809
|
-
"Test string"
|
|
810
|
-
],
|
|
811
|
-
},
|
|
812
|
-
numericFilter: {
|
|
813
|
-
operation: "Test string",
|
|
814
|
-
value: {
|
|
815
|
-
doubleValue: 42,
|
|
816
|
-
int64Value: "Test string",
|
|
817
|
-
},
|
|
818
|
-
},
|
|
819
|
-
stringFilter: {
|
|
820
|
-
caseSensitive: true,
|
|
821
|
-
matchType: "Test string",
|
|
822
|
-
value: "Test string",
|
|
823
|
-
},
|
|
824
|
-
},
|
|
825
|
-
eventFilter: {
|
|
826
|
-
eventName: "Test string",
|
|
827
|
-
eventParameterFilterExpression: undefined,
|
|
828
|
-
},
|
|
829
|
-
notExpression: undefined,
|
|
830
|
-
orGroup: {
|
|
831
|
-
filterExpressions: undefined,
|
|
832
|
-
},
|
|
833
|
-
},
|
|
834
|
-
immediatelyFollows: true,
|
|
835
|
-
scope: "Test string",
|
|
836
|
-
}
|
|
837
|
-
],
|
|
838
|
-
},
|
|
839
|
-
simpleFilter: {
|
|
840
|
-
filterExpression: {
|
|
841
|
-
andGroup: {
|
|
842
|
-
filterExpressions: undefined,
|
|
843
|
-
},
|
|
844
|
-
dimensionOrMetricFilter: {
|
|
845
|
-
atAnyPointInTime: true,
|
|
846
|
-
betweenFilter: {
|
|
847
|
-
fromValue: {
|
|
848
|
-
doubleValue: 42,
|
|
849
|
-
int64Value: "Test string",
|
|
850
|
-
},
|
|
851
|
-
toValue: {
|
|
852
|
-
doubleValue: 42,
|
|
853
|
-
int64Value: "Test string",
|
|
854
|
-
},
|
|
855
|
-
},
|
|
856
|
-
fieldName: "Test string",
|
|
857
|
-
inAnyNDayPeriod: 42,
|
|
858
|
-
inListFilter: {
|
|
859
|
-
caseSensitive: true,
|
|
860
|
-
values: [
|
|
861
|
-
"Test string"
|
|
862
|
-
],
|
|
863
|
-
},
|
|
864
|
-
numericFilter: {
|
|
865
|
-
operation: "Test string",
|
|
866
|
-
value: {
|
|
867
|
-
doubleValue: 42,
|
|
868
|
-
int64Value: "Test string",
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
stringFilter: {
|
|
872
|
-
caseSensitive: true,
|
|
873
|
-
matchType: "Test string",
|
|
874
|
-
value: "Test string",
|
|
875
|
-
},
|
|
876
|
-
},
|
|
877
|
-
eventFilter: {
|
|
878
|
-
eventName: "Test string",
|
|
879
|
-
eventParameterFilterExpression: undefined,
|
|
880
|
-
},
|
|
881
|
-
notExpression: undefined,
|
|
882
|
-
orGroup: {
|
|
883
|
-
filterExpressions: undefined,
|
|
884
|
-
},
|
|
885
|
-
},
|
|
886
|
-
scope: "Test string",
|
|
887
|
-
},
|
|
888
|
-
}
|
|
889
|
-
],
|
|
890
|
-
membershipDurationDays: 42,
|
|
891
|
-
name: "Test string",
|
|
892
|
-
});
|
|
893
|
-
/** Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions. */
|
|
894
|
-
await gapi.client.analyticsadmin.properties.audiences.get({
|
|
895
|
-
name: "Test string",
|
|
896
|
-
});
|
|
897
|
-
/** Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions. */
|
|
898
|
-
await gapi.client.analyticsadmin.properties.audiences.list({
|
|
899
|
-
pageSize: 42,
|
|
900
|
-
pageToken: "Test string",
|
|
901
|
-
parent: "Test string",
|
|
902
|
-
});
|
|
903
|
-
/** Updates an Audience on a property. */
|
|
904
|
-
await gapi.client.analyticsadmin.properties.audiences.patch({
|
|
905
|
-
name: "Test string",
|
|
906
|
-
updateMask: "Test string",
|
|
907
|
-
}, {
|
|
908
|
-
adsPersonalizationEnabled: true,
|
|
909
|
-
description: "Test string",
|
|
910
|
-
displayName: "Test string",
|
|
911
|
-
eventTrigger: {
|
|
912
|
-
eventName: "Test string",
|
|
913
|
-
logCondition: "Test string",
|
|
914
|
-
},
|
|
915
|
-
exclusionDurationMode: "Test string",
|
|
916
|
-
filterClauses: [
|
|
917
|
-
{
|
|
918
|
-
clauseType: "Test string",
|
|
919
|
-
sequenceFilter: {
|
|
920
|
-
scope: "Test string",
|
|
921
|
-
sequenceMaximumDuration: "Test string",
|
|
922
|
-
sequenceSteps: [
|
|
923
|
-
{
|
|
924
|
-
constraintDuration: "Test string",
|
|
925
|
-
filterExpression: {
|
|
926
|
-
andGroup: {
|
|
927
|
-
filterExpressions: undefined,
|
|
928
|
-
},
|
|
929
|
-
dimensionOrMetricFilter: {
|
|
930
|
-
atAnyPointInTime: true,
|
|
931
|
-
betweenFilter: {
|
|
932
|
-
fromValue: {
|
|
933
|
-
doubleValue: 42,
|
|
934
|
-
int64Value: "Test string",
|
|
935
|
-
},
|
|
936
|
-
toValue: {
|
|
937
|
-
doubleValue: 42,
|
|
938
|
-
int64Value: "Test string",
|
|
939
|
-
},
|
|
940
|
-
},
|
|
941
|
-
fieldName: "Test string",
|
|
942
|
-
inAnyNDayPeriod: 42,
|
|
943
|
-
inListFilter: {
|
|
944
|
-
caseSensitive: true,
|
|
945
|
-
values: [
|
|
946
|
-
"Test string"
|
|
947
|
-
],
|
|
948
|
-
},
|
|
949
|
-
numericFilter: {
|
|
950
|
-
operation: "Test string",
|
|
951
|
-
value: {
|
|
952
|
-
doubleValue: 42,
|
|
953
|
-
int64Value: "Test string",
|
|
954
|
-
},
|
|
955
|
-
},
|
|
956
|
-
stringFilter: {
|
|
957
|
-
caseSensitive: true,
|
|
958
|
-
matchType: "Test string",
|
|
959
|
-
value: "Test string",
|
|
960
|
-
},
|
|
961
|
-
},
|
|
962
|
-
eventFilter: {
|
|
963
|
-
eventName: "Test string",
|
|
964
|
-
eventParameterFilterExpression: undefined,
|
|
965
|
-
},
|
|
966
|
-
notExpression: undefined,
|
|
967
|
-
orGroup: {
|
|
968
|
-
filterExpressions: undefined,
|
|
969
|
-
},
|
|
970
|
-
},
|
|
971
|
-
immediatelyFollows: true,
|
|
972
|
-
scope: "Test string",
|
|
973
|
-
}
|
|
974
|
-
],
|
|
975
|
-
},
|
|
976
|
-
simpleFilter: {
|
|
977
|
-
filterExpression: {
|
|
978
|
-
andGroup: {
|
|
979
|
-
filterExpressions: undefined,
|
|
980
|
-
},
|
|
981
|
-
dimensionOrMetricFilter: {
|
|
982
|
-
atAnyPointInTime: true,
|
|
983
|
-
betweenFilter: {
|
|
984
|
-
fromValue: {
|
|
985
|
-
doubleValue: 42,
|
|
986
|
-
int64Value: "Test string",
|
|
987
|
-
},
|
|
988
|
-
toValue: {
|
|
989
|
-
doubleValue: 42,
|
|
990
|
-
int64Value: "Test string",
|
|
991
|
-
},
|
|
992
|
-
},
|
|
993
|
-
fieldName: "Test string",
|
|
994
|
-
inAnyNDayPeriod: 42,
|
|
995
|
-
inListFilter: {
|
|
996
|
-
caseSensitive: true,
|
|
997
|
-
values: [
|
|
998
|
-
"Test string"
|
|
999
|
-
],
|
|
1000
|
-
},
|
|
1001
|
-
numericFilter: {
|
|
1002
|
-
operation: "Test string",
|
|
1003
|
-
value: {
|
|
1004
|
-
doubleValue: 42,
|
|
1005
|
-
int64Value: "Test string",
|
|
1006
|
-
},
|
|
1007
|
-
},
|
|
1008
|
-
stringFilter: {
|
|
1009
|
-
caseSensitive: true,
|
|
1010
|
-
matchType: "Test string",
|
|
1011
|
-
value: "Test string",
|
|
1012
|
-
},
|
|
1013
|
-
},
|
|
1014
|
-
eventFilter: {
|
|
1015
|
-
eventName: "Test string",
|
|
1016
|
-
eventParameterFilterExpression: undefined,
|
|
1017
|
-
},
|
|
1018
|
-
notExpression: undefined,
|
|
1019
|
-
orGroup: {
|
|
1020
|
-
filterExpressions: undefined,
|
|
1021
|
-
},
|
|
1022
|
-
},
|
|
1023
|
-
scope: "Test string",
|
|
1024
|
-
},
|
|
1025
|
-
}
|
|
1026
|
-
],
|
|
1027
|
-
membershipDurationDays: 42,
|
|
1028
|
-
name: "Test string",
|
|
1029
|
-
});
|
|
1030
|
-
/** Lookup for a single BigQuery Link. */
|
|
1031
|
-
await gapi.client.analyticsadmin.properties.bigQueryLinks.get({
|
|
1032
|
-
name: "Test string",
|
|
1033
|
-
});
|
|
1034
|
-
/** Lists BigQuery Links on a property. */
|
|
1035
|
-
await gapi.client.analyticsadmin.properties.bigQueryLinks.list({
|
|
1036
|
-
pageSize: 42,
|
|
1037
|
-
pageToken: "Test string",
|
|
1038
|
-
parent: "Test string",
|
|
1039
|
-
});
|
|
1040
|
-
/** Creates a ChannelGroup. */
|
|
1041
|
-
await gapi.client.analyticsadmin.properties.channelGroups.create({
|
|
1042
|
-
parent: "Test string",
|
|
1043
|
-
}, {
|
|
1044
|
-
description: "Test string",
|
|
1045
|
-
displayName: "Test string",
|
|
1046
|
-
groupingRule: [
|
|
1047
|
-
{
|
|
1048
|
-
displayName: "Test string",
|
|
1049
|
-
expression: {
|
|
1050
|
-
andGroup: {
|
|
1051
|
-
filterExpressions: undefined,
|
|
1052
|
-
},
|
|
1053
|
-
filter: {
|
|
1054
|
-
fieldName: "Test string",
|
|
1055
|
-
inListFilter: {
|
|
1056
|
-
values: [
|
|
1057
|
-
"Test string"
|
|
1058
|
-
],
|
|
1059
|
-
},
|
|
1060
|
-
stringFilter: {
|
|
1061
|
-
matchType: "Test string",
|
|
1062
|
-
value: "Test string",
|
|
1063
|
-
},
|
|
1064
|
-
},
|
|
1065
|
-
notExpression: undefined,
|
|
1066
|
-
orGroup: {
|
|
1067
|
-
filterExpressions: undefined,
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
}
|
|
1071
|
-
],
|
|
1072
|
-
name: "Test string",
|
|
1073
|
-
systemDefined: true,
|
|
1074
|
-
});
|
|
1075
|
-
/** Deletes a ChannelGroup on a property. */
|
|
1076
|
-
await gapi.client.analyticsadmin.properties.channelGroups.delete({
|
|
1077
|
-
name: "Test string",
|
|
1078
|
-
});
|
|
1079
|
-
/** Lookup for a single ChannelGroup. */
|
|
1080
|
-
await gapi.client.analyticsadmin.properties.channelGroups.get({
|
|
1081
|
-
name: "Test string",
|
|
1082
|
-
});
|
|
1083
|
-
/** Lists ChannelGroups on a property. */
|
|
1084
|
-
await gapi.client.analyticsadmin.properties.channelGroups.list({
|
|
1085
|
-
pageSize: 42,
|
|
1086
|
-
pageToken: "Test string",
|
|
1087
|
-
parent: "Test string",
|
|
1088
|
-
});
|
|
1089
|
-
/** Updates a ChannelGroup. */
|
|
1090
|
-
await gapi.client.analyticsadmin.properties.channelGroups.patch({
|
|
1091
|
-
name: "Test string",
|
|
1092
|
-
updateMask: "Test string",
|
|
1093
|
-
}, {
|
|
1094
|
-
description: "Test string",
|
|
1095
|
-
displayName: "Test string",
|
|
1096
|
-
groupingRule: [
|
|
1097
|
-
{
|
|
1098
|
-
displayName: "Test string",
|
|
1099
|
-
expression: {
|
|
1100
|
-
andGroup: {
|
|
1101
|
-
filterExpressions: undefined,
|
|
1102
|
-
},
|
|
1103
|
-
filter: {
|
|
1104
|
-
fieldName: "Test string",
|
|
1105
|
-
inListFilter: {
|
|
1106
|
-
values: [
|
|
1107
|
-
"Test string"
|
|
1108
|
-
],
|
|
1109
|
-
},
|
|
1110
|
-
stringFilter: {
|
|
1111
|
-
matchType: "Test string",
|
|
1112
|
-
value: "Test string",
|
|
1113
|
-
},
|
|
1114
|
-
},
|
|
1115
|
-
notExpression: undefined,
|
|
1116
|
-
orGroup: {
|
|
1117
|
-
filterExpressions: undefined,
|
|
1118
|
-
},
|
|
1119
|
-
},
|
|
1120
|
-
}
|
|
1121
|
-
],
|
|
1122
|
-
name: "Test string",
|
|
1123
|
-
systemDefined: true,
|
|
1124
|
-
});
|
|
1125
|
-
/** Creates a conversion event with the specified attributes. */
|
|
1126
|
-
await gapi.client.analyticsadmin.properties.conversionEvents.create({
|
|
1127
|
-
parent: "Test string",
|
|
1128
|
-
}, {
|
|
1129
|
-
countingMethod: "Test string",
|
|
1130
|
-
createTime: "Test string",
|
|
1131
|
-
custom: true,
|
|
1132
|
-
defaultConversionValue: {
|
|
1133
|
-
currencyCode: "Test string",
|
|
1134
|
-
value: 42,
|
|
1135
|
-
},
|
|
1136
|
-
deletable: true,
|
|
1137
|
-
eventName: "Test string",
|
|
1138
|
-
name: "Test string",
|
|
1139
|
-
});
|
|
1140
|
-
/** Deletes a conversion event in a property. */
|
|
1141
|
-
await gapi.client.analyticsadmin.properties.conversionEvents.delete({
|
|
1142
|
-
name: "Test string",
|
|
1143
|
-
});
|
|
1144
|
-
/** Retrieve a single conversion event. */
|
|
1145
|
-
await gapi.client.analyticsadmin.properties.conversionEvents.get({
|
|
1146
|
-
name: "Test string",
|
|
1147
|
-
});
|
|
1148
|
-
/** Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found. */
|
|
1149
|
-
await gapi.client.analyticsadmin.properties.conversionEvents.list({
|
|
1150
|
-
pageSize: 42,
|
|
1151
|
-
pageToken: "Test string",
|
|
1152
|
-
parent: "Test string",
|
|
1153
|
-
});
|
|
1154
|
-
/** Updates a conversion event with the specified attributes. */
|
|
1155
|
-
await gapi.client.analyticsadmin.properties.conversionEvents.patch({
|
|
1156
|
-
name: "Test string",
|
|
1157
|
-
updateMask: "Test string",
|
|
1158
|
-
}, {
|
|
1159
|
-
countingMethod: "Test string",
|
|
1160
|
-
createTime: "Test string",
|
|
1161
|
-
custom: true,
|
|
1162
|
-
defaultConversionValue: {
|
|
1163
|
-
currencyCode: "Test string",
|
|
1164
|
-
value: 42,
|
|
1165
|
-
},
|
|
1166
|
-
deletable: true,
|
|
1167
|
-
eventName: "Test string",
|
|
1168
|
-
name: "Test string",
|
|
1169
|
-
});
|
|
1170
|
-
/** Archives a CustomDimension on a property. */
|
|
1171
|
-
await gapi.client.analyticsadmin.properties.customDimensions.archive({
|
|
1172
|
-
name: "Test string",
|
|
1173
|
-
}, {
|
|
1174
|
-
});
|
|
1175
|
-
/** Creates a CustomDimension. */
|
|
1176
|
-
await gapi.client.analyticsadmin.properties.customDimensions.create({
|
|
1177
|
-
parent: "Test string",
|
|
1178
|
-
}, {
|
|
1179
|
-
description: "Test string",
|
|
1180
|
-
disallowAdsPersonalization: true,
|
|
1181
|
-
displayName: "Test string",
|
|
1182
|
-
name: "Test string",
|
|
1183
|
-
parameterName: "Test string",
|
|
1184
|
-
scope: "Test string",
|
|
1185
|
-
});
|
|
1186
|
-
/** Lookup for a single CustomDimension. */
|
|
1187
|
-
await gapi.client.analyticsadmin.properties.customDimensions.get({
|
|
1188
|
-
name: "Test string",
|
|
1189
|
-
});
|
|
1190
|
-
/** Lists CustomDimensions on a property. */
|
|
1191
|
-
await gapi.client.analyticsadmin.properties.customDimensions.list({
|
|
1192
|
-
pageSize: 42,
|
|
1193
|
-
pageToken: "Test string",
|
|
1194
|
-
parent: "Test string",
|
|
1195
|
-
});
|
|
1196
|
-
/** Updates a CustomDimension on a property. */
|
|
1197
|
-
await gapi.client.analyticsadmin.properties.customDimensions.patch({
|
|
1198
|
-
name: "Test string",
|
|
1199
|
-
updateMask: "Test string",
|
|
1200
|
-
}, {
|
|
1201
|
-
description: "Test string",
|
|
1202
|
-
disallowAdsPersonalization: true,
|
|
1203
|
-
displayName: "Test string",
|
|
1204
|
-
name: "Test string",
|
|
1205
|
-
parameterName: "Test string",
|
|
1206
|
-
scope: "Test string",
|
|
1207
|
-
});
|
|
1208
|
-
/** Archives a CustomMetric on a property. */
|
|
1209
|
-
await gapi.client.analyticsadmin.properties.customMetrics.archive({
|
|
1210
|
-
name: "Test string",
|
|
1211
|
-
}, {
|
|
1212
|
-
});
|
|
1213
|
-
/** Creates a CustomMetric. */
|
|
1214
|
-
await gapi.client.analyticsadmin.properties.customMetrics.create({
|
|
1215
|
-
parent: "Test string",
|
|
1216
|
-
}, {
|
|
1217
|
-
description: "Test string",
|
|
1218
|
-
displayName: "Test string",
|
|
1219
|
-
measurementUnit: "Test string",
|
|
1220
|
-
name: "Test string",
|
|
1221
|
-
parameterName: "Test string",
|
|
1222
|
-
restrictedMetricType: [
|
|
1223
|
-
"Test string"
|
|
1224
|
-
],
|
|
1225
|
-
scope: "Test string",
|
|
1226
|
-
});
|
|
1227
|
-
/** Lookup for a single CustomMetric. */
|
|
1228
|
-
await gapi.client.analyticsadmin.properties.customMetrics.get({
|
|
1229
|
-
name: "Test string",
|
|
1230
|
-
});
|
|
1231
|
-
/** Lists CustomMetrics on a property. */
|
|
1232
|
-
await gapi.client.analyticsadmin.properties.customMetrics.list({
|
|
1233
|
-
pageSize: 42,
|
|
1234
|
-
pageToken: "Test string",
|
|
1235
|
-
parent: "Test string",
|
|
1236
|
-
});
|
|
1237
|
-
/** Updates a CustomMetric on a property. */
|
|
1238
|
-
await gapi.client.analyticsadmin.properties.customMetrics.patch({
|
|
1239
|
-
name: "Test string",
|
|
1240
|
-
updateMask: "Test string",
|
|
1241
|
-
}, {
|
|
1242
|
-
description: "Test string",
|
|
1243
|
-
displayName: "Test string",
|
|
1244
|
-
measurementUnit: "Test string",
|
|
1245
|
-
name: "Test string",
|
|
1246
|
-
parameterName: "Test string",
|
|
1247
|
-
restrictedMetricType: [
|
|
1248
|
-
"Test string"
|
|
1249
|
-
],
|
|
1250
|
-
scope: "Test string",
|
|
1251
|
-
});
|
|
1252
|
-
/** Creates a DataStream. */
|
|
1253
|
-
await gapi.client.analyticsadmin.properties.dataStreams.create({
|
|
1254
|
-
parent: "Test string",
|
|
1255
|
-
}, {
|
|
1256
|
-
androidAppStreamData: {
|
|
1257
|
-
firebaseAppId: "Test string",
|
|
1258
|
-
packageName: "Test string",
|
|
1259
|
-
},
|
|
1260
|
-
createTime: "Test string",
|
|
1261
|
-
displayName: "Test string",
|
|
1262
|
-
iosAppStreamData: {
|
|
1263
|
-
bundleId: "Test string",
|
|
1264
|
-
firebaseAppId: "Test string",
|
|
1265
|
-
},
|
|
1266
|
-
name: "Test string",
|
|
1267
|
-
type: "Test string",
|
|
1268
|
-
updateTime: "Test string",
|
|
1269
|
-
webStreamData: {
|
|
1270
|
-
defaultUri: "Test string",
|
|
1271
|
-
firebaseAppId: "Test string",
|
|
1272
|
-
measurementId: "Test string",
|
|
1273
|
-
},
|
|
1274
|
-
});
|
|
1275
|
-
/** Deletes a DataStream on a property. */
|
|
1276
|
-
await gapi.client.analyticsadmin.properties.dataStreams.delete({
|
|
1277
|
-
name: "Test string",
|
|
1278
|
-
});
|
|
1279
|
-
/** Lookup for a single DataStream. */
|
|
1280
|
-
await gapi.client.analyticsadmin.properties.dataStreams.get({
|
|
1281
|
-
name: "Test string",
|
|
1282
|
-
});
|
|
1283
|
-
/** Lookup for a single DataRedactionSettings. */
|
|
1284
|
-
await gapi.client.analyticsadmin.properties.dataStreams.getDataRedactionSettings({
|
|
1285
|
-
name: "Test string",
|
|
1286
|
-
});
|
|
1287
|
-
/** Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect. */
|
|
1288
|
-
await gapi.client.analyticsadmin.properties.dataStreams.getEnhancedMeasurementSettings({
|
|
1289
|
-
name: "Test string",
|
|
1290
|
-
});
|
|
1291
|
-
/** Returns the Site Tag for the specified web stream. Site Tags are immutable singletons. */
|
|
1292
|
-
await gapi.client.analyticsadmin.properties.dataStreams.getGlobalSiteTag({
|
|
1293
|
-
name: "Test string",
|
|
1294
|
-
});
|
|
1295
|
-
/** Lists DataStreams on a property. */
|
|
1296
|
-
await gapi.client.analyticsadmin.properties.dataStreams.list({
|
|
1297
|
-
pageSize: 42,
|
|
1298
|
-
pageToken: "Test string",
|
|
1299
|
-
parent: "Test string",
|
|
1300
|
-
});
|
|
1301
|
-
/** Updates a DataStream on a property. */
|
|
1302
|
-
await gapi.client.analyticsadmin.properties.dataStreams.patch({
|
|
1303
|
-
name: "Test string",
|
|
1304
|
-
updateMask: "Test string",
|
|
1305
|
-
}, {
|
|
1306
|
-
androidAppStreamData: {
|
|
1307
|
-
firebaseAppId: "Test string",
|
|
1308
|
-
packageName: "Test string",
|
|
1309
|
-
},
|
|
1310
|
-
createTime: "Test string",
|
|
1311
|
-
displayName: "Test string",
|
|
1312
|
-
iosAppStreamData: {
|
|
1313
|
-
bundleId: "Test string",
|
|
1314
|
-
firebaseAppId: "Test string",
|
|
1315
|
-
},
|
|
1316
|
-
name: "Test string",
|
|
1317
|
-
type: "Test string",
|
|
1318
|
-
updateTime: "Test string",
|
|
1319
|
-
webStreamData: {
|
|
1320
|
-
defaultUri: "Test string",
|
|
1321
|
-
firebaseAppId: "Test string",
|
|
1322
|
-
measurementId: "Test string",
|
|
1323
|
-
},
|
|
1324
|
-
});
|
|
1325
|
-
/** Updates a DataRedactionSettings on a property. */
|
|
1326
|
-
await gapi.client.analyticsadmin.properties.dataStreams.updateDataRedactionSettings({
|
|
1327
|
-
name: "Test string",
|
|
1328
|
-
updateMask: "Test string",
|
|
1329
|
-
}, {
|
|
1330
|
-
emailRedactionEnabled: true,
|
|
1331
|
-
name: "Test string",
|
|
1332
|
-
queryParameterKeys: [
|
|
1333
|
-
"Test string"
|
|
1334
|
-
],
|
|
1335
|
-
queryParameterRedactionEnabled: true,
|
|
1336
|
-
});
|
|
1337
|
-
/** Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect. */
|
|
1338
|
-
await gapi.client.analyticsadmin.properties.dataStreams.updateEnhancedMeasurementSettings({
|
|
1339
|
-
name: "Test string",
|
|
1340
|
-
updateMask: "Test string",
|
|
1341
|
-
}, {
|
|
1342
|
-
fileDownloadsEnabled: true,
|
|
1343
|
-
formInteractionsEnabled: true,
|
|
1344
|
-
name: "Test string",
|
|
1345
|
-
outboundClicksEnabled: true,
|
|
1346
|
-
pageChangesEnabled: true,
|
|
1347
|
-
scrollsEnabled: true,
|
|
1348
|
-
searchQueryParameter: "Test string",
|
|
1349
|
-
siteSearchEnabled: true,
|
|
1350
|
-
streamEnabled: true,
|
|
1351
|
-
uriQueryParameter: "Test string",
|
|
1352
|
-
videoEngagementEnabled: true,
|
|
1353
|
-
});
|
|
1354
|
-
/** Creates an EventCreateRule. */
|
|
1355
|
-
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.create({
|
|
1356
|
-
parent: "Test string",
|
|
1357
|
-
}, {
|
|
1358
|
-
destinationEvent: "Test string",
|
|
1359
|
-
eventConditions: [
|
|
1360
|
-
{
|
|
1361
|
-
comparisonType: "Test string",
|
|
1362
|
-
field: "Test string",
|
|
1363
|
-
negated: true,
|
|
1364
|
-
value: "Test string",
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
name: "Test string",
|
|
1368
|
-
parameterMutations: [
|
|
1369
|
-
{
|
|
1370
|
-
parameter: "Test string",
|
|
1371
|
-
parameterValue: "Test string",
|
|
1372
|
-
}
|
|
1373
|
-
],
|
|
1374
|
-
sourceCopyParameters: true,
|
|
1375
|
-
});
|
|
1376
|
-
/** Deletes an EventCreateRule. */
|
|
1377
|
-
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.delete({
|
|
1378
|
-
name: "Test string",
|
|
1379
|
-
});
|
|
1380
|
-
/** Lookup for a single EventCreateRule. */
|
|
1381
|
-
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.get({
|
|
1382
|
-
name: "Test string",
|
|
1383
|
-
});
|
|
1384
|
-
/** Lists EventCreateRules on a web data stream. */
|
|
1385
|
-
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.list({
|
|
1386
|
-
pageSize: 42,
|
|
1387
|
-
pageToken: "Test string",
|
|
1388
|
-
parent: "Test string",
|
|
1389
|
-
});
|
|
1390
|
-
/** Updates an EventCreateRule. */
|
|
1391
|
-
await gapi.client.analyticsadmin.properties.dataStreams.eventCreateRules.patch({
|
|
1392
|
-
name: "Test string",
|
|
1393
|
-
updateMask: "Test string",
|
|
1394
|
-
}, {
|
|
1395
|
-
destinationEvent: "Test string",
|
|
1396
|
-
eventConditions: [
|
|
1397
|
-
{
|
|
1398
|
-
comparisonType: "Test string",
|
|
1399
|
-
field: "Test string",
|
|
1400
|
-
negated: true,
|
|
1401
|
-
value: "Test string",
|
|
1402
|
-
}
|
|
1403
|
-
],
|
|
1404
|
-
name: "Test string",
|
|
1405
|
-
parameterMutations: [
|
|
1406
|
-
{
|
|
1407
|
-
parameter: "Test string",
|
|
1408
|
-
parameterValue: "Test string",
|
|
1409
|
-
}
|
|
1410
|
-
],
|
|
1411
|
-
sourceCopyParameters: true,
|
|
1412
|
-
});
|
|
1413
|
-
/** Creates a measurement protocol secret. */
|
|
1414
|
-
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.create({
|
|
1415
|
-
parent: "Test string",
|
|
1416
|
-
}, {
|
|
1417
|
-
displayName: "Test string",
|
|
1418
|
-
name: "Test string",
|
|
1419
|
-
secretValue: "Test string",
|
|
1420
|
-
});
|
|
1421
|
-
/** Deletes target MeasurementProtocolSecret. */
|
|
1422
|
-
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.delete({
|
|
1423
|
-
name: "Test string",
|
|
1424
|
-
});
|
|
1425
|
-
/** Lookup for a single "GA4" MeasurementProtocolSecret. */
|
|
1426
|
-
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.get({
|
|
1427
|
-
name: "Test string",
|
|
1428
|
-
});
|
|
1429
|
-
/** Returns child MeasurementProtocolSecrets under the specified parent Property. */
|
|
1430
|
-
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.list({
|
|
1431
|
-
pageSize: 42,
|
|
1432
|
-
pageToken: "Test string",
|
|
1433
|
-
parent: "Test string",
|
|
1434
|
-
});
|
|
1435
|
-
/** Updates a measurement protocol secret. */
|
|
1436
|
-
await gapi.client.analyticsadmin.properties.dataStreams.measurementProtocolSecrets.patch({
|
|
1437
|
-
name: "Test string",
|
|
1438
|
-
updateMask: "Test string",
|
|
1439
|
-
}, {
|
|
1440
|
-
displayName: "Test string",
|
|
1441
|
-
name: "Test string",
|
|
1442
|
-
secretValue: "Test string",
|
|
1443
|
-
});
|
|
1444
|
-
/** Creates a SKAdNetworkConversionValueSchema. */
|
|
1445
|
-
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.create({
|
|
1446
|
-
parent: "Test string",
|
|
1447
|
-
}, {
|
|
1448
|
-
applyConversionValues: true,
|
|
1449
|
-
name: "Test string",
|
|
1450
|
-
postbackWindowOne: {
|
|
1451
|
-
conversionValues: [
|
|
1452
|
-
{
|
|
1453
|
-
coarseValue: "Test string",
|
|
1454
|
-
displayName: "Test string",
|
|
1455
|
-
eventMappings: [
|
|
1456
|
-
{
|
|
1457
|
-
eventName: "Test string",
|
|
1458
|
-
maxEventCount: "Test string",
|
|
1459
|
-
maxEventValue: 42,
|
|
1460
|
-
minEventCount: "Test string",
|
|
1461
|
-
minEventValue: 42,
|
|
1462
|
-
}
|
|
1463
|
-
],
|
|
1464
|
-
fineValue: 42,
|
|
1465
|
-
lockEnabled: true,
|
|
1466
|
-
}
|
|
1467
|
-
],
|
|
1468
|
-
postbackWindowSettingsEnabled: true,
|
|
1469
|
-
},
|
|
1470
|
-
postbackWindowThree: {
|
|
1471
|
-
conversionValues: [
|
|
1472
|
-
{
|
|
1473
|
-
coarseValue: "Test string",
|
|
1474
|
-
displayName: "Test string",
|
|
1475
|
-
eventMappings: [
|
|
1476
|
-
{
|
|
1477
|
-
eventName: "Test string",
|
|
1478
|
-
maxEventCount: "Test string",
|
|
1479
|
-
maxEventValue: 42,
|
|
1480
|
-
minEventCount: "Test string",
|
|
1481
|
-
minEventValue: 42,
|
|
1482
|
-
}
|
|
1483
|
-
],
|
|
1484
|
-
fineValue: 42,
|
|
1485
|
-
lockEnabled: true,
|
|
1486
|
-
}
|
|
1487
|
-
],
|
|
1488
|
-
postbackWindowSettingsEnabled: true,
|
|
1489
|
-
},
|
|
1490
|
-
postbackWindowTwo: {
|
|
1491
|
-
conversionValues: [
|
|
1492
|
-
{
|
|
1493
|
-
coarseValue: "Test string",
|
|
1494
|
-
displayName: "Test string",
|
|
1495
|
-
eventMappings: [
|
|
1496
|
-
{
|
|
1497
|
-
eventName: "Test string",
|
|
1498
|
-
maxEventCount: "Test string",
|
|
1499
|
-
maxEventValue: 42,
|
|
1500
|
-
minEventCount: "Test string",
|
|
1501
|
-
minEventValue: 42,
|
|
1502
|
-
}
|
|
1503
|
-
],
|
|
1504
|
-
fineValue: 42,
|
|
1505
|
-
lockEnabled: true,
|
|
1506
|
-
}
|
|
1507
|
-
],
|
|
1508
|
-
postbackWindowSettingsEnabled: true,
|
|
1509
|
-
},
|
|
1510
|
-
});
|
|
1511
|
-
/** Deletes target SKAdNetworkConversionValueSchema. */
|
|
1512
|
-
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.delete({
|
|
1513
|
-
name: "Test string",
|
|
1514
|
-
});
|
|
1515
|
-
/** Looks up a single SKAdNetworkConversionValueSchema. */
|
|
1516
|
-
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.get({
|
|
1517
|
-
name: "Test string",
|
|
1518
|
-
});
|
|
1519
|
-
/** Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema. */
|
|
1520
|
-
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.list({
|
|
1521
|
-
pageSize: 42,
|
|
1522
|
-
pageToken: "Test string",
|
|
1523
|
-
parent: "Test string",
|
|
1524
|
-
});
|
|
1525
|
-
/** Updates a SKAdNetworkConversionValueSchema. */
|
|
1526
|
-
await gapi.client.analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.patch({
|
|
1527
|
-
name: "Test string",
|
|
1528
|
-
updateMask: "Test string",
|
|
1529
|
-
}, {
|
|
1530
|
-
applyConversionValues: true,
|
|
1531
|
-
name: "Test string",
|
|
1532
|
-
postbackWindowOne: {
|
|
1533
|
-
conversionValues: [
|
|
1534
|
-
{
|
|
1535
|
-
coarseValue: "Test string",
|
|
1536
|
-
displayName: "Test string",
|
|
1537
|
-
eventMappings: [
|
|
1538
|
-
{
|
|
1539
|
-
eventName: "Test string",
|
|
1540
|
-
maxEventCount: "Test string",
|
|
1541
|
-
maxEventValue: 42,
|
|
1542
|
-
minEventCount: "Test string",
|
|
1543
|
-
minEventValue: 42,
|
|
1544
|
-
}
|
|
1545
|
-
],
|
|
1546
|
-
fineValue: 42,
|
|
1547
|
-
lockEnabled: true,
|
|
1548
|
-
}
|
|
1549
|
-
],
|
|
1550
|
-
postbackWindowSettingsEnabled: true,
|
|
1551
|
-
},
|
|
1552
|
-
postbackWindowThree: {
|
|
1553
|
-
conversionValues: [
|
|
1554
|
-
{
|
|
1555
|
-
coarseValue: "Test string",
|
|
1556
|
-
displayName: "Test string",
|
|
1557
|
-
eventMappings: [
|
|
1558
|
-
{
|
|
1559
|
-
eventName: "Test string",
|
|
1560
|
-
maxEventCount: "Test string",
|
|
1561
|
-
maxEventValue: 42,
|
|
1562
|
-
minEventCount: "Test string",
|
|
1563
|
-
minEventValue: 42,
|
|
1564
|
-
}
|
|
1565
|
-
],
|
|
1566
|
-
fineValue: 42,
|
|
1567
|
-
lockEnabled: true,
|
|
1568
|
-
}
|
|
1569
|
-
],
|
|
1570
|
-
postbackWindowSettingsEnabled: true,
|
|
1571
|
-
},
|
|
1572
|
-
postbackWindowTwo: {
|
|
1573
|
-
conversionValues: [
|
|
1574
|
-
{
|
|
1575
|
-
coarseValue: "Test string",
|
|
1576
|
-
displayName: "Test string",
|
|
1577
|
-
eventMappings: [
|
|
1578
|
-
{
|
|
1579
|
-
eventName: "Test string",
|
|
1580
|
-
maxEventCount: "Test string",
|
|
1581
|
-
maxEventValue: 42,
|
|
1582
|
-
minEventCount: "Test string",
|
|
1583
|
-
minEventValue: 42,
|
|
1584
|
-
}
|
|
1585
|
-
],
|
|
1586
|
-
fineValue: 42,
|
|
1587
|
-
lockEnabled: true,
|
|
1588
|
-
}
|
|
1589
|
-
],
|
|
1590
|
-
postbackWindowSettingsEnabled: true,
|
|
1591
|
-
},
|
|
1592
|
-
});
|
|
1593
|
-
/** Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created. */
|
|
1594
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.approve({
|
|
1595
|
-
name: "Test string",
|
|
1596
|
-
}, {
|
|
1597
|
-
});
|
|
1598
|
-
/**
|
|
1599
|
-
* Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google
|
|
1600
|
-
* Analytics After being cancelled, a proposal will eventually be deleted automatically.
|
|
1601
|
-
*/
|
|
1602
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.cancel({
|
|
1603
|
-
name: "Test string",
|
|
1604
|
-
}, {
|
|
1605
|
-
});
|
|
1606
|
-
/** Creates a DisplayVideo360AdvertiserLinkProposal. */
|
|
1607
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.create({
|
|
1608
|
-
parent: "Test string",
|
|
1609
|
-
}, {
|
|
1610
|
-
adsPersonalizationEnabled: true,
|
|
1611
|
-
advertiserDisplayName: "Test string",
|
|
1612
|
-
advertiserId: "Test string",
|
|
1613
|
-
campaignDataSharingEnabled: true,
|
|
1614
|
-
costDataSharingEnabled: true,
|
|
1615
|
-
linkProposalStatusDetails: {
|
|
1616
|
-
linkProposalInitiatingProduct: "Test string",
|
|
1617
|
-
linkProposalState: "Test string",
|
|
1618
|
-
requestorEmail: "Test string",
|
|
1619
|
-
},
|
|
1620
|
-
name: "Test string",
|
|
1621
|
-
validationEmail: "Test string",
|
|
1622
|
-
});
|
|
1623
|
-
/** Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals. */
|
|
1624
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.delete({
|
|
1625
|
-
name: "Test string",
|
|
1626
|
-
});
|
|
1627
|
-
/** Lookup for a single DisplayVideo360AdvertiserLinkProposal. */
|
|
1628
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.get({
|
|
1629
|
-
name: "Test string",
|
|
1630
|
-
});
|
|
1631
|
-
/** Lists DisplayVideo360AdvertiserLinkProposals on a property. */
|
|
1632
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.list({
|
|
1633
|
-
pageSize: 42,
|
|
1634
|
-
pageToken: "Test string",
|
|
1635
|
-
parent: "Test string",
|
|
1636
|
-
});
|
|
1637
|
-
/**
|
|
1638
|
-
* Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360
|
|
1639
|
-
* advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.
|
|
1640
|
-
*/
|
|
1641
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinks.create({
|
|
1642
|
-
parent: "Test string",
|
|
1643
|
-
}, {
|
|
1644
|
-
adsPersonalizationEnabled: true,
|
|
1645
|
-
advertiserDisplayName: "Test string",
|
|
1646
|
-
advertiserId: "Test string",
|
|
1647
|
-
campaignDataSharingEnabled: true,
|
|
1648
|
-
costDataSharingEnabled: true,
|
|
1649
|
-
name: "Test string",
|
|
1650
|
-
});
|
|
1651
|
-
/** Deletes a DisplayVideo360AdvertiserLink on a property. */
|
|
1652
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinks.delete({
|
|
1653
|
-
name: "Test string",
|
|
1654
|
-
});
|
|
1655
|
-
/** Look up a single DisplayVideo360AdvertiserLink */
|
|
1656
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinks.get({
|
|
1657
|
-
name: "Test string",
|
|
1658
|
-
});
|
|
1659
|
-
/** Lists all DisplayVideo360AdvertiserLinks on a property. */
|
|
1660
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinks.list({
|
|
1661
|
-
pageSize: 42,
|
|
1662
|
-
pageToken: "Test string",
|
|
1663
|
-
parent: "Test string",
|
|
1664
|
-
});
|
|
1665
|
-
/** Updates a DisplayVideo360AdvertiserLink on a property. */
|
|
1666
|
-
await gapi.client.analyticsadmin.properties.displayVideo360AdvertiserLinks.patch({
|
|
1667
|
-
name: "Test string",
|
|
1668
|
-
updateMask: "Test string",
|
|
1669
|
-
}, {
|
|
1670
|
-
adsPersonalizationEnabled: true,
|
|
1671
|
-
advertiserDisplayName: "Test string",
|
|
1672
|
-
advertiserId: "Test string",
|
|
1673
|
-
campaignDataSharingEnabled: true,
|
|
1674
|
-
costDataSharingEnabled: true,
|
|
1675
|
-
name: "Test string",
|
|
1676
|
-
});
|
|
1677
|
-
/** Creates a ExpandedDataSet. */
|
|
1678
|
-
await gapi.client.analyticsadmin.properties.expandedDataSets.create({
|
|
1679
|
-
parent: "Test string",
|
|
1680
|
-
}, {
|
|
1681
|
-
dataCollectionStartTime: "Test string",
|
|
1682
|
-
description: "Test string",
|
|
1683
|
-
dimensionFilterExpression: {
|
|
1684
|
-
andGroup: {
|
|
1685
|
-
filterExpressions: undefined,
|
|
1686
|
-
},
|
|
1687
|
-
filter: {
|
|
1688
|
-
fieldName: "Test string",
|
|
1689
|
-
inListFilter: {
|
|
1690
|
-
caseSensitive: true,
|
|
1691
|
-
values: [
|
|
1692
|
-
"Test string"
|
|
1693
|
-
],
|
|
1694
|
-
},
|
|
1695
|
-
stringFilter: {
|
|
1696
|
-
caseSensitive: true,
|
|
1697
|
-
matchType: "Test string",
|
|
1698
|
-
value: "Test string",
|
|
1699
|
-
},
|
|
1700
|
-
},
|
|
1701
|
-
notExpression: undefined,
|
|
1702
|
-
},
|
|
1703
|
-
dimensionNames: [
|
|
1704
|
-
"Test string"
|
|
1705
|
-
],
|
|
1706
|
-
displayName: "Test string",
|
|
1707
|
-
metricNames: [
|
|
1708
|
-
"Test string"
|
|
1709
|
-
],
|
|
1710
|
-
name: "Test string",
|
|
1711
|
-
});
|
|
1712
|
-
/** Deletes a ExpandedDataSet on a property. */
|
|
1713
|
-
await gapi.client.analyticsadmin.properties.expandedDataSets.delete({
|
|
1714
|
-
name: "Test string",
|
|
1715
|
-
});
|
|
1716
|
-
/** Lookup for a single ExpandedDataSet. */
|
|
1717
|
-
await gapi.client.analyticsadmin.properties.expandedDataSets.get({
|
|
1718
|
-
name: "Test string",
|
|
1719
|
-
});
|
|
1720
|
-
/** Lists ExpandedDataSets on a property. */
|
|
1721
|
-
await gapi.client.analyticsadmin.properties.expandedDataSets.list({
|
|
1722
|
-
pageSize: 42,
|
|
1723
|
-
pageToken: "Test string",
|
|
1724
|
-
parent: "Test string",
|
|
1725
|
-
});
|
|
1726
|
-
/** Updates a ExpandedDataSet on a property. */
|
|
1727
|
-
await gapi.client.analyticsadmin.properties.expandedDataSets.patch({
|
|
1728
|
-
name: "Test string",
|
|
1729
|
-
updateMask: "Test string",
|
|
1730
|
-
}, {
|
|
1731
|
-
dataCollectionStartTime: "Test string",
|
|
1732
|
-
description: "Test string",
|
|
1733
|
-
dimensionFilterExpression: {
|
|
1734
|
-
andGroup: {
|
|
1735
|
-
filterExpressions: undefined,
|
|
1736
|
-
},
|
|
1737
|
-
filter: {
|
|
1738
|
-
fieldName: "Test string",
|
|
1739
|
-
inListFilter: {
|
|
1740
|
-
caseSensitive: true,
|
|
1741
|
-
values: [
|
|
1742
|
-
"Test string"
|
|
1743
|
-
],
|
|
1744
|
-
},
|
|
1745
|
-
stringFilter: {
|
|
1746
|
-
caseSensitive: true,
|
|
1747
|
-
matchType: "Test string",
|
|
1748
|
-
value: "Test string",
|
|
1749
|
-
},
|
|
1750
|
-
},
|
|
1751
|
-
notExpression: undefined,
|
|
1752
|
-
},
|
|
1753
|
-
dimensionNames: [
|
|
1754
|
-
"Test string"
|
|
1755
|
-
],
|
|
1756
|
-
displayName: "Test string",
|
|
1757
|
-
metricNames: [
|
|
1758
|
-
"Test string"
|
|
1759
|
-
],
|
|
1760
|
-
name: "Test string",
|
|
1761
|
-
});
|
|
1762
|
-
/** Creates a FirebaseLink. Properties can have at most one FirebaseLink. */
|
|
1763
|
-
await gapi.client.analyticsadmin.properties.firebaseLinks.create({
|
|
1764
|
-
parent: "Test string",
|
|
1765
|
-
}, {
|
|
1766
|
-
createTime: "Test string",
|
|
1767
|
-
name: "Test string",
|
|
1768
|
-
project: "Test string",
|
|
1769
|
-
});
|
|
1770
|
-
/** Deletes a FirebaseLink on a property */
|
|
1771
|
-
await gapi.client.analyticsadmin.properties.firebaseLinks.delete({
|
|
1772
|
-
name: "Test string",
|
|
1773
|
-
});
|
|
1774
|
-
/** Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink. */
|
|
1775
|
-
await gapi.client.analyticsadmin.properties.firebaseLinks.list({
|
|
1776
|
-
pageSize: 42,
|
|
1777
|
-
pageToken: "Test string",
|
|
1778
|
-
parent: "Test string",
|
|
1779
|
-
});
|
|
1780
|
-
/** Creates a GoogleAdsLink. */
|
|
1781
|
-
await gapi.client.analyticsadmin.properties.googleAdsLinks.create({
|
|
1782
|
-
parent: "Test string",
|
|
1783
|
-
}, {
|
|
1784
|
-
adsPersonalizationEnabled: true,
|
|
1785
|
-
canManageClients: true,
|
|
1786
|
-
createTime: "Test string",
|
|
1787
|
-
creatorEmailAddress: "Test string",
|
|
1788
|
-
customerId: "Test string",
|
|
1789
|
-
name: "Test string",
|
|
1790
|
-
updateTime: "Test string",
|
|
1791
|
-
});
|
|
1792
|
-
/** Deletes a GoogleAdsLink on a property */
|
|
1793
|
-
await gapi.client.analyticsadmin.properties.googleAdsLinks.delete({
|
|
1794
|
-
name: "Test string",
|
|
1795
|
-
});
|
|
1796
|
-
/** Lists GoogleAdsLinks on a property. */
|
|
1797
|
-
await gapi.client.analyticsadmin.properties.googleAdsLinks.list({
|
|
1798
|
-
pageSize: 42,
|
|
1799
|
-
pageToken: "Test string",
|
|
1800
|
-
parent: "Test string",
|
|
1801
|
-
});
|
|
1802
|
-
/** Updates a GoogleAdsLink on a property */
|
|
1803
|
-
await gapi.client.analyticsadmin.properties.googleAdsLinks.patch({
|
|
1804
|
-
name: "Test string",
|
|
1805
|
-
updateMask: "Test string",
|
|
1806
|
-
}, {
|
|
1807
|
-
adsPersonalizationEnabled: true,
|
|
1808
|
-
canManageClients: true,
|
|
1809
|
-
createTime: "Test string",
|
|
1810
|
-
creatorEmailAddress: "Test string",
|
|
1811
|
-
customerId: "Test string",
|
|
1812
|
-
name: "Test string",
|
|
1813
|
-
updateTime: "Test string",
|
|
1814
|
-
});
|
|
1815
|
-
/** Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
|
|
1816
|
-
await gapi.client.analyticsadmin.properties.rollupPropertySourceLinks.create({
|
|
1817
|
-
parent: "Test string",
|
|
1818
|
-
}, {
|
|
1819
|
-
name: "Test string",
|
|
1820
|
-
sourceProperty: "Test string",
|
|
1821
|
-
});
|
|
1822
|
-
/** Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
|
|
1823
|
-
await gapi.client.analyticsadmin.properties.rollupPropertySourceLinks.delete({
|
|
1824
|
-
name: "Test string",
|
|
1825
|
-
});
|
|
1826
|
-
/** Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
|
|
1827
|
-
await gapi.client.analyticsadmin.properties.rollupPropertySourceLinks.get({
|
|
1828
|
-
name: "Test string",
|
|
1829
|
-
});
|
|
1830
|
-
/** Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
|
|
1831
|
-
await gapi.client.analyticsadmin.properties.rollupPropertySourceLinks.list({
|
|
1832
|
-
pageSize: 42,
|
|
1833
|
-
pageToken: "Test string",
|
|
1834
|
-
parent: "Test string",
|
|
1835
|
-
});
|
|
1836
|
-
/** Creates a SearchAds360Link. */
|
|
1837
|
-
await gapi.client.analyticsadmin.properties.searchAds360Links.create({
|
|
1838
|
-
parent: "Test string",
|
|
1839
|
-
}, {
|
|
1840
|
-
adsPersonalizationEnabled: true,
|
|
1841
|
-
advertiserDisplayName: "Test string",
|
|
1842
|
-
advertiserId: "Test string",
|
|
1843
|
-
campaignDataSharingEnabled: true,
|
|
1844
|
-
costDataSharingEnabled: true,
|
|
1845
|
-
name: "Test string",
|
|
1846
|
-
siteStatsSharingEnabled: true,
|
|
1847
|
-
});
|
|
1848
|
-
/** Deletes a SearchAds360Link on a property. */
|
|
1849
|
-
await gapi.client.analyticsadmin.properties.searchAds360Links.delete({
|
|
1850
|
-
name: "Test string",
|
|
1851
|
-
});
|
|
1852
|
-
/** Look up a single SearchAds360Link */
|
|
1853
|
-
await gapi.client.analyticsadmin.properties.searchAds360Links.get({
|
|
1854
|
-
name: "Test string",
|
|
1855
|
-
});
|
|
1856
|
-
/** Lists all SearchAds360Links on a property. */
|
|
1857
|
-
await gapi.client.analyticsadmin.properties.searchAds360Links.list({
|
|
1858
|
-
pageSize: 42,
|
|
1859
|
-
pageToken: "Test string",
|
|
1860
|
-
parent: "Test string",
|
|
1861
|
-
});
|
|
1862
|
-
/** Updates a SearchAds360Link on a property. */
|
|
1863
|
-
await gapi.client.analyticsadmin.properties.searchAds360Links.patch({
|
|
1864
|
-
name: "Test string",
|
|
1865
|
-
updateMask: "Test string",
|
|
1866
|
-
}, {
|
|
1867
|
-
adsPersonalizationEnabled: true,
|
|
1868
|
-
advertiserDisplayName: "Test string",
|
|
1869
|
-
advertiserId: "Test string",
|
|
1870
|
-
campaignDataSharingEnabled: true,
|
|
1871
|
-
costDataSharingEnabled: true,
|
|
1872
|
-
name: "Test string",
|
|
1873
|
-
siteStatsSharingEnabled: true,
|
|
1874
|
-
});
|
|
1875
|
-
/** Creates a subproperty Event Filter. */
|
|
1876
|
-
await gapi.client.analyticsadmin.properties.subpropertyEventFilters.create({
|
|
1877
|
-
parent: "Test string",
|
|
1878
|
-
}, {
|
|
1879
|
-
applyToProperty: "Test string",
|
|
1880
|
-
filterClauses: [
|
|
1881
|
-
{
|
|
1882
|
-
filterClauseType: "Test string",
|
|
1883
|
-
filterExpression: {
|
|
1884
|
-
filterCondition: {
|
|
1885
|
-
fieldName: "Test string",
|
|
1886
|
-
nullFilter: true,
|
|
1887
|
-
stringFilter: {
|
|
1888
|
-
caseSensitive: true,
|
|
1889
|
-
matchType: "Test string",
|
|
1890
|
-
value: "Test string",
|
|
1891
|
-
},
|
|
1892
|
-
},
|
|
1893
|
-
notExpression: undefined,
|
|
1894
|
-
orGroup: {
|
|
1895
|
-
filterExpressions: undefined,
|
|
1896
|
-
},
|
|
1897
|
-
},
|
|
1898
|
-
}
|
|
1899
|
-
],
|
|
1900
|
-
name: "Test string",
|
|
1901
|
-
});
|
|
1902
|
-
/** Deletes a subproperty event filter. */
|
|
1903
|
-
await gapi.client.analyticsadmin.properties.subpropertyEventFilters.delete({
|
|
1904
|
-
name: "Test string",
|
|
1905
|
-
});
|
|
1906
|
-
/** Lookup for a single subproperty Event Filter. */
|
|
1907
|
-
await gapi.client.analyticsadmin.properties.subpropertyEventFilters.get({
|
|
1908
|
-
name: "Test string",
|
|
1909
|
-
});
|
|
1910
|
-
/** List all subproperty Event Filters on a property. */
|
|
1911
|
-
await gapi.client.analyticsadmin.properties.subpropertyEventFilters.list({
|
|
1912
|
-
pageSize: 42,
|
|
1913
|
-
pageToken: "Test string",
|
|
1914
|
-
parent: "Test string",
|
|
1915
|
-
});
|
|
1916
|
-
/** Updates a subproperty Event Filter. */
|
|
1917
|
-
await gapi.client.analyticsadmin.properties.subpropertyEventFilters.patch({
|
|
1918
|
-
name: "Test string",
|
|
1919
|
-
updateMask: "Test string",
|
|
1920
|
-
}, {
|
|
1921
|
-
applyToProperty: "Test string",
|
|
1922
|
-
filterClauses: [
|
|
1923
|
-
{
|
|
1924
|
-
filterClauseType: "Test string",
|
|
1925
|
-
filterExpression: {
|
|
1926
|
-
filterCondition: {
|
|
1927
|
-
fieldName: "Test string",
|
|
1928
|
-
nullFilter: true,
|
|
1929
|
-
stringFilter: {
|
|
1930
|
-
caseSensitive: true,
|
|
1931
|
-
matchType: "Test string",
|
|
1932
|
-
value: "Test string",
|
|
1933
|
-
},
|
|
1934
|
-
},
|
|
1935
|
-
notExpression: undefined,
|
|
1936
|
-
orGroup: {
|
|
1937
|
-
filterExpressions: undefined,
|
|
1938
|
-
},
|
|
1939
|
-
},
|
|
1940
|
-
}
|
|
1941
|
-
],
|
|
1942
|
-
name: "Test string",
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
});
|