@maxim_mazurok/gapi.client.tagmanager-v2 0.0.20220810
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 +4230 -0
- package/package.json +20 -0
- package/readme.md +101 -0
- package/tests.ts +2238 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/tests.ts
ADDED
|
@@ -0,0 +1,2238 @@
|
|
|
1
|
+
/* This is stub file for gapi.client.tagmanager-v2 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: 20220810
|
|
7
|
+
|
|
8
|
+
gapi.load('client', async () => {
|
|
9
|
+
/** now we can use gapi.client */
|
|
10
|
+
|
|
11
|
+
await gapi.client.load('https://tagmanager.googleapis.com/$discovery/rest?version=v2');
|
|
12
|
+
/** now we can use gapi.client.tagmanager */
|
|
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
|
+
/** Delete your Google Tag Manager containers */
|
|
19
|
+
'https://www.googleapis.com/auth/tagmanager.delete.containers',
|
|
20
|
+
/** Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing */
|
|
21
|
+
'https://www.googleapis.com/auth/tagmanager.edit.containers',
|
|
22
|
+
/** Manage your Google Tag Manager container versions */
|
|
23
|
+
'https://www.googleapis.com/auth/tagmanager.edit.containerversions',
|
|
24
|
+
/** View and manage your Google Tag Manager accounts */
|
|
25
|
+
'https://www.googleapis.com/auth/tagmanager.manage.accounts',
|
|
26
|
+
/** Manage user permissions of your Google Tag Manager account and container */
|
|
27
|
+
'https://www.googleapis.com/auth/tagmanager.manage.users',
|
|
28
|
+
/** Publish your Google Tag Manager container versions */
|
|
29
|
+
'https://www.googleapis.com/auth/tagmanager.publish',
|
|
30
|
+
/** View your Google Tag Manager container and its subcomponents */
|
|
31
|
+
'https://www.googleapis.com/auth/tagmanager.readonly',
|
|
32
|
+
];
|
|
33
|
+
const immediate = false;
|
|
34
|
+
gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
|
|
35
|
+
if (authResult && !authResult.error) {
|
|
36
|
+
/** handle successful authorization */
|
|
37
|
+
run();
|
|
38
|
+
} else {
|
|
39
|
+
/** handle authorization error */
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
async function run() {
|
|
44
|
+
/** Gets a GTM Account. */
|
|
45
|
+
await gapi.client.tagmanager.accounts.get({
|
|
46
|
+
path: "Test string",
|
|
47
|
+
});
|
|
48
|
+
/** Lists all GTM Accounts that a user has access to. */
|
|
49
|
+
await gapi.client.tagmanager.accounts.list({
|
|
50
|
+
pageToken: "Test string",
|
|
51
|
+
});
|
|
52
|
+
/** Updates a GTM Account. */
|
|
53
|
+
await gapi.client.tagmanager.accounts.update({
|
|
54
|
+
fingerprint: "Test string",
|
|
55
|
+
path: "Test string",
|
|
56
|
+
}, {
|
|
57
|
+
accountId: "Test string",
|
|
58
|
+
fingerprint: "Test string",
|
|
59
|
+
name: "Test string",
|
|
60
|
+
path: "Test string",
|
|
61
|
+
shareData: true,
|
|
62
|
+
tagManagerUrl: "Test string",
|
|
63
|
+
});
|
|
64
|
+
/** Creates a Container. */
|
|
65
|
+
await gapi.client.tagmanager.accounts.containers.create({
|
|
66
|
+
parent: "Test string",
|
|
67
|
+
}, {
|
|
68
|
+
accountId: "Test string",
|
|
69
|
+
containerId: "Test string",
|
|
70
|
+
domainName: [
|
|
71
|
+
"Test string"
|
|
72
|
+
],
|
|
73
|
+
fingerprint: "Test string",
|
|
74
|
+
name: "Test string",
|
|
75
|
+
notes: "Test string",
|
|
76
|
+
path: "Test string",
|
|
77
|
+
publicId: "Test string",
|
|
78
|
+
tagManagerUrl: "Test string",
|
|
79
|
+
usageContext: [
|
|
80
|
+
"Test string"
|
|
81
|
+
],
|
|
82
|
+
});
|
|
83
|
+
/** Deletes a Container. */
|
|
84
|
+
await gapi.client.tagmanager.accounts.containers.delete({
|
|
85
|
+
path: "Test string",
|
|
86
|
+
});
|
|
87
|
+
/** Gets a Container. */
|
|
88
|
+
await gapi.client.tagmanager.accounts.containers.get({
|
|
89
|
+
path: "Test string",
|
|
90
|
+
});
|
|
91
|
+
/** Lists all Containers that belongs to a GTM Account. */
|
|
92
|
+
await gapi.client.tagmanager.accounts.containers.list({
|
|
93
|
+
pageToken: "Test string",
|
|
94
|
+
parent: "Test string",
|
|
95
|
+
});
|
|
96
|
+
/** Updates a Container. */
|
|
97
|
+
await gapi.client.tagmanager.accounts.containers.update({
|
|
98
|
+
fingerprint: "Test string",
|
|
99
|
+
path: "Test string",
|
|
100
|
+
}, {
|
|
101
|
+
accountId: "Test string",
|
|
102
|
+
containerId: "Test string",
|
|
103
|
+
domainName: [
|
|
104
|
+
"Test string"
|
|
105
|
+
],
|
|
106
|
+
fingerprint: "Test string",
|
|
107
|
+
name: "Test string",
|
|
108
|
+
notes: "Test string",
|
|
109
|
+
path: "Test string",
|
|
110
|
+
publicId: "Test string",
|
|
111
|
+
tagManagerUrl: "Test string",
|
|
112
|
+
usageContext: [
|
|
113
|
+
"Test string"
|
|
114
|
+
],
|
|
115
|
+
});
|
|
116
|
+
/** Creates a GTM Environment. */
|
|
117
|
+
await gapi.client.tagmanager.accounts.containers.environments.create({
|
|
118
|
+
parent: "Test string",
|
|
119
|
+
}, {
|
|
120
|
+
accountId: "Test string",
|
|
121
|
+
authorizationCode: "Test string",
|
|
122
|
+
authorizationTimestamp: "Test string",
|
|
123
|
+
containerId: "Test string",
|
|
124
|
+
containerVersionId: "Test string",
|
|
125
|
+
description: "Test string",
|
|
126
|
+
enableDebug: true,
|
|
127
|
+
environmentId: "Test string",
|
|
128
|
+
fingerprint: "Test string",
|
|
129
|
+
name: "Test string",
|
|
130
|
+
path: "Test string",
|
|
131
|
+
tagManagerUrl: "Test string",
|
|
132
|
+
type: "Test string",
|
|
133
|
+
url: "Test string",
|
|
134
|
+
workspaceId: "Test string",
|
|
135
|
+
});
|
|
136
|
+
/** Deletes a GTM Environment. */
|
|
137
|
+
await gapi.client.tagmanager.accounts.containers.environments.delete({
|
|
138
|
+
path: "Test string",
|
|
139
|
+
});
|
|
140
|
+
/** Gets a GTM Environment. */
|
|
141
|
+
await gapi.client.tagmanager.accounts.containers.environments.get({
|
|
142
|
+
path: "Test string",
|
|
143
|
+
});
|
|
144
|
+
/** Lists all GTM Environments of a GTM Container. */
|
|
145
|
+
await gapi.client.tagmanager.accounts.containers.environments.list({
|
|
146
|
+
pageToken: "Test string",
|
|
147
|
+
parent: "Test string",
|
|
148
|
+
});
|
|
149
|
+
/** Re-generates the authorization code for a GTM Environment. */
|
|
150
|
+
await gapi.client.tagmanager.accounts.containers.environments.reauthorize({
|
|
151
|
+
path: "Test string",
|
|
152
|
+
}, {
|
|
153
|
+
accountId: "Test string",
|
|
154
|
+
authorizationCode: "Test string",
|
|
155
|
+
authorizationTimestamp: "Test string",
|
|
156
|
+
containerId: "Test string",
|
|
157
|
+
containerVersionId: "Test string",
|
|
158
|
+
description: "Test string",
|
|
159
|
+
enableDebug: true,
|
|
160
|
+
environmentId: "Test string",
|
|
161
|
+
fingerprint: "Test string",
|
|
162
|
+
name: "Test string",
|
|
163
|
+
path: "Test string",
|
|
164
|
+
tagManagerUrl: "Test string",
|
|
165
|
+
type: "Test string",
|
|
166
|
+
url: "Test string",
|
|
167
|
+
workspaceId: "Test string",
|
|
168
|
+
});
|
|
169
|
+
/** Updates a GTM Environment. */
|
|
170
|
+
await gapi.client.tagmanager.accounts.containers.environments.update({
|
|
171
|
+
fingerprint: "Test string",
|
|
172
|
+
path: "Test string",
|
|
173
|
+
}, {
|
|
174
|
+
accountId: "Test string",
|
|
175
|
+
authorizationCode: "Test string",
|
|
176
|
+
authorizationTimestamp: "Test string",
|
|
177
|
+
containerId: "Test string",
|
|
178
|
+
containerVersionId: "Test string",
|
|
179
|
+
description: "Test string",
|
|
180
|
+
enableDebug: true,
|
|
181
|
+
environmentId: "Test string",
|
|
182
|
+
fingerprint: "Test string",
|
|
183
|
+
name: "Test string",
|
|
184
|
+
path: "Test string",
|
|
185
|
+
tagManagerUrl: "Test string",
|
|
186
|
+
type: "Test string",
|
|
187
|
+
url: "Test string",
|
|
188
|
+
workspaceId: "Test string",
|
|
189
|
+
});
|
|
190
|
+
/** Gets the latest container version header */
|
|
191
|
+
await gapi.client.tagmanager.accounts.containers.version_headers.latest({
|
|
192
|
+
parent: "Test string",
|
|
193
|
+
});
|
|
194
|
+
/** Lists all Container Versions of a GTM Container. */
|
|
195
|
+
await gapi.client.tagmanager.accounts.containers.version_headers.list({
|
|
196
|
+
includeDeleted: true,
|
|
197
|
+
pageToken: "Test string",
|
|
198
|
+
parent: "Test string",
|
|
199
|
+
});
|
|
200
|
+
/** Deletes a Container Version. */
|
|
201
|
+
await gapi.client.tagmanager.accounts.containers.versions.delete({
|
|
202
|
+
path: "Test string",
|
|
203
|
+
});
|
|
204
|
+
/** Gets a Container Version. */
|
|
205
|
+
await gapi.client.tagmanager.accounts.containers.versions.get({
|
|
206
|
+
containerVersionId: "Test string",
|
|
207
|
+
path: "Test string",
|
|
208
|
+
});
|
|
209
|
+
/** Gets the live (i.e. published) container version */
|
|
210
|
+
await gapi.client.tagmanager.accounts.containers.versions.live({
|
|
211
|
+
parent: "Test string",
|
|
212
|
+
});
|
|
213
|
+
/** Publishes a Container Version. */
|
|
214
|
+
await gapi.client.tagmanager.accounts.containers.versions.publish({
|
|
215
|
+
fingerprint: "Test string",
|
|
216
|
+
path: "Test string",
|
|
217
|
+
});
|
|
218
|
+
/** Sets the latest version used for synchronization of workspaces when detecting conflicts and errors. */
|
|
219
|
+
await gapi.client.tagmanager.accounts.containers.versions.set_latest({
|
|
220
|
+
path: "Test string",
|
|
221
|
+
});
|
|
222
|
+
/** Undeletes a Container Version. */
|
|
223
|
+
await gapi.client.tagmanager.accounts.containers.versions.undelete({
|
|
224
|
+
path: "Test string",
|
|
225
|
+
});
|
|
226
|
+
/** Updates a Container Version. */
|
|
227
|
+
await gapi.client.tagmanager.accounts.containers.versions.update({
|
|
228
|
+
fingerprint: "Test string",
|
|
229
|
+
path: "Test string",
|
|
230
|
+
}, {
|
|
231
|
+
accountId: "Test string",
|
|
232
|
+
builtInVariable: [
|
|
233
|
+
{
|
|
234
|
+
accountId: "Test string",
|
|
235
|
+
containerId: "Test string",
|
|
236
|
+
name: "Test string",
|
|
237
|
+
path: "Test string",
|
|
238
|
+
type: "Test string",
|
|
239
|
+
workspaceId: "Test string",
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
client: [
|
|
243
|
+
{
|
|
244
|
+
accountId: "Test string",
|
|
245
|
+
clientId: "Test string",
|
|
246
|
+
containerId: "Test string",
|
|
247
|
+
fingerprint: "Test string",
|
|
248
|
+
name: "Test string",
|
|
249
|
+
notes: "Test string",
|
|
250
|
+
parameter: [
|
|
251
|
+
{
|
|
252
|
+
key: "Test string",
|
|
253
|
+
list: undefined,
|
|
254
|
+
map: undefined,
|
|
255
|
+
type: "Test string",
|
|
256
|
+
value: "Test string",
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
parentFolderId: "Test string",
|
|
260
|
+
path: "Test string",
|
|
261
|
+
priority: 42,
|
|
262
|
+
tagManagerUrl: "Test string",
|
|
263
|
+
type: "Test string",
|
|
264
|
+
workspaceId: "Test string",
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
container: {
|
|
268
|
+
accountId: "Test string",
|
|
269
|
+
containerId: "Test string",
|
|
270
|
+
domainName: [
|
|
271
|
+
"Test string"
|
|
272
|
+
],
|
|
273
|
+
fingerprint: "Test string",
|
|
274
|
+
name: "Test string",
|
|
275
|
+
notes: "Test string",
|
|
276
|
+
path: "Test string",
|
|
277
|
+
publicId: "Test string",
|
|
278
|
+
tagManagerUrl: "Test string",
|
|
279
|
+
usageContext: [
|
|
280
|
+
"Test string"
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
containerId: "Test string",
|
|
284
|
+
containerVersionId: "Test string",
|
|
285
|
+
customTemplate: [
|
|
286
|
+
{
|
|
287
|
+
accountId: "Test string",
|
|
288
|
+
containerId: "Test string",
|
|
289
|
+
fingerprint: "Test string",
|
|
290
|
+
galleryReference: {
|
|
291
|
+
host: "Test string",
|
|
292
|
+
isModified: true,
|
|
293
|
+
owner: "Test string",
|
|
294
|
+
repository: "Test string",
|
|
295
|
+
signature: "Test string",
|
|
296
|
+
version: "Test string",
|
|
297
|
+
},
|
|
298
|
+
name: "Test string",
|
|
299
|
+
path: "Test string",
|
|
300
|
+
tagManagerUrl: "Test string",
|
|
301
|
+
templateData: "Test string",
|
|
302
|
+
templateId: "Test string",
|
|
303
|
+
workspaceId: "Test string",
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
deleted: true,
|
|
307
|
+
description: "Test string",
|
|
308
|
+
fingerprint: "Test string",
|
|
309
|
+
folder: [
|
|
310
|
+
{
|
|
311
|
+
accountId: "Test string",
|
|
312
|
+
containerId: "Test string",
|
|
313
|
+
fingerprint: "Test string",
|
|
314
|
+
folderId: "Test string",
|
|
315
|
+
name: "Test string",
|
|
316
|
+
notes: "Test string",
|
|
317
|
+
path: "Test string",
|
|
318
|
+
tagManagerUrl: "Test string",
|
|
319
|
+
workspaceId: "Test string",
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
name: "Test string",
|
|
323
|
+
path: "Test string",
|
|
324
|
+
tag: [
|
|
325
|
+
{
|
|
326
|
+
accountId: "Test string",
|
|
327
|
+
blockingRuleId: [
|
|
328
|
+
"Test string"
|
|
329
|
+
],
|
|
330
|
+
blockingTriggerId: [
|
|
331
|
+
"Test string"
|
|
332
|
+
],
|
|
333
|
+
consentSettings: {
|
|
334
|
+
consentStatus: "Test string",
|
|
335
|
+
consentType: {
|
|
336
|
+
key: "Test string",
|
|
337
|
+
list: undefined,
|
|
338
|
+
map: undefined,
|
|
339
|
+
type: "Test string",
|
|
340
|
+
value: "Test string",
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
containerId: "Test string",
|
|
344
|
+
fingerprint: "Test string",
|
|
345
|
+
firingRuleId: [
|
|
346
|
+
"Test string"
|
|
347
|
+
],
|
|
348
|
+
firingTriggerId: [
|
|
349
|
+
"Test string"
|
|
350
|
+
],
|
|
351
|
+
liveOnly: true,
|
|
352
|
+
monitoringMetadata: {
|
|
353
|
+
key: "Test string",
|
|
354
|
+
list: undefined,
|
|
355
|
+
map: undefined,
|
|
356
|
+
type: "Test string",
|
|
357
|
+
value: "Test string",
|
|
358
|
+
},
|
|
359
|
+
monitoringMetadataTagNameKey: "Test string",
|
|
360
|
+
name: "Test string",
|
|
361
|
+
notes: "Test string",
|
|
362
|
+
parameter: [
|
|
363
|
+
{
|
|
364
|
+
key: "Test string",
|
|
365
|
+
list: undefined,
|
|
366
|
+
map: undefined,
|
|
367
|
+
type: "Test string",
|
|
368
|
+
value: "Test string",
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
parentFolderId: "Test string",
|
|
372
|
+
path: "Test string",
|
|
373
|
+
paused: true,
|
|
374
|
+
priority: {
|
|
375
|
+
key: "Test string",
|
|
376
|
+
list: undefined,
|
|
377
|
+
map: undefined,
|
|
378
|
+
type: "Test string",
|
|
379
|
+
value: "Test string",
|
|
380
|
+
},
|
|
381
|
+
scheduleEndMs: "Test string",
|
|
382
|
+
scheduleStartMs: "Test string",
|
|
383
|
+
setupTag: [
|
|
384
|
+
{
|
|
385
|
+
stopOnSetupFailure: true,
|
|
386
|
+
tagName: "Test string",
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
tagFiringOption: "Test string",
|
|
390
|
+
tagId: "Test string",
|
|
391
|
+
tagManagerUrl: "Test string",
|
|
392
|
+
teardownTag: [
|
|
393
|
+
{
|
|
394
|
+
stopTeardownOnFailure: true,
|
|
395
|
+
tagName: "Test string",
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
type: "Test string",
|
|
399
|
+
workspaceId: "Test string",
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
tagManagerUrl: "Test string",
|
|
403
|
+
trigger: [
|
|
404
|
+
{
|
|
405
|
+
accountId: "Test string",
|
|
406
|
+
autoEventFilter: [
|
|
407
|
+
{
|
|
408
|
+
parameter: [
|
|
409
|
+
{
|
|
410
|
+
key: "Test string",
|
|
411
|
+
list: undefined,
|
|
412
|
+
map: undefined,
|
|
413
|
+
type: "Test string",
|
|
414
|
+
value: "Test string",
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
type: "Test string",
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
checkValidation: {
|
|
421
|
+
key: "Test string",
|
|
422
|
+
list: undefined,
|
|
423
|
+
map: undefined,
|
|
424
|
+
type: "Test string",
|
|
425
|
+
value: "Test string",
|
|
426
|
+
},
|
|
427
|
+
containerId: "Test string",
|
|
428
|
+
continuousTimeMinMilliseconds: {
|
|
429
|
+
key: "Test string",
|
|
430
|
+
list: undefined,
|
|
431
|
+
map: undefined,
|
|
432
|
+
type: "Test string",
|
|
433
|
+
value: "Test string",
|
|
434
|
+
},
|
|
435
|
+
customEventFilter: [
|
|
436
|
+
{
|
|
437
|
+
parameter: [
|
|
438
|
+
{
|
|
439
|
+
key: "Test string",
|
|
440
|
+
list: undefined,
|
|
441
|
+
map: undefined,
|
|
442
|
+
type: "Test string",
|
|
443
|
+
value: "Test string",
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
type: "Test string",
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
eventName: {
|
|
450
|
+
key: "Test string",
|
|
451
|
+
list: undefined,
|
|
452
|
+
map: undefined,
|
|
453
|
+
type: "Test string",
|
|
454
|
+
value: "Test string",
|
|
455
|
+
},
|
|
456
|
+
filter: [
|
|
457
|
+
{
|
|
458
|
+
parameter: [
|
|
459
|
+
{
|
|
460
|
+
key: "Test string",
|
|
461
|
+
list: undefined,
|
|
462
|
+
map: undefined,
|
|
463
|
+
type: "Test string",
|
|
464
|
+
value: "Test string",
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
type: "Test string",
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
fingerprint: "Test string",
|
|
471
|
+
horizontalScrollPercentageList: {
|
|
472
|
+
key: "Test string",
|
|
473
|
+
list: undefined,
|
|
474
|
+
map: undefined,
|
|
475
|
+
type: "Test string",
|
|
476
|
+
value: "Test string",
|
|
477
|
+
},
|
|
478
|
+
interval: {
|
|
479
|
+
key: "Test string",
|
|
480
|
+
list: undefined,
|
|
481
|
+
map: undefined,
|
|
482
|
+
type: "Test string",
|
|
483
|
+
value: "Test string",
|
|
484
|
+
},
|
|
485
|
+
intervalSeconds: {
|
|
486
|
+
key: "Test string",
|
|
487
|
+
list: undefined,
|
|
488
|
+
map: undefined,
|
|
489
|
+
type: "Test string",
|
|
490
|
+
value: "Test string",
|
|
491
|
+
},
|
|
492
|
+
limit: {
|
|
493
|
+
key: "Test string",
|
|
494
|
+
list: undefined,
|
|
495
|
+
map: undefined,
|
|
496
|
+
type: "Test string",
|
|
497
|
+
value: "Test string",
|
|
498
|
+
},
|
|
499
|
+
maxTimerLengthSeconds: {
|
|
500
|
+
key: "Test string",
|
|
501
|
+
list: undefined,
|
|
502
|
+
map: undefined,
|
|
503
|
+
type: "Test string",
|
|
504
|
+
value: "Test string",
|
|
505
|
+
},
|
|
506
|
+
name: "Test string",
|
|
507
|
+
notes: "Test string",
|
|
508
|
+
parameter: [
|
|
509
|
+
{
|
|
510
|
+
key: "Test string",
|
|
511
|
+
list: undefined,
|
|
512
|
+
map: undefined,
|
|
513
|
+
type: "Test string",
|
|
514
|
+
value: "Test string",
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
parentFolderId: "Test string",
|
|
518
|
+
path: "Test string",
|
|
519
|
+
selector: {
|
|
520
|
+
key: "Test string",
|
|
521
|
+
list: undefined,
|
|
522
|
+
map: undefined,
|
|
523
|
+
type: "Test string",
|
|
524
|
+
value: "Test string",
|
|
525
|
+
},
|
|
526
|
+
tagManagerUrl: "Test string",
|
|
527
|
+
totalTimeMinMilliseconds: {
|
|
528
|
+
key: "Test string",
|
|
529
|
+
list: undefined,
|
|
530
|
+
map: undefined,
|
|
531
|
+
type: "Test string",
|
|
532
|
+
value: "Test string",
|
|
533
|
+
},
|
|
534
|
+
triggerId: "Test string",
|
|
535
|
+
type: "Test string",
|
|
536
|
+
uniqueTriggerId: {
|
|
537
|
+
key: "Test string",
|
|
538
|
+
list: undefined,
|
|
539
|
+
map: undefined,
|
|
540
|
+
type: "Test string",
|
|
541
|
+
value: "Test string",
|
|
542
|
+
},
|
|
543
|
+
verticalScrollPercentageList: {
|
|
544
|
+
key: "Test string",
|
|
545
|
+
list: undefined,
|
|
546
|
+
map: undefined,
|
|
547
|
+
type: "Test string",
|
|
548
|
+
value: "Test string",
|
|
549
|
+
},
|
|
550
|
+
visibilitySelector: {
|
|
551
|
+
key: "Test string",
|
|
552
|
+
list: undefined,
|
|
553
|
+
map: undefined,
|
|
554
|
+
type: "Test string",
|
|
555
|
+
value: "Test string",
|
|
556
|
+
},
|
|
557
|
+
visiblePercentageMax: {
|
|
558
|
+
key: "Test string",
|
|
559
|
+
list: undefined,
|
|
560
|
+
map: undefined,
|
|
561
|
+
type: "Test string",
|
|
562
|
+
value: "Test string",
|
|
563
|
+
},
|
|
564
|
+
visiblePercentageMin: {
|
|
565
|
+
key: "Test string",
|
|
566
|
+
list: undefined,
|
|
567
|
+
map: undefined,
|
|
568
|
+
type: "Test string",
|
|
569
|
+
value: "Test string",
|
|
570
|
+
},
|
|
571
|
+
waitForTags: {
|
|
572
|
+
key: "Test string",
|
|
573
|
+
list: undefined,
|
|
574
|
+
map: undefined,
|
|
575
|
+
type: "Test string",
|
|
576
|
+
value: "Test string",
|
|
577
|
+
},
|
|
578
|
+
waitForTagsTimeout: {
|
|
579
|
+
key: "Test string",
|
|
580
|
+
list: undefined,
|
|
581
|
+
map: undefined,
|
|
582
|
+
type: "Test string",
|
|
583
|
+
value: "Test string",
|
|
584
|
+
},
|
|
585
|
+
workspaceId: "Test string",
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
variable: [
|
|
589
|
+
{
|
|
590
|
+
accountId: "Test string",
|
|
591
|
+
containerId: "Test string",
|
|
592
|
+
disablingTriggerId: [
|
|
593
|
+
"Test string"
|
|
594
|
+
],
|
|
595
|
+
enablingTriggerId: [
|
|
596
|
+
"Test string"
|
|
597
|
+
],
|
|
598
|
+
fingerprint: "Test string",
|
|
599
|
+
formatValue: {
|
|
600
|
+
caseConversionType: "Test string",
|
|
601
|
+
convertFalseToValue: {
|
|
602
|
+
key: "Test string",
|
|
603
|
+
list: undefined,
|
|
604
|
+
map: undefined,
|
|
605
|
+
type: "Test string",
|
|
606
|
+
value: "Test string",
|
|
607
|
+
},
|
|
608
|
+
convertNullToValue: {
|
|
609
|
+
key: "Test string",
|
|
610
|
+
list: undefined,
|
|
611
|
+
map: undefined,
|
|
612
|
+
type: "Test string",
|
|
613
|
+
value: "Test string",
|
|
614
|
+
},
|
|
615
|
+
convertTrueToValue: {
|
|
616
|
+
key: "Test string",
|
|
617
|
+
list: undefined,
|
|
618
|
+
map: undefined,
|
|
619
|
+
type: "Test string",
|
|
620
|
+
value: "Test string",
|
|
621
|
+
},
|
|
622
|
+
convertUndefinedToValue: {
|
|
623
|
+
key: "Test string",
|
|
624
|
+
list: undefined,
|
|
625
|
+
map: undefined,
|
|
626
|
+
type: "Test string",
|
|
627
|
+
value: "Test string",
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
name: "Test string",
|
|
631
|
+
notes: "Test string",
|
|
632
|
+
parameter: [
|
|
633
|
+
{
|
|
634
|
+
key: "Test string",
|
|
635
|
+
list: undefined,
|
|
636
|
+
map: undefined,
|
|
637
|
+
type: "Test string",
|
|
638
|
+
value: "Test string",
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
parentFolderId: "Test string",
|
|
642
|
+
path: "Test string",
|
|
643
|
+
scheduleEndMs: "Test string",
|
|
644
|
+
scheduleStartMs: "Test string",
|
|
645
|
+
tagManagerUrl: "Test string",
|
|
646
|
+
type: "Test string",
|
|
647
|
+
variableId: "Test string",
|
|
648
|
+
workspaceId: "Test string",
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
zone: [
|
|
652
|
+
{
|
|
653
|
+
accountId: "Test string",
|
|
654
|
+
boundary: {
|
|
655
|
+
condition: [
|
|
656
|
+
{
|
|
657
|
+
parameter: [
|
|
658
|
+
{
|
|
659
|
+
key: "Test string",
|
|
660
|
+
list: undefined,
|
|
661
|
+
map: undefined,
|
|
662
|
+
type: "Test string",
|
|
663
|
+
value: "Test string",
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
type: "Test string",
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
customEvaluationTriggerId: [
|
|
670
|
+
"Test string"
|
|
671
|
+
],
|
|
672
|
+
},
|
|
673
|
+
childContainer: [
|
|
674
|
+
{
|
|
675
|
+
nickname: "Test string",
|
|
676
|
+
publicId: "Test string",
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
containerId: "Test string",
|
|
680
|
+
fingerprint: "Test string",
|
|
681
|
+
name: "Test string",
|
|
682
|
+
notes: "Test string",
|
|
683
|
+
parameter: [
|
|
684
|
+
{
|
|
685
|
+
key: "Test string",
|
|
686
|
+
list: undefined,
|
|
687
|
+
map: undefined,
|
|
688
|
+
type: "Test string",
|
|
689
|
+
value: "Test string",
|
|
690
|
+
}
|
|
691
|
+
],
|
|
692
|
+
path: "Test string",
|
|
693
|
+
tagManagerUrl: "Test string",
|
|
694
|
+
typeRestriction: {
|
|
695
|
+
enable: true,
|
|
696
|
+
whitelistedTypeId: [
|
|
697
|
+
"Test string"
|
|
698
|
+
],
|
|
699
|
+
},
|
|
700
|
+
workspaceId: "Test string",
|
|
701
|
+
zoneId: "Test string",
|
|
702
|
+
}
|
|
703
|
+
],
|
|
704
|
+
});
|
|
705
|
+
/** Creates a Workspace. */
|
|
706
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.create({
|
|
707
|
+
parent: "Test string",
|
|
708
|
+
}, {
|
|
709
|
+
accountId: "Test string",
|
|
710
|
+
containerId: "Test string",
|
|
711
|
+
description: "Test string",
|
|
712
|
+
fingerprint: "Test string",
|
|
713
|
+
name: "Test string",
|
|
714
|
+
path: "Test string",
|
|
715
|
+
tagManagerUrl: "Test string",
|
|
716
|
+
workspaceId: "Test string",
|
|
717
|
+
});
|
|
718
|
+
/** Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version. */
|
|
719
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.create_version({
|
|
720
|
+
path: "Test string",
|
|
721
|
+
}, {
|
|
722
|
+
name: "Test string",
|
|
723
|
+
notes: "Test string",
|
|
724
|
+
});
|
|
725
|
+
/** Deletes a Workspace. */
|
|
726
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.delete({
|
|
727
|
+
path: "Test string",
|
|
728
|
+
});
|
|
729
|
+
/** Gets a Workspace. */
|
|
730
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.get({
|
|
731
|
+
path: "Test string",
|
|
732
|
+
});
|
|
733
|
+
/** Finds conflicting and modified entities in the workspace. */
|
|
734
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.getStatus({
|
|
735
|
+
path: "Test string",
|
|
736
|
+
});
|
|
737
|
+
/** Lists all Workspaces that belong to a GTM Container. */
|
|
738
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.list({
|
|
739
|
+
pageToken: "Test string",
|
|
740
|
+
parent: "Test string",
|
|
741
|
+
});
|
|
742
|
+
/** Quick previews a workspace by creating a fake container version from all entities in the provided workspace. */
|
|
743
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.quick_preview({
|
|
744
|
+
path: "Test string",
|
|
745
|
+
});
|
|
746
|
+
/** Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. */
|
|
747
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.resolve_conflict({
|
|
748
|
+
fingerprint: "Test string",
|
|
749
|
+
path: "Test string",
|
|
750
|
+
}, {
|
|
751
|
+
changeStatus: "Test string",
|
|
752
|
+
client: {
|
|
753
|
+
accountId: "Test string",
|
|
754
|
+
clientId: "Test string",
|
|
755
|
+
containerId: "Test string",
|
|
756
|
+
fingerprint: "Test string",
|
|
757
|
+
name: "Test string",
|
|
758
|
+
notes: "Test string",
|
|
759
|
+
parameter: [
|
|
760
|
+
{
|
|
761
|
+
key: "Test string",
|
|
762
|
+
list: undefined,
|
|
763
|
+
map: undefined,
|
|
764
|
+
type: "Test string",
|
|
765
|
+
value: "Test string",
|
|
766
|
+
}
|
|
767
|
+
],
|
|
768
|
+
parentFolderId: "Test string",
|
|
769
|
+
path: "Test string",
|
|
770
|
+
priority: 42,
|
|
771
|
+
tagManagerUrl: "Test string",
|
|
772
|
+
type: "Test string",
|
|
773
|
+
workspaceId: "Test string",
|
|
774
|
+
},
|
|
775
|
+
folder: {
|
|
776
|
+
accountId: "Test string",
|
|
777
|
+
containerId: "Test string",
|
|
778
|
+
fingerprint: "Test string",
|
|
779
|
+
folderId: "Test string",
|
|
780
|
+
name: "Test string",
|
|
781
|
+
notes: "Test string",
|
|
782
|
+
path: "Test string",
|
|
783
|
+
tagManagerUrl: "Test string",
|
|
784
|
+
workspaceId: "Test string",
|
|
785
|
+
},
|
|
786
|
+
tag: {
|
|
787
|
+
accountId: "Test string",
|
|
788
|
+
blockingRuleId: [
|
|
789
|
+
"Test string"
|
|
790
|
+
],
|
|
791
|
+
blockingTriggerId: [
|
|
792
|
+
"Test string"
|
|
793
|
+
],
|
|
794
|
+
consentSettings: {
|
|
795
|
+
consentStatus: "Test string",
|
|
796
|
+
consentType: {
|
|
797
|
+
key: "Test string",
|
|
798
|
+
list: undefined,
|
|
799
|
+
map: undefined,
|
|
800
|
+
type: "Test string",
|
|
801
|
+
value: "Test string",
|
|
802
|
+
},
|
|
803
|
+
},
|
|
804
|
+
containerId: "Test string",
|
|
805
|
+
fingerprint: "Test string",
|
|
806
|
+
firingRuleId: [
|
|
807
|
+
"Test string"
|
|
808
|
+
],
|
|
809
|
+
firingTriggerId: [
|
|
810
|
+
"Test string"
|
|
811
|
+
],
|
|
812
|
+
liveOnly: true,
|
|
813
|
+
monitoringMetadata: {
|
|
814
|
+
key: "Test string",
|
|
815
|
+
list: undefined,
|
|
816
|
+
map: undefined,
|
|
817
|
+
type: "Test string",
|
|
818
|
+
value: "Test string",
|
|
819
|
+
},
|
|
820
|
+
monitoringMetadataTagNameKey: "Test string",
|
|
821
|
+
name: "Test string",
|
|
822
|
+
notes: "Test string",
|
|
823
|
+
parameter: [
|
|
824
|
+
{
|
|
825
|
+
key: "Test string",
|
|
826
|
+
list: undefined,
|
|
827
|
+
map: undefined,
|
|
828
|
+
type: "Test string",
|
|
829
|
+
value: "Test string",
|
|
830
|
+
}
|
|
831
|
+
],
|
|
832
|
+
parentFolderId: "Test string",
|
|
833
|
+
path: "Test string",
|
|
834
|
+
paused: true,
|
|
835
|
+
priority: {
|
|
836
|
+
key: "Test string",
|
|
837
|
+
list: undefined,
|
|
838
|
+
map: undefined,
|
|
839
|
+
type: "Test string",
|
|
840
|
+
value: "Test string",
|
|
841
|
+
},
|
|
842
|
+
scheduleEndMs: "Test string",
|
|
843
|
+
scheduleStartMs: "Test string",
|
|
844
|
+
setupTag: [
|
|
845
|
+
{
|
|
846
|
+
stopOnSetupFailure: true,
|
|
847
|
+
tagName: "Test string",
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
tagFiringOption: "Test string",
|
|
851
|
+
tagId: "Test string",
|
|
852
|
+
tagManagerUrl: "Test string",
|
|
853
|
+
teardownTag: [
|
|
854
|
+
{
|
|
855
|
+
stopTeardownOnFailure: true,
|
|
856
|
+
tagName: "Test string",
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
type: "Test string",
|
|
860
|
+
workspaceId: "Test string",
|
|
861
|
+
},
|
|
862
|
+
trigger: {
|
|
863
|
+
accountId: "Test string",
|
|
864
|
+
autoEventFilter: [
|
|
865
|
+
{
|
|
866
|
+
parameter: [
|
|
867
|
+
{
|
|
868
|
+
key: "Test string",
|
|
869
|
+
list: undefined,
|
|
870
|
+
map: undefined,
|
|
871
|
+
type: "Test string",
|
|
872
|
+
value: "Test string",
|
|
873
|
+
}
|
|
874
|
+
],
|
|
875
|
+
type: "Test string",
|
|
876
|
+
}
|
|
877
|
+
],
|
|
878
|
+
checkValidation: {
|
|
879
|
+
key: "Test string",
|
|
880
|
+
list: undefined,
|
|
881
|
+
map: undefined,
|
|
882
|
+
type: "Test string",
|
|
883
|
+
value: "Test string",
|
|
884
|
+
},
|
|
885
|
+
containerId: "Test string",
|
|
886
|
+
continuousTimeMinMilliseconds: {
|
|
887
|
+
key: "Test string",
|
|
888
|
+
list: undefined,
|
|
889
|
+
map: undefined,
|
|
890
|
+
type: "Test string",
|
|
891
|
+
value: "Test string",
|
|
892
|
+
},
|
|
893
|
+
customEventFilter: [
|
|
894
|
+
{
|
|
895
|
+
parameter: [
|
|
896
|
+
{
|
|
897
|
+
key: "Test string",
|
|
898
|
+
list: undefined,
|
|
899
|
+
map: undefined,
|
|
900
|
+
type: "Test string",
|
|
901
|
+
value: "Test string",
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
type: "Test string",
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
eventName: {
|
|
908
|
+
key: "Test string",
|
|
909
|
+
list: undefined,
|
|
910
|
+
map: undefined,
|
|
911
|
+
type: "Test string",
|
|
912
|
+
value: "Test string",
|
|
913
|
+
},
|
|
914
|
+
filter: [
|
|
915
|
+
{
|
|
916
|
+
parameter: [
|
|
917
|
+
{
|
|
918
|
+
key: "Test string",
|
|
919
|
+
list: undefined,
|
|
920
|
+
map: undefined,
|
|
921
|
+
type: "Test string",
|
|
922
|
+
value: "Test string",
|
|
923
|
+
}
|
|
924
|
+
],
|
|
925
|
+
type: "Test string",
|
|
926
|
+
}
|
|
927
|
+
],
|
|
928
|
+
fingerprint: "Test string",
|
|
929
|
+
horizontalScrollPercentageList: {
|
|
930
|
+
key: "Test string",
|
|
931
|
+
list: undefined,
|
|
932
|
+
map: undefined,
|
|
933
|
+
type: "Test string",
|
|
934
|
+
value: "Test string",
|
|
935
|
+
},
|
|
936
|
+
interval: {
|
|
937
|
+
key: "Test string",
|
|
938
|
+
list: undefined,
|
|
939
|
+
map: undefined,
|
|
940
|
+
type: "Test string",
|
|
941
|
+
value: "Test string",
|
|
942
|
+
},
|
|
943
|
+
intervalSeconds: {
|
|
944
|
+
key: "Test string",
|
|
945
|
+
list: undefined,
|
|
946
|
+
map: undefined,
|
|
947
|
+
type: "Test string",
|
|
948
|
+
value: "Test string",
|
|
949
|
+
},
|
|
950
|
+
limit: {
|
|
951
|
+
key: "Test string",
|
|
952
|
+
list: undefined,
|
|
953
|
+
map: undefined,
|
|
954
|
+
type: "Test string",
|
|
955
|
+
value: "Test string",
|
|
956
|
+
},
|
|
957
|
+
maxTimerLengthSeconds: {
|
|
958
|
+
key: "Test string",
|
|
959
|
+
list: undefined,
|
|
960
|
+
map: undefined,
|
|
961
|
+
type: "Test string",
|
|
962
|
+
value: "Test string",
|
|
963
|
+
},
|
|
964
|
+
name: "Test string",
|
|
965
|
+
notes: "Test string",
|
|
966
|
+
parameter: [
|
|
967
|
+
{
|
|
968
|
+
key: "Test string",
|
|
969
|
+
list: undefined,
|
|
970
|
+
map: undefined,
|
|
971
|
+
type: "Test string",
|
|
972
|
+
value: "Test string",
|
|
973
|
+
}
|
|
974
|
+
],
|
|
975
|
+
parentFolderId: "Test string",
|
|
976
|
+
path: "Test string",
|
|
977
|
+
selector: {
|
|
978
|
+
key: "Test string",
|
|
979
|
+
list: undefined,
|
|
980
|
+
map: undefined,
|
|
981
|
+
type: "Test string",
|
|
982
|
+
value: "Test string",
|
|
983
|
+
},
|
|
984
|
+
tagManagerUrl: "Test string",
|
|
985
|
+
totalTimeMinMilliseconds: {
|
|
986
|
+
key: "Test string",
|
|
987
|
+
list: undefined,
|
|
988
|
+
map: undefined,
|
|
989
|
+
type: "Test string",
|
|
990
|
+
value: "Test string",
|
|
991
|
+
},
|
|
992
|
+
triggerId: "Test string",
|
|
993
|
+
type: "Test string",
|
|
994
|
+
uniqueTriggerId: {
|
|
995
|
+
key: "Test string",
|
|
996
|
+
list: undefined,
|
|
997
|
+
map: undefined,
|
|
998
|
+
type: "Test string",
|
|
999
|
+
value: "Test string",
|
|
1000
|
+
},
|
|
1001
|
+
verticalScrollPercentageList: {
|
|
1002
|
+
key: "Test string",
|
|
1003
|
+
list: undefined,
|
|
1004
|
+
map: undefined,
|
|
1005
|
+
type: "Test string",
|
|
1006
|
+
value: "Test string",
|
|
1007
|
+
},
|
|
1008
|
+
visibilitySelector: {
|
|
1009
|
+
key: "Test string",
|
|
1010
|
+
list: undefined,
|
|
1011
|
+
map: undefined,
|
|
1012
|
+
type: "Test string",
|
|
1013
|
+
value: "Test string",
|
|
1014
|
+
},
|
|
1015
|
+
visiblePercentageMax: {
|
|
1016
|
+
key: "Test string",
|
|
1017
|
+
list: undefined,
|
|
1018
|
+
map: undefined,
|
|
1019
|
+
type: "Test string",
|
|
1020
|
+
value: "Test string",
|
|
1021
|
+
},
|
|
1022
|
+
visiblePercentageMin: {
|
|
1023
|
+
key: "Test string",
|
|
1024
|
+
list: undefined,
|
|
1025
|
+
map: undefined,
|
|
1026
|
+
type: "Test string",
|
|
1027
|
+
value: "Test string",
|
|
1028
|
+
},
|
|
1029
|
+
waitForTags: {
|
|
1030
|
+
key: "Test string",
|
|
1031
|
+
list: undefined,
|
|
1032
|
+
map: undefined,
|
|
1033
|
+
type: "Test string",
|
|
1034
|
+
value: "Test string",
|
|
1035
|
+
},
|
|
1036
|
+
waitForTagsTimeout: {
|
|
1037
|
+
key: "Test string",
|
|
1038
|
+
list: undefined,
|
|
1039
|
+
map: undefined,
|
|
1040
|
+
type: "Test string",
|
|
1041
|
+
value: "Test string",
|
|
1042
|
+
},
|
|
1043
|
+
workspaceId: "Test string",
|
|
1044
|
+
},
|
|
1045
|
+
variable: {
|
|
1046
|
+
accountId: "Test string",
|
|
1047
|
+
containerId: "Test string",
|
|
1048
|
+
disablingTriggerId: [
|
|
1049
|
+
"Test string"
|
|
1050
|
+
],
|
|
1051
|
+
enablingTriggerId: [
|
|
1052
|
+
"Test string"
|
|
1053
|
+
],
|
|
1054
|
+
fingerprint: "Test string",
|
|
1055
|
+
formatValue: {
|
|
1056
|
+
caseConversionType: "Test string",
|
|
1057
|
+
convertFalseToValue: {
|
|
1058
|
+
key: "Test string",
|
|
1059
|
+
list: undefined,
|
|
1060
|
+
map: undefined,
|
|
1061
|
+
type: "Test string",
|
|
1062
|
+
value: "Test string",
|
|
1063
|
+
},
|
|
1064
|
+
convertNullToValue: {
|
|
1065
|
+
key: "Test string",
|
|
1066
|
+
list: undefined,
|
|
1067
|
+
map: undefined,
|
|
1068
|
+
type: "Test string",
|
|
1069
|
+
value: "Test string",
|
|
1070
|
+
},
|
|
1071
|
+
convertTrueToValue: {
|
|
1072
|
+
key: "Test string",
|
|
1073
|
+
list: undefined,
|
|
1074
|
+
map: undefined,
|
|
1075
|
+
type: "Test string",
|
|
1076
|
+
value: "Test string",
|
|
1077
|
+
},
|
|
1078
|
+
convertUndefinedToValue: {
|
|
1079
|
+
key: "Test string",
|
|
1080
|
+
list: undefined,
|
|
1081
|
+
map: undefined,
|
|
1082
|
+
type: "Test string",
|
|
1083
|
+
value: "Test string",
|
|
1084
|
+
},
|
|
1085
|
+
},
|
|
1086
|
+
name: "Test string",
|
|
1087
|
+
notes: "Test string",
|
|
1088
|
+
parameter: [
|
|
1089
|
+
{
|
|
1090
|
+
key: "Test string",
|
|
1091
|
+
list: undefined,
|
|
1092
|
+
map: undefined,
|
|
1093
|
+
type: "Test string",
|
|
1094
|
+
value: "Test string",
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
parentFolderId: "Test string",
|
|
1098
|
+
path: "Test string",
|
|
1099
|
+
scheduleEndMs: "Test string",
|
|
1100
|
+
scheduleStartMs: "Test string",
|
|
1101
|
+
tagManagerUrl: "Test string",
|
|
1102
|
+
type: "Test string",
|
|
1103
|
+
variableId: "Test string",
|
|
1104
|
+
workspaceId: "Test string",
|
|
1105
|
+
},
|
|
1106
|
+
});
|
|
1107
|
+
/** Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities. */
|
|
1108
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.sync({
|
|
1109
|
+
path: "Test string",
|
|
1110
|
+
});
|
|
1111
|
+
/** Updates a Workspace. */
|
|
1112
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.update({
|
|
1113
|
+
fingerprint: "Test string",
|
|
1114
|
+
path: "Test string",
|
|
1115
|
+
}, {
|
|
1116
|
+
accountId: "Test string",
|
|
1117
|
+
containerId: "Test string",
|
|
1118
|
+
description: "Test string",
|
|
1119
|
+
fingerprint: "Test string",
|
|
1120
|
+
name: "Test string",
|
|
1121
|
+
path: "Test string",
|
|
1122
|
+
tagManagerUrl: "Test string",
|
|
1123
|
+
workspaceId: "Test string",
|
|
1124
|
+
});
|
|
1125
|
+
/** Creates one or more GTM Built-In Variables. */
|
|
1126
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.built_in_variables.create({
|
|
1127
|
+
parent: "Test string",
|
|
1128
|
+
type: "Test string",
|
|
1129
|
+
});
|
|
1130
|
+
/** Deletes one or more GTM Built-In Variables. */
|
|
1131
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.built_in_variables.delete({
|
|
1132
|
+
path: "Test string",
|
|
1133
|
+
type: "Test string",
|
|
1134
|
+
});
|
|
1135
|
+
/** Lists all the enabled Built-In Variables of a GTM Container. */
|
|
1136
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.built_in_variables.list({
|
|
1137
|
+
pageToken: "Test string",
|
|
1138
|
+
parent: "Test string",
|
|
1139
|
+
});
|
|
1140
|
+
/** Reverts changes to a GTM Built-In Variables in a GTM Workspace. */
|
|
1141
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.built_in_variables.revert({
|
|
1142
|
+
path: "Test string",
|
|
1143
|
+
type: "Test string",
|
|
1144
|
+
});
|
|
1145
|
+
/** Creates a GTM Client. */
|
|
1146
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.create({
|
|
1147
|
+
parent: "Test string",
|
|
1148
|
+
}, {
|
|
1149
|
+
accountId: "Test string",
|
|
1150
|
+
clientId: "Test string",
|
|
1151
|
+
containerId: "Test string",
|
|
1152
|
+
fingerprint: "Test string",
|
|
1153
|
+
name: "Test string",
|
|
1154
|
+
notes: "Test string",
|
|
1155
|
+
parameter: [
|
|
1156
|
+
{
|
|
1157
|
+
key: "Test string",
|
|
1158
|
+
list: undefined,
|
|
1159
|
+
map: undefined,
|
|
1160
|
+
type: "Test string",
|
|
1161
|
+
value: "Test string",
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
parentFolderId: "Test string",
|
|
1165
|
+
path: "Test string",
|
|
1166
|
+
priority: 42,
|
|
1167
|
+
tagManagerUrl: "Test string",
|
|
1168
|
+
type: "Test string",
|
|
1169
|
+
workspaceId: "Test string",
|
|
1170
|
+
});
|
|
1171
|
+
/** Deletes a GTM Client. */
|
|
1172
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.delete({
|
|
1173
|
+
path: "Test string",
|
|
1174
|
+
});
|
|
1175
|
+
/** Gets a GTM Client. */
|
|
1176
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.get({
|
|
1177
|
+
path: "Test string",
|
|
1178
|
+
});
|
|
1179
|
+
/** Lists all GTM Clients of a GTM container workspace. */
|
|
1180
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.list({
|
|
1181
|
+
pageToken: "Test string",
|
|
1182
|
+
parent: "Test string",
|
|
1183
|
+
});
|
|
1184
|
+
/** Reverts changes to a GTM Client in a GTM Workspace. */
|
|
1185
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.revert({
|
|
1186
|
+
fingerprint: "Test string",
|
|
1187
|
+
path: "Test string",
|
|
1188
|
+
});
|
|
1189
|
+
/** Updates a GTM Client. */
|
|
1190
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.clients.update({
|
|
1191
|
+
fingerprint: "Test string",
|
|
1192
|
+
path: "Test string",
|
|
1193
|
+
}, {
|
|
1194
|
+
accountId: "Test string",
|
|
1195
|
+
clientId: "Test string",
|
|
1196
|
+
containerId: "Test string",
|
|
1197
|
+
fingerprint: "Test string",
|
|
1198
|
+
name: "Test string",
|
|
1199
|
+
notes: "Test string",
|
|
1200
|
+
parameter: [
|
|
1201
|
+
{
|
|
1202
|
+
key: "Test string",
|
|
1203
|
+
list: undefined,
|
|
1204
|
+
map: undefined,
|
|
1205
|
+
type: "Test string",
|
|
1206
|
+
value: "Test string",
|
|
1207
|
+
}
|
|
1208
|
+
],
|
|
1209
|
+
parentFolderId: "Test string",
|
|
1210
|
+
path: "Test string",
|
|
1211
|
+
priority: 42,
|
|
1212
|
+
tagManagerUrl: "Test string",
|
|
1213
|
+
type: "Test string",
|
|
1214
|
+
workspaceId: "Test string",
|
|
1215
|
+
});
|
|
1216
|
+
/** Creates a GTM Folder. */
|
|
1217
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.create({
|
|
1218
|
+
parent: "Test string",
|
|
1219
|
+
}, {
|
|
1220
|
+
accountId: "Test string",
|
|
1221
|
+
containerId: "Test string",
|
|
1222
|
+
fingerprint: "Test string",
|
|
1223
|
+
folderId: "Test string",
|
|
1224
|
+
name: "Test string",
|
|
1225
|
+
notes: "Test string",
|
|
1226
|
+
path: "Test string",
|
|
1227
|
+
tagManagerUrl: "Test string",
|
|
1228
|
+
workspaceId: "Test string",
|
|
1229
|
+
});
|
|
1230
|
+
/** Deletes a GTM Folder. */
|
|
1231
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.delete({
|
|
1232
|
+
path: "Test string",
|
|
1233
|
+
});
|
|
1234
|
+
/** List all entities in a GTM Folder. */
|
|
1235
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.entities({
|
|
1236
|
+
pageToken: "Test string",
|
|
1237
|
+
path: "Test string",
|
|
1238
|
+
});
|
|
1239
|
+
/** Gets a GTM Folder. */
|
|
1240
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.get({
|
|
1241
|
+
path: "Test string",
|
|
1242
|
+
});
|
|
1243
|
+
/** Lists all GTM Folders of a Container. */
|
|
1244
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.list({
|
|
1245
|
+
pageToken: "Test string",
|
|
1246
|
+
parent: "Test string",
|
|
1247
|
+
});
|
|
1248
|
+
/** Moves entities to a GTM Folder. */
|
|
1249
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder({
|
|
1250
|
+
path: "Test string",
|
|
1251
|
+
tagId: "Test string",
|
|
1252
|
+
triggerId: "Test string",
|
|
1253
|
+
variableId: "Test string",
|
|
1254
|
+
}, {
|
|
1255
|
+
accountId: "Test string",
|
|
1256
|
+
containerId: "Test string",
|
|
1257
|
+
fingerprint: "Test string",
|
|
1258
|
+
folderId: "Test string",
|
|
1259
|
+
name: "Test string",
|
|
1260
|
+
notes: "Test string",
|
|
1261
|
+
path: "Test string",
|
|
1262
|
+
tagManagerUrl: "Test string",
|
|
1263
|
+
workspaceId: "Test string",
|
|
1264
|
+
});
|
|
1265
|
+
/** Reverts changes to a GTM Folder in a GTM Workspace. */
|
|
1266
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.revert({
|
|
1267
|
+
fingerprint: "Test string",
|
|
1268
|
+
path: "Test string",
|
|
1269
|
+
});
|
|
1270
|
+
/** Updates a GTM Folder. */
|
|
1271
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.folders.update({
|
|
1272
|
+
fingerprint: "Test string",
|
|
1273
|
+
path: "Test string",
|
|
1274
|
+
}, {
|
|
1275
|
+
accountId: "Test string",
|
|
1276
|
+
containerId: "Test string",
|
|
1277
|
+
fingerprint: "Test string",
|
|
1278
|
+
folderId: "Test string",
|
|
1279
|
+
name: "Test string",
|
|
1280
|
+
notes: "Test string",
|
|
1281
|
+
path: "Test string",
|
|
1282
|
+
tagManagerUrl: "Test string",
|
|
1283
|
+
workspaceId: "Test string",
|
|
1284
|
+
});
|
|
1285
|
+
/** Creates a GTM Tag. */
|
|
1286
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.create({
|
|
1287
|
+
parent: "Test string",
|
|
1288
|
+
}, {
|
|
1289
|
+
accountId: "Test string",
|
|
1290
|
+
blockingRuleId: [
|
|
1291
|
+
"Test string"
|
|
1292
|
+
],
|
|
1293
|
+
blockingTriggerId: [
|
|
1294
|
+
"Test string"
|
|
1295
|
+
],
|
|
1296
|
+
consentSettings: {
|
|
1297
|
+
consentStatus: "Test string",
|
|
1298
|
+
consentType: {
|
|
1299
|
+
key: "Test string",
|
|
1300
|
+
list: undefined,
|
|
1301
|
+
map: undefined,
|
|
1302
|
+
type: "Test string",
|
|
1303
|
+
value: "Test string",
|
|
1304
|
+
},
|
|
1305
|
+
},
|
|
1306
|
+
containerId: "Test string",
|
|
1307
|
+
fingerprint: "Test string",
|
|
1308
|
+
firingRuleId: [
|
|
1309
|
+
"Test string"
|
|
1310
|
+
],
|
|
1311
|
+
firingTriggerId: [
|
|
1312
|
+
"Test string"
|
|
1313
|
+
],
|
|
1314
|
+
liveOnly: true,
|
|
1315
|
+
monitoringMetadata: {
|
|
1316
|
+
key: "Test string",
|
|
1317
|
+
list: undefined,
|
|
1318
|
+
map: undefined,
|
|
1319
|
+
type: "Test string",
|
|
1320
|
+
value: "Test string",
|
|
1321
|
+
},
|
|
1322
|
+
monitoringMetadataTagNameKey: "Test string",
|
|
1323
|
+
name: "Test string",
|
|
1324
|
+
notes: "Test string",
|
|
1325
|
+
parameter: [
|
|
1326
|
+
{
|
|
1327
|
+
key: "Test string",
|
|
1328
|
+
list: undefined,
|
|
1329
|
+
map: undefined,
|
|
1330
|
+
type: "Test string",
|
|
1331
|
+
value: "Test string",
|
|
1332
|
+
}
|
|
1333
|
+
],
|
|
1334
|
+
parentFolderId: "Test string",
|
|
1335
|
+
path: "Test string",
|
|
1336
|
+
paused: true,
|
|
1337
|
+
priority: {
|
|
1338
|
+
key: "Test string",
|
|
1339
|
+
list: undefined,
|
|
1340
|
+
map: undefined,
|
|
1341
|
+
type: "Test string",
|
|
1342
|
+
value: "Test string",
|
|
1343
|
+
},
|
|
1344
|
+
scheduleEndMs: "Test string",
|
|
1345
|
+
scheduleStartMs: "Test string",
|
|
1346
|
+
setupTag: [
|
|
1347
|
+
{
|
|
1348
|
+
stopOnSetupFailure: true,
|
|
1349
|
+
tagName: "Test string",
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
tagFiringOption: "Test string",
|
|
1353
|
+
tagId: "Test string",
|
|
1354
|
+
tagManagerUrl: "Test string",
|
|
1355
|
+
teardownTag: [
|
|
1356
|
+
{
|
|
1357
|
+
stopTeardownOnFailure: true,
|
|
1358
|
+
tagName: "Test string",
|
|
1359
|
+
}
|
|
1360
|
+
],
|
|
1361
|
+
type: "Test string",
|
|
1362
|
+
workspaceId: "Test string",
|
|
1363
|
+
});
|
|
1364
|
+
/** Deletes a GTM Tag. */
|
|
1365
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.delete({
|
|
1366
|
+
path: "Test string",
|
|
1367
|
+
});
|
|
1368
|
+
/** Gets a GTM Tag. */
|
|
1369
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.get({
|
|
1370
|
+
path: "Test string",
|
|
1371
|
+
});
|
|
1372
|
+
/** Lists all GTM Tags of a Container. */
|
|
1373
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.list({
|
|
1374
|
+
pageToken: "Test string",
|
|
1375
|
+
parent: "Test string",
|
|
1376
|
+
});
|
|
1377
|
+
/** Reverts changes to a GTM Tag in a GTM Workspace. */
|
|
1378
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.revert({
|
|
1379
|
+
fingerprint: "Test string",
|
|
1380
|
+
path: "Test string",
|
|
1381
|
+
});
|
|
1382
|
+
/** Updates a GTM Tag. */
|
|
1383
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.tags.update({
|
|
1384
|
+
fingerprint: "Test string",
|
|
1385
|
+
path: "Test string",
|
|
1386
|
+
}, {
|
|
1387
|
+
accountId: "Test string",
|
|
1388
|
+
blockingRuleId: [
|
|
1389
|
+
"Test string"
|
|
1390
|
+
],
|
|
1391
|
+
blockingTriggerId: [
|
|
1392
|
+
"Test string"
|
|
1393
|
+
],
|
|
1394
|
+
consentSettings: {
|
|
1395
|
+
consentStatus: "Test string",
|
|
1396
|
+
consentType: {
|
|
1397
|
+
key: "Test string",
|
|
1398
|
+
list: undefined,
|
|
1399
|
+
map: undefined,
|
|
1400
|
+
type: "Test string",
|
|
1401
|
+
value: "Test string",
|
|
1402
|
+
},
|
|
1403
|
+
},
|
|
1404
|
+
containerId: "Test string",
|
|
1405
|
+
fingerprint: "Test string",
|
|
1406
|
+
firingRuleId: [
|
|
1407
|
+
"Test string"
|
|
1408
|
+
],
|
|
1409
|
+
firingTriggerId: [
|
|
1410
|
+
"Test string"
|
|
1411
|
+
],
|
|
1412
|
+
liveOnly: true,
|
|
1413
|
+
monitoringMetadata: {
|
|
1414
|
+
key: "Test string",
|
|
1415
|
+
list: undefined,
|
|
1416
|
+
map: undefined,
|
|
1417
|
+
type: "Test string",
|
|
1418
|
+
value: "Test string",
|
|
1419
|
+
},
|
|
1420
|
+
monitoringMetadataTagNameKey: "Test string",
|
|
1421
|
+
name: "Test string",
|
|
1422
|
+
notes: "Test string",
|
|
1423
|
+
parameter: [
|
|
1424
|
+
{
|
|
1425
|
+
key: "Test string",
|
|
1426
|
+
list: undefined,
|
|
1427
|
+
map: undefined,
|
|
1428
|
+
type: "Test string",
|
|
1429
|
+
value: "Test string",
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
parentFolderId: "Test string",
|
|
1433
|
+
path: "Test string",
|
|
1434
|
+
paused: true,
|
|
1435
|
+
priority: {
|
|
1436
|
+
key: "Test string",
|
|
1437
|
+
list: undefined,
|
|
1438
|
+
map: undefined,
|
|
1439
|
+
type: "Test string",
|
|
1440
|
+
value: "Test string",
|
|
1441
|
+
},
|
|
1442
|
+
scheduleEndMs: "Test string",
|
|
1443
|
+
scheduleStartMs: "Test string",
|
|
1444
|
+
setupTag: [
|
|
1445
|
+
{
|
|
1446
|
+
stopOnSetupFailure: true,
|
|
1447
|
+
tagName: "Test string",
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
tagFiringOption: "Test string",
|
|
1451
|
+
tagId: "Test string",
|
|
1452
|
+
tagManagerUrl: "Test string",
|
|
1453
|
+
teardownTag: [
|
|
1454
|
+
{
|
|
1455
|
+
stopTeardownOnFailure: true,
|
|
1456
|
+
tagName: "Test string",
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
type: "Test string",
|
|
1460
|
+
workspaceId: "Test string",
|
|
1461
|
+
});
|
|
1462
|
+
/** Creates a GTM Custom Template. */
|
|
1463
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.create({
|
|
1464
|
+
parent: "Test string",
|
|
1465
|
+
}, {
|
|
1466
|
+
accountId: "Test string",
|
|
1467
|
+
containerId: "Test string",
|
|
1468
|
+
fingerprint: "Test string",
|
|
1469
|
+
galleryReference: {
|
|
1470
|
+
host: "Test string",
|
|
1471
|
+
isModified: true,
|
|
1472
|
+
owner: "Test string",
|
|
1473
|
+
repository: "Test string",
|
|
1474
|
+
signature: "Test string",
|
|
1475
|
+
version: "Test string",
|
|
1476
|
+
},
|
|
1477
|
+
name: "Test string",
|
|
1478
|
+
path: "Test string",
|
|
1479
|
+
tagManagerUrl: "Test string",
|
|
1480
|
+
templateData: "Test string",
|
|
1481
|
+
templateId: "Test string",
|
|
1482
|
+
workspaceId: "Test string",
|
|
1483
|
+
});
|
|
1484
|
+
/** Deletes a GTM Template. */
|
|
1485
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.delete({
|
|
1486
|
+
path: "Test string",
|
|
1487
|
+
});
|
|
1488
|
+
/** Gets a GTM Template. */
|
|
1489
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.get({
|
|
1490
|
+
path: "Test string",
|
|
1491
|
+
});
|
|
1492
|
+
/** Lists all GTM Templates of a GTM container workspace. */
|
|
1493
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.list({
|
|
1494
|
+
pageToken: "Test string",
|
|
1495
|
+
parent: "Test string",
|
|
1496
|
+
});
|
|
1497
|
+
/** Reverts changes to a GTM Template in a GTM Workspace. */
|
|
1498
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.revert({
|
|
1499
|
+
fingerprint: "Test string",
|
|
1500
|
+
path: "Test string",
|
|
1501
|
+
});
|
|
1502
|
+
/** Updates a GTM Template. */
|
|
1503
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.templates.update({
|
|
1504
|
+
fingerprint: "Test string",
|
|
1505
|
+
path: "Test string",
|
|
1506
|
+
}, {
|
|
1507
|
+
accountId: "Test string",
|
|
1508
|
+
containerId: "Test string",
|
|
1509
|
+
fingerprint: "Test string",
|
|
1510
|
+
galleryReference: {
|
|
1511
|
+
host: "Test string",
|
|
1512
|
+
isModified: true,
|
|
1513
|
+
owner: "Test string",
|
|
1514
|
+
repository: "Test string",
|
|
1515
|
+
signature: "Test string",
|
|
1516
|
+
version: "Test string",
|
|
1517
|
+
},
|
|
1518
|
+
name: "Test string",
|
|
1519
|
+
path: "Test string",
|
|
1520
|
+
tagManagerUrl: "Test string",
|
|
1521
|
+
templateData: "Test string",
|
|
1522
|
+
templateId: "Test string",
|
|
1523
|
+
workspaceId: "Test string",
|
|
1524
|
+
});
|
|
1525
|
+
/** Creates a GTM Trigger. */
|
|
1526
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.create({
|
|
1527
|
+
parent: "Test string",
|
|
1528
|
+
}, {
|
|
1529
|
+
accountId: "Test string",
|
|
1530
|
+
autoEventFilter: [
|
|
1531
|
+
{
|
|
1532
|
+
parameter: [
|
|
1533
|
+
{
|
|
1534
|
+
key: "Test string",
|
|
1535
|
+
list: undefined,
|
|
1536
|
+
map: undefined,
|
|
1537
|
+
type: "Test string",
|
|
1538
|
+
value: "Test string",
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
type: "Test string",
|
|
1542
|
+
}
|
|
1543
|
+
],
|
|
1544
|
+
checkValidation: {
|
|
1545
|
+
key: "Test string",
|
|
1546
|
+
list: undefined,
|
|
1547
|
+
map: undefined,
|
|
1548
|
+
type: "Test string",
|
|
1549
|
+
value: "Test string",
|
|
1550
|
+
},
|
|
1551
|
+
containerId: "Test string",
|
|
1552
|
+
continuousTimeMinMilliseconds: {
|
|
1553
|
+
key: "Test string",
|
|
1554
|
+
list: undefined,
|
|
1555
|
+
map: undefined,
|
|
1556
|
+
type: "Test string",
|
|
1557
|
+
value: "Test string",
|
|
1558
|
+
},
|
|
1559
|
+
customEventFilter: [
|
|
1560
|
+
{
|
|
1561
|
+
parameter: [
|
|
1562
|
+
{
|
|
1563
|
+
key: "Test string",
|
|
1564
|
+
list: undefined,
|
|
1565
|
+
map: undefined,
|
|
1566
|
+
type: "Test string",
|
|
1567
|
+
value: "Test string",
|
|
1568
|
+
}
|
|
1569
|
+
],
|
|
1570
|
+
type: "Test string",
|
|
1571
|
+
}
|
|
1572
|
+
],
|
|
1573
|
+
eventName: {
|
|
1574
|
+
key: "Test string",
|
|
1575
|
+
list: undefined,
|
|
1576
|
+
map: undefined,
|
|
1577
|
+
type: "Test string",
|
|
1578
|
+
value: "Test string",
|
|
1579
|
+
},
|
|
1580
|
+
filter: [
|
|
1581
|
+
{
|
|
1582
|
+
parameter: [
|
|
1583
|
+
{
|
|
1584
|
+
key: "Test string",
|
|
1585
|
+
list: undefined,
|
|
1586
|
+
map: undefined,
|
|
1587
|
+
type: "Test string",
|
|
1588
|
+
value: "Test string",
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
type: "Test string",
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
fingerprint: "Test string",
|
|
1595
|
+
horizontalScrollPercentageList: {
|
|
1596
|
+
key: "Test string",
|
|
1597
|
+
list: undefined,
|
|
1598
|
+
map: undefined,
|
|
1599
|
+
type: "Test string",
|
|
1600
|
+
value: "Test string",
|
|
1601
|
+
},
|
|
1602
|
+
interval: {
|
|
1603
|
+
key: "Test string",
|
|
1604
|
+
list: undefined,
|
|
1605
|
+
map: undefined,
|
|
1606
|
+
type: "Test string",
|
|
1607
|
+
value: "Test string",
|
|
1608
|
+
},
|
|
1609
|
+
intervalSeconds: {
|
|
1610
|
+
key: "Test string",
|
|
1611
|
+
list: undefined,
|
|
1612
|
+
map: undefined,
|
|
1613
|
+
type: "Test string",
|
|
1614
|
+
value: "Test string",
|
|
1615
|
+
},
|
|
1616
|
+
limit: {
|
|
1617
|
+
key: "Test string",
|
|
1618
|
+
list: undefined,
|
|
1619
|
+
map: undefined,
|
|
1620
|
+
type: "Test string",
|
|
1621
|
+
value: "Test string",
|
|
1622
|
+
},
|
|
1623
|
+
maxTimerLengthSeconds: {
|
|
1624
|
+
key: "Test string",
|
|
1625
|
+
list: undefined,
|
|
1626
|
+
map: undefined,
|
|
1627
|
+
type: "Test string",
|
|
1628
|
+
value: "Test string",
|
|
1629
|
+
},
|
|
1630
|
+
name: "Test string",
|
|
1631
|
+
notes: "Test string",
|
|
1632
|
+
parameter: [
|
|
1633
|
+
{
|
|
1634
|
+
key: "Test string",
|
|
1635
|
+
list: undefined,
|
|
1636
|
+
map: undefined,
|
|
1637
|
+
type: "Test string",
|
|
1638
|
+
value: "Test string",
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
parentFolderId: "Test string",
|
|
1642
|
+
path: "Test string",
|
|
1643
|
+
selector: {
|
|
1644
|
+
key: "Test string",
|
|
1645
|
+
list: undefined,
|
|
1646
|
+
map: undefined,
|
|
1647
|
+
type: "Test string",
|
|
1648
|
+
value: "Test string",
|
|
1649
|
+
},
|
|
1650
|
+
tagManagerUrl: "Test string",
|
|
1651
|
+
totalTimeMinMilliseconds: {
|
|
1652
|
+
key: "Test string",
|
|
1653
|
+
list: undefined,
|
|
1654
|
+
map: undefined,
|
|
1655
|
+
type: "Test string",
|
|
1656
|
+
value: "Test string",
|
|
1657
|
+
},
|
|
1658
|
+
triggerId: "Test string",
|
|
1659
|
+
type: "Test string",
|
|
1660
|
+
uniqueTriggerId: {
|
|
1661
|
+
key: "Test string",
|
|
1662
|
+
list: undefined,
|
|
1663
|
+
map: undefined,
|
|
1664
|
+
type: "Test string",
|
|
1665
|
+
value: "Test string",
|
|
1666
|
+
},
|
|
1667
|
+
verticalScrollPercentageList: {
|
|
1668
|
+
key: "Test string",
|
|
1669
|
+
list: undefined,
|
|
1670
|
+
map: undefined,
|
|
1671
|
+
type: "Test string",
|
|
1672
|
+
value: "Test string",
|
|
1673
|
+
},
|
|
1674
|
+
visibilitySelector: {
|
|
1675
|
+
key: "Test string",
|
|
1676
|
+
list: undefined,
|
|
1677
|
+
map: undefined,
|
|
1678
|
+
type: "Test string",
|
|
1679
|
+
value: "Test string",
|
|
1680
|
+
},
|
|
1681
|
+
visiblePercentageMax: {
|
|
1682
|
+
key: "Test string",
|
|
1683
|
+
list: undefined,
|
|
1684
|
+
map: undefined,
|
|
1685
|
+
type: "Test string",
|
|
1686
|
+
value: "Test string",
|
|
1687
|
+
},
|
|
1688
|
+
visiblePercentageMin: {
|
|
1689
|
+
key: "Test string",
|
|
1690
|
+
list: undefined,
|
|
1691
|
+
map: undefined,
|
|
1692
|
+
type: "Test string",
|
|
1693
|
+
value: "Test string",
|
|
1694
|
+
},
|
|
1695
|
+
waitForTags: {
|
|
1696
|
+
key: "Test string",
|
|
1697
|
+
list: undefined,
|
|
1698
|
+
map: undefined,
|
|
1699
|
+
type: "Test string",
|
|
1700
|
+
value: "Test string",
|
|
1701
|
+
},
|
|
1702
|
+
waitForTagsTimeout: {
|
|
1703
|
+
key: "Test string",
|
|
1704
|
+
list: undefined,
|
|
1705
|
+
map: undefined,
|
|
1706
|
+
type: "Test string",
|
|
1707
|
+
value: "Test string",
|
|
1708
|
+
},
|
|
1709
|
+
workspaceId: "Test string",
|
|
1710
|
+
});
|
|
1711
|
+
/** Deletes a GTM Trigger. */
|
|
1712
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.delete({
|
|
1713
|
+
path: "Test string",
|
|
1714
|
+
});
|
|
1715
|
+
/** Gets a GTM Trigger. */
|
|
1716
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.get({
|
|
1717
|
+
path: "Test string",
|
|
1718
|
+
});
|
|
1719
|
+
/** Lists all GTM Triggers of a Container. */
|
|
1720
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.list({
|
|
1721
|
+
pageToken: "Test string",
|
|
1722
|
+
parent: "Test string",
|
|
1723
|
+
});
|
|
1724
|
+
/** Reverts changes to a GTM Trigger in a GTM Workspace. */
|
|
1725
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.revert({
|
|
1726
|
+
fingerprint: "Test string",
|
|
1727
|
+
path: "Test string",
|
|
1728
|
+
});
|
|
1729
|
+
/** Updates a GTM Trigger. */
|
|
1730
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.triggers.update({
|
|
1731
|
+
fingerprint: "Test string",
|
|
1732
|
+
path: "Test string",
|
|
1733
|
+
}, {
|
|
1734
|
+
accountId: "Test string",
|
|
1735
|
+
autoEventFilter: [
|
|
1736
|
+
{
|
|
1737
|
+
parameter: [
|
|
1738
|
+
{
|
|
1739
|
+
key: "Test string",
|
|
1740
|
+
list: undefined,
|
|
1741
|
+
map: undefined,
|
|
1742
|
+
type: "Test string",
|
|
1743
|
+
value: "Test string",
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
type: "Test string",
|
|
1747
|
+
}
|
|
1748
|
+
],
|
|
1749
|
+
checkValidation: {
|
|
1750
|
+
key: "Test string",
|
|
1751
|
+
list: undefined,
|
|
1752
|
+
map: undefined,
|
|
1753
|
+
type: "Test string",
|
|
1754
|
+
value: "Test string",
|
|
1755
|
+
},
|
|
1756
|
+
containerId: "Test string",
|
|
1757
|
+
continuousTimeMinMilliseconds: {
|
|
1758
|
+
key: "Test string",
|
|
1759
|
+
list: undefined,
|
|
1760
|
+
map: undefined,
|
|
1761
|
+
type: "Test string",
|
|
1762
|
+
value: "Test string",
|
|
1763
|
+
},
|
|
1764
|
+
customEventFilter: [
|
|
1765
|
+
{
|
|
1766
|
+
parameter: [
|
|
1767
|
+
{
|
|
1768
|
+
key: "Test string",
|
|
1769
|
+
list: undefined,
|
|
1770
|
+
map: undefined,
|
|
1771
|
+
type: "Test string",
|
|
1772
|
+
value: "Test string",
|
|
1773
|
+
}
|
|
1774
|
+
],
|
|
1775
|
+
type: "Test string",
|
|
1776
|
+
}
|
|
1777
|
+
],
|
|
1778
|
+
eventName: {
|
|
1779
|
+
key: "Test string",
|
|
1780
|
+
list: undefined,
|
|
1781
|
+
map: undefined,
|
|
1782
|
+
type: "Test string",
|
|
1783
|
+
value: "Test string",
|
|
1784
|
+
},
|
|
1785
|
+
filter: [
|
|
1786
|
+
{
|
|
1787
|
+
parameter: [
|
|
1788
|
+
{
|
|
1789
|
+
key: "Test string",
|
|
1790
|
+
list: undefined,
|
|
1791
|
+
map: undefined,
|
|
1792
|
+
type: "Test string",
|
|
1793
|
+
value: "Test string",
|
|
1794
|
+
}
|
|
1795
|
+
],
|
|
1796
|
+
type: "Test string",
|
|
1797
|
+
}
|
|
1798
|
+
],
|
|
1799
|
+
fingerprint: "Test string",
|
|
1800
|
+
horizontalScrollPercentageList: {
|
|
1801
|
+
key: "Test string",
|
|
1802
|
+
list: undefined,
|
|
1803
|
+
map: undefined,
|
|
1804
|
+
type: "Test string",
|
|
1805
|
+
value: "Test string",
|
|
1806
|
+
},
|
|
1807
|
+
interval: {
|
|
1808
|
+
key: "Test string",
|
|
1809
|
+
list: undefined,
|
|
1810
|
+
map: undefined,
|
|
1811
|
+
type: "Test string",
|
|
1812
|
+
value: "Test string",
|
|
1813
|
+
},
|
|
1814
|
+
intervalSeconds: {
|
|
1815
|
+
key: "Test string",
|
|
1816
|
+
list: undefined,
|
|
1817
|
+
map: undefined,
|
|
1818
|
+
type: "Test string",
|
|
1819
|
+
value: "Test string",
|
|
1820
|
+
},
|
|
1821
|
+
limit: {
|
|
1822
|
+
key: "Test string",
|
|
1823
|
+
list: undefined,
|
|
1824
|
+
map: undefined,
|
|
1825
|
+
type: "Test string",
|
|
1826
|
+
value: "Test string",
|
|
1827
|
+
},
|
|
1828
|
+
maxTimerLengthSeconds: {
|
|
1829
|
+
key: "Test string",
|
|
1830
|
+
list: undefined,
|
|
1831
|
+
map: undefined,
|
|
1832
|
+
type: "Test string",
|
|
1833
|
+
value: "Test string",
|
|
1834
|
+
},
|
|
1835
|
+
name: "Test string",
|
|
1836
|
+
notes: "Test string",
|
|
1837
|
+
parameter: [
|
|
1838
|
+
{
|
|
1839
|
+
key: "Test string",
|
|
1840
|
+
list: undefined,
|
|
1841
|
+
map: undefined,
|
|
1842
|
+
type: "Test string",
|
|
1843
|
+
value: "Test string",
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
parentFolderId: "Test string",
|
|
1847
|
+
path: "Test string",
|
|
1848
|
+
selector: {
|
|
1849
|
+
key: "Test string",
|
|
1850
|
+
list: undefined,
|
|
1851
|
+
map: undefined,
|
|
1852
|
+
type: "Test string",
|
|
1853
|
+
value: "Test string",
|
|
1854
|
+
},
|
|
1855
|
+
tagManagerUrl: "Test string",
|
|
1856
|
+
totalTimeMinMilliseconds: {
|
|
1857
|
+
key: "Test string",
|
|
1858
|
+
list: undefined,
|
|
1859
|
+
map: undefined,
|
|
1860
|
+
type: "Test string",
|
|
1861
|
+
value: "Test string",
|
|
1862
|
+
},
|
|
1863
|
+
triggerId: "Test string",
|
|
1864
|
+
type: "Test string",
|
|
1865
|
+
uniqueTriggerId: {
|
|
1866
|
+
key: "Test string",
|
|
1867
|
+
list: undefined,
|
|
1868
|
+
map: undefined,
|
|
1869
|
+
type: "Test string",
|
|
1870
|
+
value: "Test string",
|
|
1871
|
+
},
|
|
1872
|
+
verticalScrollPercentageList: {
|
|
1873
|
+
key: "Test string",
|
|
1874
|
+
list: undefined,
|
|
1875
|
+
map: undefined,
|
|
1876
|
+
type: "Test string",
|
|
1877
|
+
value: "Test string",
|
|
1878
|
+
},
|
|
1879
|
+
visibilitySelector: {
|
|
1880
|
+
key: "Test string",
|
|
1881
|
+
list: undefined,
|
|
1882
|
+
map: undefined,
|
|
1883
|
+
type: "Test string",
|
|
1884
|
+
value: "Test string",
|
|
1885
|
+
},
|
|
1886
|
+
visiblePercentageMax: {
|
|
1887
|
+
key: "Test string",
|
|
1888
|
+
list: undefined,
|
|
1889
|
+
map: undefined,
|
|
1890
|
+
type: "Test string",
|
|
1891
|
+
value: "Test string",
|
|
1892
|
+
},
|
|
1893
|
+
visiblePercentageMin: {
|
|
1894
|
+
key: "Test string",
|
|
1895
|
+
list: undefined,
|
|
1896
|
+
map: undefined,
|
|
1897
|
+
type: "Test string",
|
|
1898
|
+
value: "Test string",
|
|
1899
|
+
},
|
|
1900
|
+
waitForTags: {
|
|
1901
|
+
key: "Test string",
|
|
1902
|
+
list: undefined,
|
|
1903
|
+
map: undefined,
|
|
1904
|
+
type: "Test string",
|
|
1905
|
+
value: "Test string",
|
|
1906
|
+
},
|
|
1907
|
+
waitForTagsTimeout: {
|
|
1908
|
+
key: "Test string",
|
|
1909
|
+
list: undefined,
|
|
1910
|
+
map: undefined,
|
|
1911
|
+
type: "Test string",
|
|
1912
|
+
value: "Test string",
|
|
1913
|
+
},
|
|
1914
|
+
workspaceId: "Test string",
|
|
1915
|
+
});
|
|
1916
|
+
/** Creates a GTM Variable. */
|
|
1917
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.create({
|
|
1918
|
+
parent: "Test string",
|
|
1919
|
+
}, {
|
|
1920
|
+
accountId: "Test string",
|
|
1921
|
+
containerId: "Test string",
|
|
1922
|
+
disablingTriggerId: [
|
|
1923
|
+
"Test string"
|
|
1924
|
+
],
|
|
1925
|
+
enablingTriggerId: [
|
|
1926
|
+
"Test string"
|
|
1927
|
+
],
|
|
1928
|
+
fingerprint: "Test string",
|
|
1929
|
+
formatValue: {
|
|
1930
|
+
caseConversionType: "Test string",
|
|
1931
|
+
convertFalseToValue: {
|
|
1932
|
+
key: "Test string",
|
|
1933
|
+
list: undefined,
|
|
1934
|
+
map: undefined,
|
|
1935
|
+
type: "Test string",
|
|
1936
|
+
value: "Test string",
|
|
1937
|
+
},
|
|
1938
|
+
convertNullToValue: {
|
|
1939
|
+
key: "Test string",
|
|
1940
|
+
list: undefined,
|
|
1941
|
+
map: undefined,
|
|
1942
|
+
type: "Test string",
|
|
1943
|
+
value: "Test string",
|
|
1944
|
+
},
|
|
1945
|
+
convertTrueToValue: {
|
|
1946
|
+
key: "Test string",
|
|
1947
|
+
list: undefined,
|
|
1948
|
+
map: undefined,
|
|
1949
|
+
type: "Test string",
|
|
1950
|
+
value: "Test string",
|
|
1951
|
+
},
|
|
1952
|
+
convertUndefinedToValue: {
|
|
1953
|
+
key: "Test string",
|
|
1954
|
+
list: undefined,
|
|
1955
|
+
map: undefined,
|
|
1956
|
+
type: "Test string",
|
|
1957
|
+
value: "Test string",
|
|
1958
|
+
},
|
|
1959
|
+
},
|
|
1960
|
+
name: "Test string",
|
|
1961
|
+
notes: "Test string",
|
|
1962
|
+
parameter: [
|
|
1963
|
+
{
|
|
1964
|
+
key: "Test string",
|
|
1965
|
+
list: undefined,
|
|
1966
|
+
map: undefined,
|
|
1967
|
+
type: "Test string",
|
|
1968
|
+
value: "Test string",
|
|
1969
|
+
}
|
|
1970
|
+
],
|
|
1971
|
+
parentFolderId: "Test string",
|
|
1972
|
+
path: "Test string",
|
|
1973
|
+
scheduleEndMs: "Test string",
|
|
1974
|
+
scheduleStartMs: "Test string",
|
|
1975
|
+
tagManagerUrl: "Test string",
|
|
1976
|
+
type: "Test string",
|
|
1977
|
+
variableId: "Test string",
|
|
1978
|
+
workspaceId: "Test string",
|
|
1979
|
+
});
|
|
1980
|
+
/** Deletes a GTM Variable. */
|
|
1981
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.delete({
|
|
1982
|
+
path: "Test string",
|
|
1983
|
+
});
|
|
1984
|
+
/** Gets a GTM Variable. */
|
|
1985
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.get({
|
|
1986
|
+
path: "Test string",
|
|
1987
|
+
});
|
|
1988
|
+
/** Lists all GTM Variables of a Container. */
|
|
1989
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.list({
|
|
1990
|
+
pageToken: "Test string",
|
|
1991
|
+
parent: "Test string",
|
|
1992
|
+
});
|
|
1993
|
+
/** Reverts changes to a GTM Variable in a GTM Workspace. */
|
|
1994
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.revert({
|
|
1995
|
+
fingerprint: "Test string",
|
|
1996
|
+
path: "Test string",
|
|
1997
|
+
});
|
|
1998
|
+
/** Updates a GTM Variable. */
|
|
1999
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.variables.update({
|
|
2000
|
+
fingerprint: "Test string",
|
|
2001
|
+
path: "Test string",
|
|
2002
|
+
}, {
|
|
2003
|
+
accountId: "Test string",
|
|
2004
|
+
containerId: "Test string",
|
|
2005
|
+
disablingTriggerId: [
|
|
2006
|
+
"Test string"
|
|
2007
|
+
],
|
|
2008
|
+
enablingTriggerId: [
|
|
2009
|
+
"Test string"
|
|
2010
|
+
],
|
|
2011
|
+
fingerprint: "Test string",
|
|
2012
|
+
formatValue: {
|
|
2013
|
+
caseConversionType: "Test string",
|
|
2014
|
+
convertFalseToValue: {
|
|
2015
|
+
key: "Test string",
|
|
2016
|
+
list: undefined,
|
|
2017
|
+
map: undefined,
|
|
2018
|
+
type: "Test string",
|
|
2019
|
+
value: "Test string",
|
|
2020
|
+
},
|
|
2021
|
+
convertNullToValue: {
|
|
2022
|
+
key: "Test string",
|
|
2023
|
+
list: undefined,
|
|
2024
|
+
map: undefined,
|
|
2025
|
+
type: "Test string",
|
|
2026
|
+
value: "Test string",
|
|
2027
|
+
},
|
|
2028
|
+
convertTrueToValue: {
|
|
2029
|
+
key: "Test string",
|
|
2030
|
+
list: undefined,
|
|
2031
|
+
map: undefined,
|
|
2032
|
+
type: "Test string",
|
|
2033
|
+
value: "Test string",
|
|
2034
|
+
},
|
|
2035
|
+
convertUndefinedToValue: {
|
|
2036
|
+
key: "Test string",
|
|
2037
|
+
list: undefined,
|
|
2038
|
+
map: undefined,
|
|
2039
|
+
type: "Test string",
|
|
2040
|
+
value: "Test string",
|
|
2041
|
+
},
|
|
2042
|
+
},
|
|
2043
|
+
name: "Test string",
|
|
2044
|
+
notes: "Test string",
|
|
2045
|
+
parameter: [
|
|
2046
|
+
{
|
|
2047
|
+
key: "Test string",
|
|
2048
|
+
list: undefined,
|
|
2049
|
+
map: undefined,
|
|
2050
|
+
type: "Test string",
|
|
2051
|
+
value: "Test string",
|
|
2052
|
+
}
|
|
2053
|
+
],
|
|
2054
|
+
parentFolderId: "Test string",
|
|
2055
|
+
path: "Test string",
|
|
2056
|
+
scheduleEndMs: "Test string",
|
|
2057
|
+
scheduleStartMs: "Test string",
|
|
2058
|
+
tagManagerUrl: "Test string",
|
|
2059
|
+
type: "Test string",
|
|
2060
|
+
variableId: "Test string",
|
|
2061
|
+
workspaceId: "Test string",
|
|
2062
|
+
});
|
|
2063
|
+
/** Creates a GTM Zone. */
|
|
2064
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.create({
|
|
2065
|
+
parent: "Test string",
|
|
2066
|
+
}, {
|
|
2067
|
+
accountId: "Test string",
|
|
2068
|
+
boundary: {
|
|
2069
|
+
condition: [
|
|
2070
|
+
{
|
|
2071
|
+
parameter: [
|
|
2072
|
+
{
|
|
2073
|
+
key: "Test string",
|
|
2074
|
+
list: undefined,
|
|
2075
|
+
map: undefined,
|
|
2076
|
+
type: "Test string",
|
|
2077
|
+
value: "Test string",
|
|
2078
|
+
}
|
|
2079
|
+
],
|
|
2080
|
+
type: "Test string",
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
customEvaluationTriggerId: [
|
|
2084
|
+
"Test string"
|
|
2085
|
+
],
|
|
2086
|
+
},
|
|
2087
|
+
childContainer: [
|
|
2088
|
+
{
|
|
2089
|
+
nickname: "Test string",
|
|
2090
|
+
publicId: "Test string",
|
|
2091
|
+
}
|
|
2092
|
+
],
|
|
2093
|
+
containerId: "Test string",
|
|
2094
|
+
fingerprint: "Test string",
|
|
2095
|
+
name: "Test string",
|
|
2096
|
+
notes: "Test string",
|
|
2097
|
+
parameter: [
|
|
2098
|
+
{
|
|
2099
|
+
key: "Test string",
|
|
2100
|
+
list: undefined,
|
|
2101
|
+
map: undefined,
|
|
2102
|
+
type: "Test string",
|
|
2103
|
+
value: "Test string",
|
|
2104
|
+
}
|
|
2105
|
+
],
|
|
2106
|
+
path: "Test string",
|
|
2107
|
+
tagManagerUrl: "Test string",
|
|
2108
|
+
typeRestriction: {
|
|
2109
|
+
enable: true,
|
|
2110
|
+
whitelistedTypeId: [
|
|
2111
|
+
"Test string"
|
|
2112
|
+
],
|
|
2113
|
+
},
|
|
2114
|
+
workspaceId: "Test string",
|
|
2115
|
+
zoneId: "Test string",
|
|
2116
|
+
});
|
|
2117
|
+
/** Deletes a GTM Zone. */
|
|
2118
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.delete({
|
|
2119
|
+
path: "Test string",
|
|
2120
|
+
});
|
|
2121
|
+
/** Gets a GTM Zone. */
|
|
2122
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.get({
|
|
2123
|
+
path: "Test string",
|
|
2124
|
+
});
|
|
2125
|
+
/** Lists all GTM Zones of a GTM container workspace. */
|
|
2126
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.list({
|
|
2127
|
+
pageToken: "Test string",
|
|
2128
|
+
parent: "Test string",
|
|
2129
|
+
});
|
|
2130
|
+
/** Reverts changes to a GTM Zone in a GTM Workspace. */
|
|
2131
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.revert({
|
|
2132
|
+
fingerprint: "Test string",
|
|
2133
|
+
path: "Test string",
|
|
2134
|
+
});
|
|
2135
|
+
/** Updates a GTM Zone. */
|
|
2136
|
+
await gapi.client.tagmanager.accounts.containers.workspaces.zones.update({
|
|
2137
|
+
fingerprint: "Test string",
|
|
2138
|
+
path: "Test string",
|
|
2139
|
+
}, {
|
|
2140
|
+
accountId: "Test string",
|
|
2141
|
+
boundary: {
|
|
2142
|
+
condition: [
|
|
2143
|
+
{
|
|
2144
|
+
parameter: [
|
|
2145
|
+
{
|
|
2146
|
+
key: "Test string",
|
|
2147
|
+
list: undefined,
|
|
2148
|
+
map: undefined,
|
|
2149
|
+
type: "Test string",
|
|
2150
|
+
value: "Test string",
|
|
2151
|
+
}
|
|
2152
|
+
],
|
|
2153
|
+
type: "Test string",
|
|
2154
|
+
}
|
|
2155
|
+
],
|
|
2156
|
+
customEvaluationTriggerId: [
|
|
2157
|
+
"Test string"
|
|
2158
|
+
],
|
|
2159
|
+
},
|
|
2160
|
+
childContainer: [
|
|
2161
|
+
{
|
|
2162
|
+
nickname: "Test string",
|
|
2163
|
+
publicId: "Test string",
|
|
2164
|
+
}
|
|
2165
|
+
],
|
|
2166
|
+
containerId: "Test string",
|
|
2167
|
+
fingerprint: "Test string",
|
|
2168
|
+
name: "Test string",
|
|
2169
|
+
notes: "Test string",
|
|
2170
|
+
parameter: [
|
|
2171
|
+
{
|
|
2172
|
+
key: "Test string",
|
|
2173
|
+
list: undefined,
|
|
2174
|
+
map: undefined,
|
|
2175
|
+
type: "Test string",
|
|
2176
|
+
value: "Test string",
|
|
2177
|
+
}
|
|
2178
|
+
],
|
|
2179
|
+
path: "Test string",
|
|
2180
|
+
tagManagerUrl: "Test string",
|
|
2181
|
+
typeRestriction: {
|
|
2182
|
+
enable: true,
|
|
2183
|
+
whitelistedTypeId: [
|
|
2184
|
+
"Test string"
|
|
2185
|
+
],
|
|
2186
|
+
},
|
|
2187
|
+
workspaceId: "Test string",
|
|
2188
|
+
zoneId: "Test string",
|
|
2189
|
+
});
|
|
2190
|
+
/** Creates a user's Account & Container access. */
|
|
2191
|
+
await gapi.client.tagmanager.accounts.user_permissions.create({
|
|
2192
|
+
parent: "Test string",
|
|
2193
|
+
}, {
|
|
2194
|
+
accountAccess: {
|
|
2195
|
+
permission: "Test string",
|
|
2196
|
+
},
|
|
2197
|
+
accountId: "Test string",
|
|
2198
|
+
containerAccess: [
|
|
2199
|
+
{
|
|
2200
|
+
containerId: "Test string",
|
|
2201
|
+
permission: "Test string",
|
|
2202
|
+
}
|
|
2203
|
+
],
|
|
2204
|
+
emailAddress: "Test string",
|
|
2205
|
+
path: "Test string",
|
|
2206
|
+
});
|
|
2207
|
+
/** Removes a user from the account, revoking access to it and all of its containers. */
|
|
2208
|
+
await gapi.client.tagmanager.accounts.user_permissions.delete({
|
|
2209
|
+
path: "Test string",
|
|
2210
|
+
});
|
|
2211
|
+
/** Gets a user's Account & Container access. */
|
|
2212
|
+
await gapi.client.tagmanager.accounts.user_permissions.get({
|
|
2213
|
+
path: "Test string",
|
|
2214
|
+
});
|
|
2215
|
+
/** List all users that have access to the account along with Account and Container user access granted to each of them. */
|
|
2216
|
+
await gapi.client.tagmanager.accounts.user_permissions.list({
|
|
2217
|
+
pageToken: "Test string",
|
|
2218
|
+
parent: "Test string",
|
|
2219
|
+
});
|
|
2220
|
+
/** Updates a user's Account & Container access. */
|
|
2221
|
+
await gapi.client.tagmanager.accounts.user_permissions.update({
|
|
2222
|
+
path: "Test string",
|
|
2223
|
+
}, {
|
|
2224
|
+
accountAccess: {
|
|
2225
|
+
permission: "Test string",
|
|
2226
|
+
},
|
|
2227
|
+
accountId: "Test string",
|
|
2228
|
+
containerAccess: [
|
|
2229
|
+
{
|
|
2230
|
+
containerId: "Test string",
|
|
2231
|
+
permission: "Test string",
|
|
2232
|
+
}
|
|
2233
|
+
],
|
|
2234
|
+
emailAddress: "Test string",
|
|
2235
|
+
path: "Test string",
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
});
|