@google-ads/admanager 0.1.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 (111) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +202 -0
  3. package/README.md +236 -0
  4. package/build/protos/google/ads/admanager/v1/ad_unit_enums.proto +81 -0
  5. package/build/protos/google/ads/admanager/v1/ad_unit_messages.proto +230 -0
  6. package/build/protos/google/ads/admanager/v1/ad_unit_service.proto +195 -0
  7. package/build/protos/google/ads/admanager/v1/admanager_error.proto +52 -0
  8. package/build/protos/google/ads/admanager/v1/applied_label.proto +41 -0
  9. package/build/protos/google/ads/admanager/v1/company_credit_status_enum.proto +97 -0
  10. package/build/protos/google/ads/admanager/v1/company_messages.proto +122 -0
  11. package/build/protos/google/ads/admanager/v1/company_service.proto +126 -0
  12. package/build/protos/google/ads/admanager/v1/company_type_enum.proto +51 -0
  13. package/build/protos/google/ads/admanager/v1/contact_messages.proto +49 -0
  14. package/build/protos/google/ads/admanager/v1/custom_field_enums.proto +110 -0
  15. package/build/protos/google/ads/admanager/v1/custom_field_messages.proto +87 -0
  16. package/build/protos/google/ads/admanager/v1/custom_field_service.proto +127 -0
  17. package/build/protos/google/ads/admanager/v1/custom_field_value.proto +62 -0
  18. package/build/protos/google/ads/admanager/v1/custom_targeting_key_enums.proto +76 -0
  19. package/build/protos/google/ads/admanager/v1/custom_targeting_key_messages.proto +69 -0
  20. package/build/protos/google/ads/admanager/v1/custom_targeting_key_service.proto +129 -0
  21. package/build/protos/google/ads/admanager/v1/custom_targeting_value_enums.proto +90 -0
  22. package/build/protos/google/ads/admanager/v1/custom_targeting_value_messages.proto +66 -0
  23. package/build/protos/google/ads/admanager/v1/custom_targeting_value_service.proto +132 -0
  24. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_messages.proto +64 -0
  25. package/build/protos/google/ads/admanager/v1/entity_signals_mapping_service.proto +252 -0
  26. package/build/protos/google/ads/admanager/v1/environment_type_enum.proto +41 -0
  27. package/build/protos/google/ads/admanager/v1/frequency_cap.proto +39 -0
  28. package/build/protos/google/ads/admanager/v1/label_messages.proto +42 -0
  29. package/build/protos/google/ads/admanager/v1/network_messages.proto +79 -0
  30. package/build/protos/google/ads/admanager/v1/network_service.proto +72 -0
  31. package/build/protos/google/ads/admanager/v1/order_enums.proto +59 -0
  32. package/build/protos/google/ads/admanager/v1/order_messages.proto +209 -0
  33. package/build/protos/google/ads/admanager/v1/order_service.proto +129 -0
  34. package/build/protos/google/ads/admanager/v1/placement_enums.proto +44 -0
  35. package/build/protos/google/ads/admanager/v1/placement_messages.proto +77 -0
  36. package/build/protos/google/ads/admanager/v1/placement_service.proto +126 -0
  37. package/build/protos/google/ads/admanager/v1/report_service.proto +3526 -0
  38. package/build/protos/google/ads/admanager/v1/role_enums.proto +41 -0
  39. package/build/protos/google/ads/admanager/v1/role_messages.proto +59 -0
  40. package/build/protos/google/ads/admanager/v1/role_service.proto +122 -0
  41. package/build/protos/google/ads/admanager/v1/size.proto +47 -0
  42. package/build/protos/google/ads/admanager/v1/size_type_enum.proto +62 -0
  43. package/build/protos/google/ads/admanager/v1/taxonomy_category_messages.proto +70 -0
  44. package/build/protos/google/ads/admanager/v1/taxonomy_category_service.proto +128 -0
  45. package/build/protos/google/ads/admanager/v1/taxonomy_type_enum.proto +51 -0
  46. package/build/protos/google/ads/admanager/v1/team_messages.proto +46 -0
  47. package/build/protos/google/ads/admanager/v1/time_unit_enum.proto +59 -0
  48. package/build/protos/google/ads/admanager/v1/user_messages.proto +78 -0
  49. package/build/protos/google/ads/admanager/v1/user_service.proto +57 -0
  50. package/build/protos/protos.d.ts +23491 -0
  51. package/build/protos/protos.js +69798 -0
  52. package/build/protos/protos.json +7273 -0
  53. package/build/src/index.d.ts +47 -0
  54. package/build/src/index.js +67 -0
  55. package/build/src/index.js.map +1 -0
  56. package/build/src/v1/ad_unit_service_client.d.ts +794 -0
  57. package/build/src/v1/ad_unit_service_client.js +1136 -0
  58. package/build/src/v1/ad_unit_service_client.js.map +1 -0
  59. package/build/src/v1/ad_unit_service_client_config.json +38 -0
  60. package/build/src/v1/company_service_client.d.ts +663 -0
  61. package/build/src/v1/company_service_client.js +999 -0
  62. package/build/src/v1/company_service_client.js.map +1 -0
  63. package/build/src/v1/company_service_client_config.json +34 -0
  64. package/build/src/v1/custom_field_service_client.d.ts +663 -0
  65. package/build/src/v1/custom_field_service_client.js +1002 -0
  66. package/build/src/v1/custom_field_service_client.js.map +1 -0
  67. package/build/src/v1/custom_field_service_client_config.json +34 -0
  68. package/build/src/v1/custom_targeting_key_service_client.d.ts +664 -0
  69. package/build/src/v1/custom_targeting_key_service_client.js +1004 -0
  70. package/build/src/v1/custom_targeting_key_service_client.js.map +1 -0
  71. package/build/src/v1/custom_targeting_key_service_client_config.json +34 -0
  72. package/build/src/v1/custom_targeting_value_service_client.d.ts +673 -0
  73. package/build/src/v1/custom_targeting_value_service_client.js +1010 -0
  74. package/build/src/v1/custom_targeting_value_service_client.js.map +1 -0
  75. package/build/src/v1/custom_targeting_value_service_client_config.json +34 -0
  76. package/build/src/v1/entity_signals_mapping_service_client.d.ts +782 -0
  77. package/build/src/v1/entity_signals_mapping_service_client.js +1096 -0
  78. package/build/src/v1/entity_signals_mapping_service_client.js.map +1 -0
  79. package/build/src/v1/entity_signals_mapping_service_client_config.json +50 -0
  80. package/build/src/v1/index.d.ts +13 -0
  81. package/build/src/v1/index.js +47 -0
  82. package/build/src/v1/index.js.map +1 -0
  83. package/build/src/v1/network_service_client.d.ts +552 -0
  84. package/build/src/v1/network_service_client.js +877 -0
  85. package/build/src/v1/network_service_client.js.map +1 -0
  86. package/build/src/v1/network_service_client_config.json +34 -0
  87. package/build/src/v1/order_service_client.d.ts +668 -0
  88. package/build/src/v1/order_service_client.js +999 -0
  89. package/build/src/v1/order_service_client.js.map +1 -0
  90. package/build/src/v1/order_service_client_config.json +48 -0
  91. package/build/src/v1/placement_service_client.d.ts +663 -0
  92. package/build/src/v1/placement_service_client.js +999 -0
  93. package/build/src/v1/placement_service_client.js.map +1 -0
  94. package/build/src/v1/placement_service_client_config.json +34 -0
  95. package/build/src/v1/report_service_client.d.ts +975 -0
  96. package/build/src/v1/report_service_client.js +1352 -0
  97. package/build/src/v1/report_service_client.js.map +1 -0
  98. package/build/src/v1/report_service_client_config.json +50 -0
  99. package/build/src/v1/role_service_client.d.ts +660 -0
  100. package/build/src/v1/role_service_client.js +997 -0
  101. package/build/src/v1/role_service_client.js.map +1 -0
  102. package/build/src/v1/role_service_client_config.json +34 -0
  103. package/build/src/v1/taxonomy_category_service_client.d.ts +663 -0
  104. package/build/src/v1/taxonomy_category_service_client.js +1003 -0
  105. package/build/src/v1/taxonomy_category_service_client.js.map +1 -0
  106. package/build/src/v1/taxonomy_category_service_client_config.json +34 -0
  107. package/build/src/v1/user_service_client.d.ts +534 -0
  108. package/build/src/v1/user_service_client.js +861 -0
  109. package/build/src/v1/user_service_client.js.map +1 -0
  110. package/build/src/v1/user_service_client_config.json +30 -0
  111. package/package.json +70 -0
@@ -0,0 +1,673 @@
1
+ import type * as gax from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
3
+ import { Transform } from 'stream';
4
+ import * as protos from '../../protos/protos';
5
+ /**
6
+ * Provides methods for handling `CustomTargetingValue` objects.
7
+ * @class
8
+ * @memberof v1
9
+ */
10
+ export declare class CustomTargetingValueServiceClient {
11
+ private _terminated;
12
+ private _opts;
13
+ private _providedCustomServicePath;
14
+ private _gaxModule;
15
+ private _gaxGrpc;
16
+ private _protos;
17
+ private _defaults;
18
+ private _universeDomain;
19
+ private _servicePath;
20
+ auth: gax.GoogleAuth;
21
+ descriptors: Descriptors;
22
+ warn: (code: string, message: string, warnType?: string) => void;
23
+ innerApiCalls: {
24
+ [name: string]: Function;
25
+ };
26
+ pathTemplates: {
27
+ [name: string]: gax.PathTemplate;
28
+ };
29
+ customTargetingValueServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of CustomTargetingValueServiceClient.
34
+ *
35
+ * @param {object} [options] - The configuration object.
36
+ * The options accepted by the constructor are described in detail
37
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
38
+ * The common options are:
39
+ * @param {object} [options.credentials] - Credentials object.
40
+ * @param {string} [options.credentials.client_email]
41
+ * @param {string} [options.credentials.private_key]
42
+ * @param {string} [options.email] - Account email address. Required when
43
+ * using a .pem or .p12 keyFilename.
44
+ * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
45
+ * .p12 key downloaded from the Google Developers Console. If you provide
46
+ * a path to a JSON file, the projectId option below is not necessary.
47
+ * NOTE: .pem and .p12 require you to specify options.email as well.
48
+ * @param {number} [options.port] - The port on which to connect to
49
+ * the remote host.
50
+ * @param {string} [options.projectId] - The project ID from the Google
51
+ * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
52
+ * the environment variable GCLOUD_PROJECT for your project ID. If your
53
+ * app is running in an environment which supports
54
+ * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
55
+ * your project ID will be detected automatically.
56
+ * @param {string} [options.apiEndpoint] - The domain name of the
57
+ * API remote host.
58
+ * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
59
+ * Follows the structure of {@link gapicConfig}.
60
+ * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
61
+ * For more information, please check the
62
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
63
+ * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
64
+ * need to avoid loading the default gRPC version and want to use the fallback
65
+ * HTTP implementation. Load only fallback version and pass it to the constructor:
66
+ * ```
67
+ * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
68
+ * const client = new CustomTargetingValueServiceClient({fallback: true}, gax);
69
+ * ```
70
+ */
71
+ constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
72
+ /**
73
+ * Initialize the client.
74
+ * Performs asynchronous operations (such as authentication) and prepares the client.
75
+ * This function will be called automatically when any class method is called for the
76
+ * first time, but if you need to initialize it before calling an actual method,
77
+ * feel free to call initialize() directly.
78
+ *
79
+ * You can await on this method if you want to make sure the client is initialized.
80
+ *
81
+ * @returns {Promise} A promise that resolves to an authenticated service stub.
82
+ */
83
+ initialize(): Promise<{
84
+ [name: string]: Function;
85
+ }>;
86
+ /**
87
+ * The DNS address for this API service.
88
+ * @deprecated Use the apiEndpoint method of the client instance.
89
+ * @returns {string} The DNS address for this service.
90
+ */
91
+ static get servicePath(): string;
92
+ /**
93
+ * The DNS address for this API service - same as servicePath.
94
+ * @deprecated Use the apiEndpoint method of the client instance.
95
+ * @returns {string} The DNS address for this service.
96
+ */
97
+ static get apiEndpoint(): string;
98
+ /**
99
+ * The DNS address for this API service.
100
+ * @returns {string} The DNS address for this service.
101
+ */
102
+ get apiEndpoint(): string;
103
+ get universeDomain(): string;
104
+ /**
105
+ * The port for this API service.
106
+ * @returns {number} The default port for this service.
107
+ */
108
+ static get port(): number;
109
+ /**
110
+ * The scopes needed to make gRPC calls for every method defined
111
+ * in this service.
112
+ * @returns {string[]} List of default scopes.
113
+ */
114
+ static get scopes(): never[];
115
+ getProjectId(): Promise<string>;
116
+ getProjectId(callback: Callback<string, undefined, undefined>): void;
117
+ /**
118
+ * API to retrieve a `CustomTargetingValue` object.
119
+ *
120
+ * @param {Object} request
121
+ * The request object that will be sent.
122
+ * @param {string} request.name
123
+ * Required. The resource name of the CustomTargetingValue.
124
+ * Format:
125
+ * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}/customTargetingValues/{custom_targeting_value_id}`
126
+ * @param {object} [options]
127
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
128
+ * @returns {Promise} - The promise which resolves to an array.
129
+ * The first element of the array is an object representing {@link protos.google.ads.admanager.v1.CustomTargetingValue|CustomTargetingValue}.
130
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
131
+ * for more details and examples.
132
+ * @example <caption>include:samples/generated/v1/custom_targeting_value_service.get_custom_targeting_value.js</caption>
133
+ * region_tag:admanager_v1_generated_CustomTargetingValueService_GetCustomTargetingValue_async
134
+ */
135
+ getCustomTargetingValue(request?: protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest, options?: CallOptions): Promise<[
136
+ protos.google.ads.admanager.v1.ICustomTargetingValue,
137
+ (protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest | undefined),
138
+ {} | undefined
139
+ ]>;
140
+ getCustomTargetingValue(request: protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.ICustomTargetingValue, protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest | null | undefined, {} | null | undefined>): void;
141
+ getCustomTargetingValue(request: protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest, callback: Callback<protos.google.ads.admanager.v1.ICustomTargetingValue, protos.google.ads.admanager.v1.IGetCustomTargetingValueRequest | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * API to retrieve a list of `CustomTargetingValue` objects.
144
+ *
145
+ * @param {Object} request
146
+ * The request object that will be sent.
147
+ * @param {string} request.parent
148
+ * Required. The parent, which owns this collection of CustomTargetingValues.
149
+ * Format:
150
+ * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
151
+ * @param {number} [request.pageSize]
152
+ * Optional. The maximum number of `CustomTargetingValues` to return. The
153
+ * service may return fewer than this value. If unspecified, at most 50
154
+ * `CustomTargetingValues` will be returned. The maximum value is 1000; values
155
+ * above 1000 will be coerced to 1000.
156
+ * @param {string} [request.pageToken]
157
+ * Optional. A page token, received from a previous
158
+ * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent
159
+ * page.
160
+ *
161
+ * When paginating, all other parameters provided to
162
+ * `ListCustomTargetingValues` must match the call that provided the page
163
+ * token.
164
+ * @param {string} [request.filter]
165
+ * Optional. Expression to filter the response.
166
+ * See syntax details at
167
+ * https://developers.google.com/ad-manager/api/beta/filters
168
+ * @param {string} [request.orderBy]
169
+ * Optional. Expression to specify sorting order.
170
+ * See syntax details at
171
+ * https://developers.google.com/ad-manager/api/beta/filters#order
172
+ * @param {number} [request.skip]
173
+ * Optional. Number of individual resources to skip while paginating.
174
+ * @param {object} [options]
175
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
176
+ * @returns {Promise} - The promise which resolves to an array.
177
+ * The first element of the array is Array of {@link protos.google.ads.admanager.v1.CustomTargetingValue|CustomTargetingValue}.
178
+ * The client library will perform auto-pagination by default: it will call the API as many
179
+ * times as needed and will merge results from all the pages into this array.
180
+ * Note that it can affect your quota.
181
+ * We recommend using `listCustomTargetingValuesAsync()`
182
+ * method described below for async iteration which you can stop as needed.
183
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
184
+ * for more details and examples.
185
+ */
186
+ listCustomTargetingValues(request?: protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, options?: CallOptions): Promise<[
187
+ protos.google.ads.admanager.v1.ICustomTargetingValue[],
188
+ protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest | null,
189
+ protos.google.ads.admanager.v1.IListCustomTargetingValuesResponse
190
+ ]>;
191
+ listCustomTargetingValues(request: protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, options: CallOptions, callback: PaginationCallback<protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, protos.google.ads.admanager.v1.IListCustomTargetingValuesResponse | null | undefined, protos.google.ads.admanager.v1.ICustomTargetingValue>): void;
192
+ listCustomTargetingValues(request: protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, callback: PaginationCallback<protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, protos.google.ads.admanager.v1.IListCustomTargetingValuesResponse | null | undefined, protos.google.ads.admanager.v1.ICustomTargetingValue>): void;
193
+ /**
194
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
195
+ * @param {Object} request
196
+ * The request object that will be sent.
197
+ * @param {string} request.parent
198
+ * Required. The parent, which owns this collection of CustomTargetingValues.
199
+ * Format:
200
+ * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
201
+ * @param {number} [request.pageSize]
202
+ * Optional. The maximum number of `CustomTargetingValues` to return. The
203
+ * service may return fewer than this value. If unspecified, at most 50
204
+ * `CustomTargetingValues` will be returned. The maximum value is 1000; values
205
+ * above 1000 will be coerced to 1000.
206
+ * @param {string} [request.pageToken]
207
+ * Optional. A page token, received from a previous
208
+ * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent
209
+ * page.
210
+ *
211
+ * When paginating, all other parameters provided to
212
+ * `ListCustomTargetingValues` must match the call that provided the page
213
+ * token.
214
+ * @param {string} [request.filter]
215
+ * Optional. Expression to filter the response.
216
+ * See syntax details at
217
+ * https://developers.google.com/ad-manager/api/beta/filters
218
+ * @param {string} [request.orderBy]
219
+ * Optional. Expression to specify sorting order.
220
+ * See syntax details at
221
+ * https://developers.google.com/ad-manager/api/beta/filters#order
222
+ * @param {number} [request.skip]
223
+ * Optional. Number of individual resources to skip while paginating.
224
+ * @param {object} [options]
225
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
226
+ * @returns {Stream}
227
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.CustomTargetingValue|CustomTargetingValue} on 'data' event.
228
+ * The client library will perform auto-pagination by default: it will call the API as many
229
+ * times as needed. Note that it can affect your quota.
230
+ * We recommend using `listCustomTargetingValuesAsync()`
231
+ * method described below for async iteration which you can stop as needed.
232
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
233
+ * for more details and examples.
234
+ */
235
+ listCustomTargetingValuesStream(request?: protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, options?: CallOptions): Transform;
236
+ /**
237
+ * Equivalent to `listCustomTargetingValues`, but returns an iterable object.
238
+ *
239
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
240
+ * @param {Object} request
241
+ * The request object that will be sent.
242
+ * @param {string} request.parent
243
+ * Required. The parent, which owns this collection of CustomTargetingValues.
244
+ * Format:
245
+ * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_id}`
246
+ * @param {number} [request.pageSize]
247
+ * Optional. The maximum number of `CustomTargetingValues` to return. The
248
+ * service may return fewer than this value. If unspecified, at most 50
249
+ * `CustomTargetingValues` will be returned. The maximum value is 1000; values
250
+ * above 1000 will be coerced to 1000.
251
+ * @param {string} [request.pageToken]
252
+ * Optional. A page token, received from a previous
253
+ * `ListCustomTargetingValues` call. Provide this to retrieve the subsequent
254
+ * page.
255
+ *
256
+ * When paginating, all other parameters provided to
257
+ * `ListCustomTargetingValues` must match the call that provided the page
258
+ * token.
259
+ * @param {string} [request.filter]
260
+ * Optional. Expression to filter the response.
261
+ * See syntax details at
262
+ * https://developers.google.com/ad-manager/api/beta/filters
263
+ * @param {string} [request.orderBy]
264
+ * Optional. Expression to specify sorting order.
265
+ * See syntax details at
266
+ * https://developers.google.com/ad-manager/api/beta/filters#order
267
+ * @param {number} [request.skip]
268
+ * Optional. Number of individual resources to skip while paginating.
269
+ * @param {object} [options]
270
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
271
+ * @returns {Object}
272
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
273
+ * When you iterate the returned iterable, each element will be an object representing
274
+ * {@link protos.google.ads.admanager.v1.CustomTargetingValue|CustomTargetingValue}. The API will be called under the hood as needed, once per the page,
275
+ * so you can stop the iteration when you don't need more results.
276
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
277
+ * for more details and examples.
278
+ * @example <caption>include:samples/generated/v1/custom_targeting_value_service.list_custom_targeting_values.js</caption>
279
+ * region_tag:admanager_v1_generated_CustomTargetingValueService_ListCustomTargetingValues_async
280
+ */
281
+ listCustomTargetingValuesAsync(request?: protos.google.ads.admanager.v1.IListCustomTargetingValuesRequest, options?: CallOptions): AsyncIterable<protos.google.ads.admanager.v1.ICustomTargetingValue>;
282
+ /**
283
+ * Return a fully-qualified adUnit resource name string.
284
+ *
285
+ * @param {string} network_code
286
+ * @param {string} ad_unit
287
+ * @returns {string} Resource name string.
288
+ */
289
+ adUnitPath(networkCode: string, adUnit: string): string;
290
+ /**
291
+ * Parse the network_code from AdUnit resource.
292
+ *
293
+ * @param {string} adUnitName
294
+ * A fully-qualified path representing AdUnit resource.
295
+ * @returns {string} A string representing the network_code.
296
+ */
297
+ matchNetworkCodeFromAdUnitName(adUnitName: string): string | number;
298
+ /**
299
+ * Parse the ad_unit from AdUnit resource.
300
+ *
301
+ * @param {string} adUnitName
302
+ * A fully-qualified path representing AdUnit resource.
303
+ * @returns {string} A string representing the ad_unit.
304
+ */
305
+ matchAdUnitFromAdUnitName(adUnitName: string): string | number;
306
+ /**
307
+ * Return a fully-qualified company resource name string.
308
+ *
309
+ * @param {string} network_code
310
+ * @param {string} company
311
+ * @returns {string} Resource name string.
312
+ */
313
+ companyPath(networkCode: string, company: string): string;
314
+ /**
315
+ * Parse the network_code from Company resource.
316
+ *
317
+ * @param {string} companyName
318
+ * A fully-qualified path representing Company resource.
319
+ * @returns {string} A string representing the network_code.
320
+ */
321
+ matchNetworkCodeFromCompanyName(companyName: string): string | number;
322
+ /**
323
+ * Parse the company from Company resource.
324
+ *
325
+ * @param {string} companyName
326
+ * A fully-qualified path representing Company resource.
327
+ * @returns {string} A string representing the company.
328
+ */
329
+ matchCompanyFromCompanyName(companyName: string): string | number;
330
+ /**
331
+ * Return a fully-qualified contact resource name string.
332
+ *
333
+ * @param {string} network_code
334
+ * @param {string} contact
335
+ * @returns {string} Resource name string.
336
+ */
337
+ contactPath(networkCode: string, contact: string): string;
338
+ /**
339
+ * Parse the network_code from Contact resource.
340
+ *
341
+ * @param {string} contactName
342
+ * A fully-qualified path representing Contact resource.
343
+ * @returns {string} A string representing the network_code.
344
+ */
345
+ matchNetworkCodeFromContactName(contactName: string): string | number;
346
+ /**
347
+ * Parse the contact from Contact resource.
348
+ *
349
+ * @param {string} contactName
350
+ * A fully-qualified path representing Contact resource.
351
+ * @returns {string} A string representing the contact.
352
+ */
353
+ matchContactFromContactName(contactName: string): string | number;
354
+ /**
355
+ * Return a fully-qualified customField resource name string.
356
+ *
357
+ * @param {string} network_code
358
+ * @param {string} custom_field
359
+ * @returns {string} Resource name string.
360
+ */
361
+ customFieldPath(networkCode: string, customField: string): string;
362
+ /**
363
+ * Parse the network_code from CustomField resource.
364
+ *
365
+ * @param {string} customFieldName
366
+ * A fully-qualified path representing CustomField resource.
367
+ * @returns {string} A string representing the network_code.
368
+ */
369
+ matchNetworkCodeFromCustomFieldName(customFieldName: string): string | number;
370
+ /**
371
+ * Parse the custom_field from CustomField resource.
372
+ *
373
+ * @param {string} customFieldName
374
+ * A fully-qualified path representing CustomField resource.
375
+ * @returns {string} A string representing the custom_field.
376
+ */
377
+ matchCustomFieldFromCustomFieldName(customFieldName: string): string | number;
378
+ /**
379
+ * Return a fully-qualified customTargetingKey resource name string.
380
+ *
381
+ * @param {string} network_code
382
+ * @param {string} custom_targeting_key
383
+ * @returns {string} Resource name string.
384
+ */
385
+ customTargetingKeyPath(networkCode: string, customTargetingKey: string): string;
386
+ /**
387
+ * Parse the network_code from CustomTargetingKey resource.
388
+ *
389
+ * @param {string} customTargetingKeyName
390
+ * A fully-qualified path representing CustomTargetingKey resource.
391
+ * @returns {string} A string representing the network_code.
392
+ */
393
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
394
+ /**
395
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
396
+ *
397
+ * @param {string} customTargetingKeyName
398
+ * A fully-qualified path representing CustomTargetingKey resource.
399
+ * @returns {string} A string representing the custom_targeting_key.
400
+ */
401
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
402
+ /**
403
+ * Return a fully-qualified customTargetingValue resource name string.
404
+ *
405
+ * @param {string} network_code
406
+ * @param {string} custom_targeting_key
407
+ * @param {string} custom_targeting_value
408
+ * @returns {string} Resource name string.
409
+ */
410
+ customTargetingValuePath(networkCode: string, customTargetingKey: string, customTargetingValue: string): string;
411
+ /**
412
+ * Parse the network_code from CustomTargetingValue resource.
413
+ *
414
+ * @param {string} customTargetingValueName
415
+ * A fully-qualified path representing CustomTargetingValue resource.
416
+ * @returns {string} A string representing the network_code.
417
+ */
418
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName: string): string | number;
419
+ /**
420
+ * Parse the custom_targeting_key from CustomTargetingValue resource.
421
+ *
422
+ * @param {string} customTargetingValueName
423
+ * A fully-qualified path representing CustomTargetingValue resource.
424
+ * @returns {string} A string representing the custom_targeting_key.
425
+ */
426
+ matchCustomTargetingKeyFromCustomTargetingValueName(customTargetingValueName: string): string | number;
427
+ /**
428
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
429
+ *
430
+ * @param {string} customTargetingValueName
431
+ * A fully-qualified path representing CustomTargetingValue resource.
432
+ * @returns {string} A string representing the custom_targeting_value.
433
+ */
434
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
435
+ /**
436
+ * Return a fully-qualified entitySignalsMapping resource name string.
437
+ *
438
+ * @param {string} network_code
439
+ * @param {string} entity_signals_mapping
440
+ * @returns {string} Resource name string.
441
+ */
442
+ entitySignalsMappingPath(networkCode: string, entitySignalsMapping: string): string;
443
+ /**
444
+ * Parse the network_code from EntitySignalsMapping resource.
445
+ *
446
+ * @param {string} entitySignalsMappingName
447
+ * A fully-qualified path representing EntitySignalsMapping resource.
448
+ * @returns {string} A string representing the network_code.
449
+ */
450
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
451
+ /**
452
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
453
+ *
454
+ * @param {string} entitySignalsMappingName
455
+ * A fully-qualified path representing EntitySignalsMapping resource.
456
+ * @returns {string} A string representing the entity_signals_mapping.
457
+ */
458
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
459
+ /**
460
+ * Return a fully-qualified label resource name string.
461
+ *
462
+ * @param {string} network_code
463
+ * @param {string} label
464
+ * @returns {string} Resource name string.
465
+ */
466
+ labelPath(networkCode: string, label: string): string;
467
+ /**
468
+ * Parse the network_code from Label resource.
469
+ *
470
+ * @param {string} labelName
471
+ * A fully-qualified path representing Label resource.
472
+ * @returns {string} A string representing the network_code.
473
+ */
474
+ matchNetworkCodeFromLabelName(labelName: string): string | number;
475
+ /**
476
+ * Parse the label from Label resource.
477
+ *
478
+ * @param {string} labelName
479
+ * A fully-qualified path representing Label resource.
480
+ * @returns {string} A string representing the label.
481
+ */
482
+ matchLabelFromLabelName(labelName: string): string | number;
483
+ /**
484
+ * Return a fully-qualified network resource name string.
485
+ *
486
+ * @param {string} network_code
487
+ * @returns {string} Resource name string.
488
+ */
489
+ networkPath(networkCode: string): string;
490
+ /**
491
+ * Parse the network_code from Network resource.
492
+ *
493
+ * @param {string} networkName
494
+ * A fully-qualified path representing Network resource.
495
+ * @returns {string} A string representing the network_code.
496
+ */
497
+ matchNetworkCodeFromNetworkName(networkName: string): string | number;
498
+ /**
499
+ * Return a fully-qualified order resource name string.
500
+ *
501
+ * @param {string} network_code
502
+ * @param {string} order
503
+ * @returns {string} Resource name string.
504
+ */
505
+ orderPath(networkCode: string, order: string): string;
506
+ /**
507
+ * Parse the network_code from Order resource.
508
+ *
509
+ * @param {string} orderName
510
+ * A fully-qualified path representing Order resource.
511
+ * @returns {string} A string representing the network_code.
512
+ */
513
+ matchNetworkCodeFromOrderName(orderName: string): string | number;
514
+ /**
515
+ * Parse the order from Order resource.
516
+ *
517
+ * @param {string} orderName
518
+ * A fully-qualified path representing Order resource.
519
+ * @returns {string} A string representing the order.
520
+ */
521
+ matchOrderFromOrderName(orderName: string): string | number;
522
+ /**
523
+ * Return a fully-qualified placement resource name string.
524
+ *
525
+ * @param {string} network_code
526
+ * @param {string} placement
527
+ * @returns {string} Resource name string.
528
+ */
529
+ placementPath(networkCode: string, placement: string): string;
530
+ /**
531
+ * Parse the network_code from Placement resource.
532
+ *
533
+ * @param {string} placementName
534
+ * A fully-qualified path representing Placement resource.
535
+ * @returns {string} A string representing the network_code.
536
+ */
537
+ matchNetworkCodeFromPlacementName(placementName: string): string | number;
538
+ /**
539
+ * Parse the placement from Placement resource.
540
+ *
541
+ * @param {string} placementName
542
+ * A fully-qualified path representing Placement resource.
543
+ * @returns {string} A string representing the placement.
544
+ */
545
+ matchPlacementFromPlacementName(placementName: string): string | number;
546
+ /**
547
+ * Return a fully-qualified report resource name string.
548
+ *
549
+ * @param {string} network_code
550
+ * @param {string} report
551
+ * @returns {string} Resource name string.
552
+ */
553
+ reportPath(networkCode: string, report: string): string;
554
+ /**
555
+ * Parse the network_code from Report resource.
556
+ *
557
+ * @param {string} reportName
558
+ * A fully-qualified path representing Report resource.
559
+ * @returns {string} A string representing the network_code.
560
+ */
561
+ matchNetworkCodeFromReportName(reportName: string): string | number;
562
+ /**
563
+ * Parse the report from Report resource.
564
+ *
565
+ * @param {string} reportName
566
+ * A fully-qualified path representing Report resource.
567
+ * @returns {string} A string representing the report.
568
+ */
569
+ matchReportFromReportName(reportName: string): string | number;
570
+ /**
571
+ * Return a fully-qualified role resource name string.
572
+ *
573
+ * @param {string} network_code
574
+ * @param {string} role
575
+ * @returns {string} Resource name string.
576
+ */
577
+ rolePath(networkCode: string, role: string): string;
578
+ /**
579
+ * Parse the network_code from Role resource.
580
+ *
581
+ * @param {string} roleName
582
+ * A fully-qualified path representing Role resource.
583
+ * @returns {string} A string representing the network_code.
584
+ */
585
+ matchNetworkCodeFromRoleName(roleName: string): string | number;
586
+ /**
587
+ * Parse the role from Role resource.
588
+ *
589
+ * @param {string} roleName
590
+ * A fully-qualified path representing Role resource.
591
+ * @returns {string} A string representing the role.
592
+ */
593
+ matchRoleFromRoleName(roleName: string): string | number;
594
+ /**
595
+ * Return a fully-qualified taxonomyCategory resource name string.
596
+ *
597
+ * @param {string} network_code
598
+ * @param {string} taxonomy_category
599
+ * @returns {string} Resource name string.
600
+ */
601
+ taxonomyCategoryPath(networkCode: string, taxonomyCategory: string): string;
602
+ /**
603
+ * Parse the network_code from TaxonomyCategory resource.
604
+ *
605
+ * @param {string} taxonomyCategoryName
606
+ * A fully-qualified path representing TaxonomyCategory resource.
607
+ * @returns {string} A string representing the network_code.
608
+ */
609
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
610
+ /**
611
+ * Parse the taxonomy_category from TaxonomyCategory resource.
612
+ *
613
+ * @param {string} taxonomyCategoryName
614
+ * A fully-qualified path representing TaxonomyCategory resource.
615
+ * @returns {string} A string representing the taxonomy_category.
616
+ */
617
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
618
+ /**
619
+ * Return a fully-qualified team resource name string.
620
+ *
621
+ * @param {string} network_code
622
+ * @param {string} team
623
+ * @returns {string} Resource name string.
624
+ */
625
+ teamPath(networkCode: string, team: string): string;
626
+ /**
627
+ * Parse the network_code from Team resource.
628
+ *
629
+ * @param {string} teamName
630
+ * A fully-qualified path representing Team resource.
631
+ * @returns {string} A string representing the network_code.
632
+ */
633
+ matchNetworkCodeFromTeamName(teamName: string): string | number;
634
+ /**
635
+ * Parse the team from Team resource.
636
+ *
637
+ * @param {string} teamName
638
+ * A fully-qualified path representing Team resource.
639
+ * @returns {string} A string representing the team.
640
+ */
641
+ matchTeamFromTeamName(teamName: string): string | number;
642
+ /**
643
+ * Return a fully-qualified user resource name string.
644
+ *
645
+ * @param {string} network_code
646
+ * @param {string} user
647
+ * @returns {string} Resource name string.
648
+ */
649
+ userPath(networkCode: string, user: string): string;
650
+ /**
651
+ * Parse the network_code from User resource.
652
+ *
653
+ * @param {string} userName
654
+ * A fully-qualified path representing User resource.
655
+ * @returns {string} A string representing the network_code.
656
+ */
657
+ matchNetworkCodeFromUserName(userName: string): string | number;
658
+ /**
659
+ * Parse the user from User resource.
660
+ *
661
+ * @param {string} userName
662
+ * A fully-qualified path representing User resource.
663
+ * @returns {string} A string representing the user.
664
+ */
665
+ matchUserFromUserName(userName: string): string | number;
666
+ /**
667
+ * Terminate the gRPC channel and close the client.
668
+ *
669
+ * The client will no longer be usable and all future behavior is undefined.
670
+ * @returns {Promise} A promise that resolves when the client is closed.
671
+ */
672
+ close(): Promise<void>;
673
+ }