@google-ads/admanager 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +2 -2
  3. package/build/protos/protos.d.ts +1 -1
  4. package/build/protos/protos.js +1 -1
  5. package/build/protos/protos.json +0 -3
  6. package/build/src/index.js +1 -1
  7. package/build/src/v1/ad_unit_service_client.d.ts +4 -3
  8. package/build/src/v1/ad_unit_service_client.js +91 -39
  9. package/build/src/v1/ad_unit_service_client.js.map +1 -1
  10. package/build/src/v1/ad_unit_service_proto_list.json +48 -0
  11. package/build/src/v1/company_service_client.d.ts +3 -2
  12. package/build/src/v1/company_service_client.js +72 -31
  13. package/build/src/v1/company_service_client.js.map +1 -1
  14. package/build/src/v1/company_service_proto_list.json +48 -0
  15. package/build/src/v1/custom_field_service_client.d.ts +3 -2
  16. package/build/src/v1/custom_field_service_client.js +72 -31
  17. package/build/src/v1/custom_field_service_client.js.map +1 -1
  18. package/build/src/v1/custom_field_service_proto_list.json +48 -0
  19. package/build/src/v1/custom_targeting_key_service_client.d.ts +3 -2
  20. package/build/src/v1/custom_targeting_key_service_client.js +72 -31
  21. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -1
  22. package/build/src/v1/custom_targeting_key_service_proto_list.json +48 -0
  23. package/build/src/v1/custom_targeting_value_service_client.d.ts +3 -2
  24. package/build/src/v1/custom_targeting_value_service_client.js +72 -31
  25. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -1
  26. package/build/src/v1/custom_targeting_value_service_proto_list.json +48 -0
  27. package/build/src/v1/entity_signals_mapping_service_client.d.ts +3 -2
  28. package/build/src/v1/entity_signals_mapping_service_client.js +128 -43
  29. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -1
  30. package/build/src/v1/entity_signals_mapping_service_proto_list.json +48 -0
  31. package/build/src/v1/gapic_metadata.json +583 -0
  32. package/build/src/v1/index.js +1 -1
  33. package/build/src/v1/network_service_client.d.ts +2 -1
  34. package/build/src/v1/network_service_client.js +66 -24
  35. package/build/src/v1/network_service_client.js.map +1 -1
  36. package/build/src/v1/network_service_proto_list.json +48 -0
  37. package/build/src/v1/order_service_client.d.ts +3 -2
  38. package/build/src/v1/order_service_client.js +72 -31
  39. package/build/src/v1/order_service_client.js.map +1 -1
  40. package/build/src/v1/order_service_proto_list.json +48 -0
  41. package/build/src/v1/placement_service_client.d.ts +3 -2
  42. package/build/src/v1/placement_service_client.js +72 -31
  43. package/build/src/v1/placement_service_client.js.map +1 -1
  44. package/build/src/v1/placement_service_proto_list.json +48 -0
  45. package/build/src/v1/report_service_client.d.ts +7 -6
  46. package/build/src/v1/report_service_client.js +190 -51
  47. package/build/src/v1/report_service_client.js.map +1 -1
  48. package/build/src/v1/report_service_proto_list.json +48 -0
  49. package/build/src/v1/role_service_client.d.ts +3 -2
  50. package/build/src/v1/role_service_client.js +72 -31
  51. package/build/src/v1/role_service_client.js.map +1 -1
  52. package/build/src/v1/role_service_proto_list.json +48 -0
  53. package/build/src/v1/taxonomy_category_service_client.d.ts +3 -2
  54. package/build/src/v1/taxonomy_category_service_client.js +72 -31
  55. package/build/src/v1/taxonomy_category_service_client.js.map +1 -1
  56. package/build/src/v1/taxonomy_category_service_proto_list.json +48 -0
  57. package/build/src/v1/user_service_client.d.ts +2 -1
  58. package/build/src/v1/user_service_client.js +53 -23
  59. package/build/src/v1/user_service_client.js.map +1 -1
  60. package/build/src/v1/user_service_proto_list.json +48 -0
  61. package/package.json +16 -16
@@ -0,0 +1,583 @@
1
+ {
2
+ "schema": "1.0",
3
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4
+ "language": "typescript",
5
+ "protoPackage": "google.ads.admanager.v1",
6
+ "libraryPackage": "@google-ads/admanager",
7
+ "services": {
8
+ "AdUnitService": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "AdUnitServiceClient",
12
+ "rpcs": {
13
+ "GetAdUnit": {
14
+ "methods": [
15
+ "getAdUnit"
16
+ ]
17
+ },
18
+ "ListAdUnits": {
19
+ "methods": [
20
+ "listAdUnits",
21
+ "listAdUnitsStream",
22
+ "listAdUnitsAsync"
23
+ ]
24
+ },
25
+ "ListAdUnitSizes": {
26
+ "methods": [
27
+ "listAdUnitSizes",
28
+ "listAdUnitSizesStream",
29
+ "listAdUnitSizesAsync"
30
+ ]
31
+ }
32
+ }
33
+ },
34
+ "grpc-fallback": {
35
+ "libraryClient": "AdUnitServiceClient",
36
+ "rpcs": {
37
+ "GetAdUnit": {
38
+ "methods": [
39
+ "getAdUnit"
40
+ ]
41
+ },
42
+ "ListAdUnits": {
43
+ "methods": [
44
+ "listAdUnits",
45
+ "listAdUnitsStream",
46
+ "listAdUnitsAsync"
47
+ ]
48
+ },
49
+ "ListAdUnitSizes": {
50
+ "methods": [
51
+ "listAdUnitSizes",
52
+ "listAdUnitSizesStream",
53
+ "listAdUnitSizesAsync"
54
+ ]
55
+ }
56
+ }
57
+ }
58
+ }
59
+ },
60
+ "CompanyService": {
61
+ "clients": {
62
+ "grpc": {
63
+ "libraryClient": "CompanyServiceClient",
64
+ "rpcs": {
65
+ "GetCompany": {
66
+ "methods": [
67
+ "getCompany"
68
+ ]
69
+ },
70
+ "ListCompanies": {
71
+ "methods": [
72
+ "listCompanies",
73
+ "listCompaniesStream",
74
+ "listCompaniesAsync"
75
+ ]
76
+ }
77
+ }
78
+ },
79
+ "grpc-fallback": {
80
+ "libraryClient": "CompanyServiceClient",
81
+ "rpcs": {
82
+ "GetCompany": {
83
+ "methods": [
84
+ "getCompany"
85
+ ]
86
+ },
87
+ "ListCompanies": {
88
+ "methods": [
89
+ "listCompanies",
90
+ "listCompaniesStream",
91
+ "listCompaniesAsync"
92
+ ]
93
+ }
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "CustomFieldService": {
99
+ "clients": {
100
+ "grpc": {
101
+ "libraryClient": "CustomFieldServiceClient",
102
+ "rpcs": {
103
+ "GetCustomField": {
104
+ "methods": [
105
+ "getCustomField"
106
+ ]
107
+ },
108
+ "ListCustomFields": {
109
+ "methods": [
110
+ "listCustomFields",
111
+ "listCustomFieldsStream",
112
+ "listCustomFieldsAsync"
113
+ ]
114
+ }
115
+ }
116
+ },
117
+ "grpc-fallback": {
118
+ "libraryClient": "CustomFieldServiceClient",
119
+ "rpcs": {
120
+ "GetCustomField": {
121
+ "methods": [
122
+ "getCustomField"
123
+ ]
124
+ },
125
+ "ListCustomFields": {
126
+ "methods": [
127
+ "listCustomFields",
128
+ "listCustomFieldsStream",
129
+ "listCustomFieldsAsync"
130
+ ]
131
+ }
132
+ }
133
+ }
134
+ }
135
+ },
136
+ "CustomTargetingKeyService": {
137
+ "clients": {
138
+ "grpc": {
139
+ "libraryClient": "CustomTargetingKeyServiceClient",
140
+ "rpcs": {
141
+ "GetCustomTargetingKey": {
142
+ "methods": [
143
+ "getCustomTargetingKey"
144
+ ]
145
+ },
146
+ "ListCustomTargetingKeys": {
147
+ "methods": [
148
+ "listCustomTargetingKeys",
149
+ "listCustomTargetingKeysStream",
150
+ "listCustomTargetingKeysAsync"
151
+ ]
152
+ }
153
+ }
154
+ },
155
+ "grpc-fallback": {
156
+ "libraryClient": "CustomTargetingKeyServiceClient",
157
+ "rpcs": {
158
+ "GetCustomTargetingKey": {
159
+ "methods": [
160
+ "getCustomTargetingKey"
161
+ ]
162
+ },
163
+ "ListCustomTargetingKeys": {
164
+ "methods": [
165
+ "listCustomTargetingKeys",
166
+ "listCustomTargetingKeysStream",
167
+ "listCustomTargetingKeysAsync"
168
+ ]
169
+ }
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "CustomTargetingValueService": {
175
+ "clients": {
176
+ "grpc": {
177
+ "libraryClient": "CustomTargetingValueServiceClient",
178
+ "rpcs": {
179
+ "GetCustomTargetingValue": {
180
+ "methods": [
181
+ "getCustomTargetingValue"
182
+ ]
183
+ },
184
+ "ListCustomTargetingValues": {
185
+ "methods": [
186
+ "listCustomTargetingValues",
187
+ "listCustomTargetingValuesStream",
188
+ "listCustomTargetingValuesAsync"
189
+ ]
190
+ }
191
+ }
192
+ },
193
+ "grpc-fallback": {
194
+ "libraryClient": "CustomTargetingValueServiceClient",
195
+ "rpcs": {
196
+ "GetCustomTargetingValue": {
197
+ "methods": [
198
+ "getCustomTargetingValue"
199
+ ]
200
+ },
201
+ "ListCustomTargetingValues": {
202
+ "methods": [
203
+ "listCustomTargetingValues",
204
+ "listCustomTargetingValuesStream",
205
+ "listCustomTargetingValuesAsync"
206
+ ]
207
+ }
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "EntitySignalsMappingService": {
213
+ "clients": {
214
+ "grpc": {
215
+ "libraryClient": "EntitySignalsMappingServiceClient",
216
+ "rpcs": {
217
+ "GetEntitySignalsMapping": {
218
+ "methods": [
219
+ "getEntitySignalsMapping"
220
+ ]
221
+ },
222
+ "CreateEntitySignalsMapping": {
223
+ "methods": [
224
+ "createEntitySignalsMapping"
225
+ ]
226
+ },
227
+ "UpdateEntitySignalsMapping": {
228
+ "methods": [
229
+ "updateEntitySignalsMapping"
230
+ ]
231
+ },
232
+ "BatchCreateEntitySignalsMappings": {
233
+ "methods": [
234
+ "batchCreateEntitySignalsMappings"
235
+ ]
236
+ },
237
+ "BatchUpdateEntitySignalsMappings": {
238
+ "methods": [
239
+ "batchUpdateEntitySignalsMappings"
240
+ ]
241
+ },
242
+ "ListEntitySignalsMappings": {
243
+ "methods": [
244
+ "listEntitySignalsMappings",
245
+ "listEntitySignalsMappingsStream",
246
+ "listEntitySignalsMappingsAsync"
247
+ ]
248
+ }
249
+ }
250
+ },
251
+ "grpc-fallback": {
252
+ "libraryClient": "EntitySignalsMappingServiceClient",
253
+ "rpcs": {
254
+ "GetEntitySignalsMapping": {
255
+ "methods": [
256
+ "getEntitySignalsMapping"
257
+ ]
258
+ },
259
+ "CreateEntitySignalsMapping": {
260
+ "methods": [
261
+ "createEntitySignalsMapping"
262
+ ]
263
+ },
264
+ "UpdateEntitySignalsMapping": {
265
+ "methods": [
266
+ "updateEntitySignalsMapping"
267
+ ]
268
+ },
269
+ "BatchCreateEntitySignalsMappings": {
270
+ "methods": [
271
+ "batchCreateEntitySignalsMappings"
272
+ ]
273
+ },
274
+ "BatchUpdateEntitySignalsMappings": {
275
+ "methods": [
276
+ "batchUpdateEntitySignalsMappings"
277
+ ]
278
+ },
279
+ "ListEntitySignalsMappings": {
280
+ "methods": [
281
+ "listEntitySignalsMappings",
282
+ "listEntitySignalsMappingsStream",
283
+ "listEntitySignalsMappingsAsync"
284
+ ]
285
+ }
286
+ }
287
+ }
288
+ }
289
+ },
290
+ "NetworkService": {
291
+ "clients": {
292
+ "grpc": {
293
+ "libraryClient": "NetworkServiceClient",
294
+ "rpcs": {
295
+ "GetNetwork": {
296
+ "methods": [
297
+ "getNetwork"
298
+ ]
299
+ },
300
+ "ListNetworks": {
301
+ "methods": [
302
+ "listNetworks"
303
+ ]
304
+ }
305
+ }
306
+ },
307
+ "grpc-fallback": {
308
+ "libraryClient": "NetworkServiceClient",
309
+ "rpcs": {
310
+ "GetNetwork": {
311
+ "methods": [
312
+ "getNetwork"
313
+ ]
314
+ },
315
+ "ListNetworks": {
316
+ "methods": [
317
+ "listNetworks"
318
+ ]
319
+ }
320
+ }
321
+ }
322
+ }
323
+ },
324
+ "OrderService": {
325
+ "clients": {
326
+ "grpc": {
327
+ "libraryClient": "OrderServiceClient",
328
+ "rpcs": {
329
+ "GetOrder": {
330
+ "methods": [
331
+ "getOrder"
332
+ ]
333
+ },
334
+ "ListOrders": {
335
+ "methods": [
336
+ "listOrders",
337
+ "listOrdersStream",
338
+ "listOrdersAsync"
339
+ ]
340
+ }
341
+ }
342
+ },
343
+ "grpc-fallback": {
344
+ "libraryClient": "OrderServiceClient",
345
+ "rpcs": {
346
+ "GetOrder": {
347
+ "methods": [
348
+ "getOrder"
349
+ ]
350
+ },
351
+ "ListOrders": {
352
+ "methods": [
353
+ "listOrders",
354
+ "listOrdersStream",
355
+ "listOrdersAsync"
356
+ ]
357
+ }
358
+ }
359
+ }
360
+ }
361
+ },
362
+ "PlacementService": {
363
+ "clients": {
364
+ "grpc": {
365
+ "libraryClient": "PlacementServiceClient",
366
+ "rpcs": {
367
+ "GetPlacement": {
368
+ "methods": [
369
+ "getPlacement"
370
+ ]
371
+ },
372
+ "ListPlacements": {
373
+ "methods": [
374
+ "listPlacements",
375
+ "listPlacementsStream",
376
+ "listPlacementsAsync"
377
+ ]
378
+ }
379
+ }
380
+ },
381
+ "grpc-fallback": {
382
+ "libraryClient": "PlacementServiceClient",
383
+ "rpcs": {
384
+ "GetPlacement": {
385
+ "methods": [
386
+ "getPlacement"
387
+ ]
388
+ },
389
+ "ListPlacements": {
390
+ "methods": [
391
+ "listPlacements",
392
+ "listPlacementsStream",
393
+ "listPlacementsAsync"
394
+ ]
395
+ }
396
+ }
397
+ }
398
+ }
399
+ },
400
+ "ReportService": {
401
+ "clients": {
402
+ "grpc": {
403
+ "libraryClient": "ReportServiceClient",
404
+ "rpcs": {
405
+ "GetReport": {
406
+ "methods": [
407
+ "getReport"
408
+ ]
409
+ },
410
+ "CreateReport": {
411
+ "methods": [
412
+ "createReport"
413
+ ]
414
+ },
415
+ "UpdateReport": {
416
+ "methods": [
417
+ "updateReport"
418
+ ]
419
+ },
420
+ "RunReport": {
421
+ "methods": [
422
+ "runReport"
423
+ ]
424
+ },
425
+ "ListReports": {
426
+ "methods": [
427
+ "listReports",
428
+ "listReportsStream",
429
+ "listReportsAsync"
430
+ ]
431
+ },
432
+ "FetchReportResultRows": {
433
+ "methods": [
434
+ "fetchReportResultRows",
435
+ "fetchReportResultRowsStream",
436
+ "fetchReportResultRowsAsync"
437
+ ]
438
+ }
439
+ }
440
+ },
441
+ "grpc-fallback": {
442
+ "libraryClient": "ReportServiceClient",
443
+ "rpcs": {
444
+ "GetReport": {
445
+ "methods": [
446
+ "getReport"
447
+ ]
448
+ },
449
+ "CreateReport": {
450
+ "methods": [
451
+ "createReport"
452
+ ]
453
+ },
454
+ "UpdateReport": {
455
+ "methods": [
456
+ "updateReport"
457
+ ]
458
+ },
459
+ "RunReport": {
460
+ "methods": [
461
+ "runReport"
462
+ ]
463
+ },
464
+ "ListReports": {
465
+ "methods": [
466
+ "listReports",
467
+ "listReportsStream",
468
+ "listReportsAsync"
469
+ ]
470
+ },
471
+ "FetchReportResultRows": {
472
+ "methods": [
473
+ "fetchReportResultRows",
474
+ "fetchReportResultRowsStream",
475
+ "fetchReportResultRowsAsync"
476
+ ]
477
+ }
478
+ }
479
+ }
480
+ }
481
+ },
482
+ "RoleService": {
483
+ "clients": {
484
+ "grpc": {
485
+ "libraryClient": "RoleServiceClient",
486
+ "rpcs": {
487
+ "GetRole": {
488
+ "methods": [
489
+ "getRole"
490
+ ]
491
+ },
492
+ "ListRoles": {
493
+ "methods": [
494
+ "listRoles",
495
+ "listRolesStream",
496
+ "listRolesAsync"
497
+ ]
498
+ }
499
+ }
500
+ },
501
+ "grpc-fallback": {
502
+ "libraryClient": "RoleServiceClient",
503
+ "rpcs": {
504
+ "GetRole": {
505
+ "methods": [
506
+ "getRole"
507
+ ]
508
+ },
509
+ "ListRoles": {
510
+ "methods": [
511
+ "listRoles",
512
+ "listRolesStream",
513
+ "listRolesAsync"
514
+ ]
515
+ }
516
+ }
517
+ }
518
+ }
519
+ },
520
+ "TaxonomyCategoryService": {
521
+ "clients": {
522
+ "grpc": {
523
+ "libraryClient": "TaxonomyCategoryServiceClient",
524
+ "rpcs": {
525
+ "GetTaxonomyCategory": {
526
+ "methods": [
527
+ "getTaxonomyCategory"
528
+ ]
529
+ },
530
+ "ListTaxonomyCategories": {
531
+ "methods": [
532
+ "listTaxonomyCategories",
533
+ "listTaxonomyCategoriesStream",
534
+ "listTaxonomyCategoriesAsync"
535
+ ]
536
+ }
537
+ }
538
+ },
539
+ "grpc-fallback": {
540
+ "libraryClient": "TaxonomyCategoryServiceClient",
541
+ "rpcs": {
542
+ "GetTaxonomyCategory": {
543
+ "methods": [
544
+ "getTaxonomyCategory"
545
+ ]
546
+ },
547
+ "ListTaxonomyCategories": {
548
+ "methods": [
549
+ "listTaxonomyCategories",
550
+ "listTaxonomyCategoriesStream",
551
+ "listTaxonomyCategoriesAsync"
552
+ ]
553
+ }
554
+ }
555
+ }
556
+ }
557
+ },
558
+ "UserService": {
559
+ "clients": {
560
+ "grpc": {
561
+ "libraryClient": "UserServiceClient",
562
+ "rpcs": {
563
+ "GetUser": {
564
+ "methods": [
565
+ "getUser"
566
+ ]
567
+ }
568
+ }
569
+ },
570
+ "grpc-fallback": {
571
+ "libraryClient": "UserServiceClient",
572
+ "rpcs": {
573
+ "GetUser": {
574
+ "methods": [
575
+ "getUser"
576
+ ]
577
+ }
578
+ }
579
+ }
580
+ }
581
+ }
582
+ }
583
+ }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2024 Google LLC
2
+ // Copyright 2025 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@ export declare class NetworkServiceClient {
16
16
  private _defaults;
17
17
  private _universeDomain;
18
18
  private _servicePath;
19
+ private _log;
19
20
  auth: gax.GoogleAuth;
20
21
  descriptors: Descriptors;
21
22
  warn: (code: string, message: string, warnType?: string) => void;
@@ -50,7 +51,7 @@ export declare class NetworkServiceClient {
50
51
  * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
51
52
  * the environment variable GCLOUD_PROJECT for your project ID. If your
52
53
  * app is running in an environment which supports
53
- * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
54
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
54
55
  * your project ID will be detected automatically.
55
56
  * @param {string} [options.apiEndpoint] - The domain name of the
56
57
  * API remote host.