@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,664 @@
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 `CustomTargetingKey` objects.
7
+ * @class
8
+ * @memberof v1
9
+ */
10
+ export declare class CustomTargetingKeyServiceClient {
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
+ customTargetingKeyServiceStub?: Promise<{
30
+ [name: string]: Function;
31
+ }>;
32
+ /**
33
+ * Construct an instance of CustomTargetingKeyServiceClient.
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 CustomTargetingKeyServiceClient({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 `CustomTargetingKey` 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 CustomTargetingKey.
124
+ * Format:
125
+ * `networks/{network_code}/customTargetingKeys/{custom_targeting_key_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.CustomTargetingKey|CustomTargetingKey}.
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_key_service.get_custom_targeting_key.js</caption>
133
+ * region_tag:admanager_v1_generated_CustomTargetingKeyService_GetCustomTargetingKey_async
134
+ */
135
+ getCustomTargetingKey(request?: protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest, options?: CallOptions): Promise<[
136
+ protos.google.ads.admanager.v1.ICustomTargetingKey,
137
+ protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest | undefined,
138
+ {} | undefined
139
+ ]>;
140
+ getCustomTargetingKey(request: protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest, options: CallOptions, callback: Callback<protos.google.ads.admanager.v1.ICustomTargetingKey, protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest | null | undefined, {} | null | undefined>): void;
141
+ getCustomTargetingKey(request: protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest, callback: Callback<protos.google.ads.admanager.v1.ICustomTargetingKey, protos.google.ads.admanager.v1.IGetCustomTargetingKeyRequest | null | undefined, {} | null | undefined>): void;
142
+ /**
143
+ * API to retrieve a list of `CustomTargetingKey` 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 CustomTargetingKeys.
149
+ * Format: `networks/{network_code}`
150
+ * @param {number} [request.pageSize]
151
+ * Optional. The maximum number of `CustomTargetingKeys` to return. The
152
+ * service may return fewer than this value. If unspecified, at most 50
153
+ * `CustomTargetingKeys` will be returned. The maximum value is 1000; values
154
+ * above 1000 will be coerced to 1000.
155
+ * @param {string} [request.pageToken]
156
+ * Optional. A page token, received from a previous `ListCustomTargetingKeys`
157
+ * call. Provide this to retrieve the subsequent page.
158
+ *
159
+ * When paginating, all other parameters provided to `ListCustomTargetingKeys`
160
+ * must match the call that provided the page token.
161
+ * @param {string} [request.filter]
162
+ * Optional. Expression to filter the response.
163
+ * See syntax details at
164
+ * https://developers.google.com/ad-manager/api/beta/filters
165
+ * @param {string} [request.orderBy]
166
+ * Optional. Expression to specify sorting order.
167
+ * See syntax details at
168
+ * https://developers.google.com/ad-manager/api/beta/filters#order
169
+ * @param {number} [request.skip]
170
+ * Optional. Number of individual resources to skip while paginating.
171
+ * @param {object} [options]
172
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
173
+ * @returns {Promise} - The promise which resolves to an array.
174
+ * The first element of the array is Array of {@link protos.google.ads.admanager.v1.CustomTargetingKey|CustomTargetingKey}.
175
+ * The client library will perform auto-pagination by default: it will call the API as many
176
+ * times as needed and will merge results from all the pages into this array.
177
+ * Note that it can affect your quota.
178
+ * We recommend using `listCustomTargetingKeysAsync()`
179
+ * method described below for async iteration which you can stop as needed.
180
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
181
+ * for more details and examples.
182
+ */
183
+ listCustomTargetingKeys(request?: protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, options?: CallOptions): Promise<[
184
+ protos.google.ads.admanager.v1.ICustomTargetingKey[],
185
+ protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest | null,
186
+ protos.google.ads.admanager.v1.IListCustomTargetingKeysResponse
187
+ ]>;
188
+ listCustomTargetingKeys(request: protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, options: CallOptions, callback: PaginationCallback<protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, protos.google.ads.admanager.v1.IListCustomTargetingKeysResponse | null | undefined, protos.google.ads.admanager.v1.ICustomTargetingKey>): void;
189
+ listCustomTargetingKeys(request: protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, callback: PaginationCallback<protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, protos.google.ads.admanager.v1.IListCustomTargetingKeysResponse | null | undefined, protos.google.ads.admanager.v1.ICustomTargetingKey>): void;
190
+ /**
191
+ * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
192
+ * @param {Object} request
193
+ * The request object that will be sent.
194
+ * @param {string} request.parent
195
+ * Required. The parent, which owns this collection of CustomTargetingKeys.
196
+ * Format: `networks/{network_code}`
197
+ * @param {number} [request.pageSize]
198
+ * Optional. The maximum number of `CustomTargetingKeys` to return. The
199
+ * service may return fewer than this value. If unspecified, at most 50
200
+ * `CustomTargetingKeys` will be returned. The maximum value is 1000; values
201
+ * above 1000 will be coerced to 1000.
202
+ * @param {string} [request.pageToken]
203
+ * Optional. A page token, received from a previous `ListCustomTargetingKeys`
204
+ * call. Provide this to retrieve the subsequent page.
205
+ *
206
+ * When paginating, all other parameters provided to `ListCustomTargetingKeys`
207
+ * must match the call that provided the page token.
208
+ * @param {string} [request.filter]
209
+ * Optional. Expression to filter the response.
210
+ * See syntax details at
211
+ * https://developers.google.com/ad-manager/api/beta/filters
212
+ * @param {string} [request.orderBy]
213
+ * Optional. Expression to specify sorting order.
214
+ * See syntax details at
215
+ * https://developers.google.com/ad-manager/api/beta/filters#order
216
+ * @param {number} [request.skip]
217
+ * Optional. Number of individual resources to skip while paginating.
218
+ * @param {object} [options]
219
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
220
+ * @returns {Stream}
221
+ * An object stream which emits an object representing {@link protos.google.ads.admanager.v1.CustomTargetingKey|CustomTargetingKey} on 'data' event.
222
+ * The client library will perform auto-pagination by default: it will call the API as many
223
+ * times as needed. Note that it can affect your quota.
224
+ * We recommend using `listCustomTargetingKeysAsync()`
225
+ * method described below for async iteration which you can stop as needed.
226
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
227
+ * for more details and examples.
228
+ */
229
+ listCustomTargetingKeysStream(request?: protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, options?: CallOptions): Transform;
230
+ /**
231
+ * Equivalent to `listCustomTargetingKeys`, but returns an iterable object.
232
+ *
233
+ * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
234
+ * @param {Object} request
235
+ * The request object that will be sent.
236
+ * @param {string} request.parent
237
+ * Required. The parent, which owns this collection of CustomTargetingKeys.
238
+ * Format: `networks/{network_code}`
239
+ * @param {number} [request.pageSize]
240
+ * Optional. The maximum number of `CustomTargetingKeys` to return. The
241
+ * service may return fewer than this value. If unspecified, at most 50
242
+ * `CustomTargetingKeys` will be returned. The maximum value is 1000; values
243
+ * above 1000 will be coerced to 1000.
244
+ * @param {string} [request.pageToken]
245
+ * Optional. A page token, received from a previous `ListCustomTargetingKeys`
246
+ * call. Provide this to retrieve the subsequent page.
247
+ *
248
+ * When paginating, all other parameters provided to `ListCustomTargetingKeys`
249
+ * must match the call that provided the page token.
250
+ * @param {string} [request.filter]
251
+ * Optional. Expression to filter the response.
252
+ * See syntax details at
253
+ * https://developers.google.com/ad-manager/api/beta/filters
254
+ * @param {string} [request.orderBy]
255
+ * Optional. Expression to specify sorting order.
256
+ * See syntax details at
257
+ * https://developers.google.com/ad-manager/api/beta/filters#order
258
+ * @param {number} [request.skip]
259
+ * Optional. Number of individual resources to skip while paginating.
260
+ * @param {object} [options]
261
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
262
+ * @returns {Object}
263
+ * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
264
+ * When you iterate the returned iterable, each element will be an object representing
265
+ * {@link protos.google.ads.admanager.v1.CustomTargetingKey|CustomTargetingKey}. The API will be called under the hood as needed, once per the page,
266
+ * so you can stop the iteration when you don't need more results.
267
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
268
+ * for more details and examples.
269
+ * @example <caption>include:samples/generated/v1/custom_targeting_key_service.list_custom_targeting_keys.js</caption>
270
+ * region_tag:admanager_v1_generated_CustomTargetingKeyService_ListCustomTargetingKeys_async
271
+ */
272
+ listCustomTargetingKeysAsync(request?: protos.google.ads.admanager.v1.IListCustomTargetingKeysRequest, options?: CallOptions): AsyncIterable<protos.google.ads.admanager.v1.ICustomTargetingKey>;
273
+ /**
274
+ * Return a fully-qualified adUnit resource name string.
275
+ *
276
+ * @param {string} network_code
277
+ * @param {string} ad_unit
278
+ * @returns {string} Resource name string.
279
+ */
280
+ adUnitPath(networkCode: string, adUnit: string): string;
281
+ /**
282
+ * Parse the network_code from AdUnit resource.
283
+ *
284
+ * @param {string} adUnitName
285
+ * A fully-qualified path representing AdUnit resource.
286
+ * @returns {string} A string representing the network_code.
287
+ */
288
+ matchNetworkCodeFromAdUnitName(adUnitName: string): string | number;
289
+ /**
290
+ * Parse the ad_unit from AdUnit resource.
291
+ *
292
+ * @param {string} adUnitName
293
+ * A fully-qualified path representing AdUnit resource.
294
+ * @returns {string} A string representing the ad_unit.
295
+ */
296
+ matchAdUnitFromAdUnitName(adUnitName: string): string | number;
297
+ /**
298
+ * Return a fully-qualified company resource name string.
299
+ *
300
+ * @param {string} network_code
301
+ * @param {string} company
302
+ * @returns {string} Resource name string.
303
+ */
304
+ companyPath(networkCode: string, company: string): string;
305
+ /**
306
+ * Parse the network_code from Company resource.
307
+ *
308
+ * @param {string} companyName
309
+ * A fully-qualified path representing Company resource.
310
+ * @returns {string} A string representing the network_code.
311
+ */
312
+ matchNetworkCodeFromCompanyName(companyName: string): string | number;
313
+ /**
314
+ * Parse the company from Company resource.
315
+ *
316
+ * @param {string} companyName
317
+ * A fully-qualified path representing Company resource.
318
+ * @returns {string} A string representing the company.
319
+ */
320
+ matchCompanyFromCompanyName(companyName: string): string | number;
321
+ /**
322
+ * Return a fully-qualified contact resource name string.
323
+ *
324
+ * @param {string} network_code
325
+ * @param {string} contact
326
+ * @returns {string} Resource name string.
327
+ */
328
+ contactPath(networkCode: string, contact: string): string;
329
+ /**
330
+ * Parse the network_code from Contact resource.
331
+ *
332
+ * @param {string} contactName
333
+ * A fully-qualified path representing Contact resource.
334
+ * @returns {string} A string representing the network_code.
335
+ */
336
+ matchNetworkCodeFromContactName(contactName: string): string | number;
337
+ /**
338
+ * Parse the contact from Contact resource.
339
+ *
340
+ * @param {string} contactName
341
+ * A fully-qualified path representing Contact resource.
342
+ * @returns {string} A string representing the contact.
343
+ */
344
+ matchContactFromContactName(contactName: string): string | number;
345
+ /**
346
+ * Return a fully-qualified customField resource name string.
347
+ *
348
+ * @param {string} network_code
349
+ * @param {string} custom_field
350
+ * @returns {string} Resource name string.
351
+ */
352
+ customFieldPath(networkCode: string, customField: string): string;
353
+ /**
354
+ * Parse the network_code from CustomField resource.
355
+ *
356
+ * @param {string} customFieldName
357
+ * A fully-qualified path representing CustomField resource.
358
+ * @returns {string} A string representing the network_code.
359
+ */
360
+ matchNetworkCodeFromCustomFieldName(customFieldName: string): string | number;
361
+ /**
362
+ * Parse the custom_field from CustomField resource.
363
+ *
364
+ * @param {string} customFieldName
365
+ * A fully-qualified path representing CustomField resource.
366
+ * @returns {string} A string representing the custom_field.
367
+ */
368
+ matchCustomFieldFromCustomFieldName(customFieldName: string): string | number;
369
+ /**
370
+ * Return a fully-qualified customTargetingKey resource name string.
371
+ *
372
+ * @param {string} network_code
373
+ * @param {string} custom_targeting_key
374
+ * @returns {string} Resource name string.
375
+ */
376
+ customTargetingKeyPath(networkCode: string, customTargetingKey: string): string;
377
+ /**
378
+ * Parse the network_code from CustomTargetingKey resource.
379
+ *
380
+ * @param {string} customTargetingKeyName
381
+ * A fully-qualified path representing CustomTargetingKey resource.
382
+ * @returns {string} A string representing the network_code.
383
+ */
384
+ matchNetworkCodeFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
385
+ /**
386
+ * Parse the custom_targeting_key from CustomTargetingKey resource.
387
+ *
388
+ * @param {string} customTargetingKeyName
389
+ * A fully-qualified path representing CustomTargetingKey resource.
390
+ * @returns {string} A string representing the custom_targeting_key.
391
+ */
392
+ matchCustomTargetingKeyFromCustomTargetingKeyName(customTargetingKeyName: string): string | number;
393
+ /**
394
+ * Return a fully-qualified customTargetingValue resource name string.
395
+ *
396
+ * @param {string} network_code
397
+ * @param {string} custom_targeting_key
398
+ * @param {string} custom_targeting_value
399
+ * @returns {string} Resource name string.
400
+ */
401
+ customTargetingValuePath(networkCode: string, customTargetingKey: string, customTargetingValue: string): string;
402
+ /**
403
+ * Parse the network_code from CustomTargetingValue resource.
404
+ *
405
+ * @param {string} customTargetingValueName
406
+ * A fully-qualified path representing CustomTargetingValue resource.
407
+ * @returns {string} A string representing the network_code.
408
+ */
409
+ matchNetworkCodeFromCustomTargetingValueName(customTargetingValueName: string): string | number;
410
+ /**
411
+ * Parse the custom_targeting_key from CustomTargetingValue resource.
412
+ *
413
+ * @param {string} customTargetingValueName
414
+ * A fully-qualified path representing CustomTargetingValue resource.
415
+ * @returns {string} A string representing the custom_targeting_key.
416
+ */
417
+ matchCustomTargetingKeyFromCustomTargetingValueName(customTargetingValueName: string): string | number;
418
+ /**
419
+ * Parse the custom_targeting_value from CustomTargetingValue resource.
420
+ *
421
+ * @param {string} customTargetingValueName
422
+ * A fully-qualified path representing CustomTargetingValue resource.
423
+ * @returns {string} A string representing the custom_targeting_value.
424
+ */
425
+ matchCustomTargetingValueFromCustomTargetingValueName(customTargetingValueName: string): string | number;
426
+ /**
427
+ * Return a fully-qualified entitySignalsMapping resource name string.
428
+ *
429
+ * @param {string} network_code
430
+ * @param {string} entity_signals_mapping
431
+ * @returns {string} Resource name string.
432
+ */
433
+ entitySignalsMappingPath(networkCode: string, entitySignalsMapping: string): string;
434
+ /**
435
+ * Parse the network_code from EntitySignalsMapping resource.
436
+ *
437
+ * @param {string} entitySignalsMappingName
438
+ * A fully-qualified path representing EntitySignalsMapping resource.
439
+ * @returns {string} A string representing the network_code.
440
+ */
441
+ matchNetworkCodeFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
442
+ /**
443
+ * Parse the entity_signals_mapping from EntitySignalsMapping resource.
444
+ *
445
+ * @param {string} entitySignalsMappingName
446
+ * A fully-qualified path representing EntitySignalsMapping resource.
447
+ * @returns {string} A string representing the entity_signals_mapping.
448
+ */
449
+ matchEntitySignalsMappingFromEntitySignalsMappingName(entitySignalsMappingName: string): string | number;
450
+ /**
451
+ * Return a fully-qualified label resource name string.
452
+ *
453
+ * @param {string} network_code
454
+ * @param {string} label
455
+ * @returns {string} Resource name string.
456
+ */
457
+ labelPath(networkCode: string, label: string): string;
458
+ /**
459
+ * Parse the network_code from Label resource.
460
+ *
461
+ * @param {string} labelName
462
+ * A fully-qualified path representing Label resource.
463
+ * @returns {string} A string representing the network_code.
464
+ */
465
+ matchNetworkCodeFromLabelName(labelName: string): string | number;
466
+ /**
467
+ * Parse the label from Label resource.
468
+ *
469
+ * @param {string} labelName
470
+ * A fully-qualified path representing Label resource.
471
+ * @returns {string} A string representing the label.
472
+ */
473
+ matchLabelFromLabelName(labelName: string): string | number;
474
+ /**
475
+ * Return a fully-qualified network resource name string.
476
+ *
477
+ * @param {string} network_code
478
+ * @returns {string} Resource name string.
479
+ */
480
+ networkPath(networkCode: string): string;
481
+ /**
482
+ * Parse the network_code from Network resource.
483
+ *
484
+ * @param {string} networkName
485
+ * A fully-qualified path representing Network resource.
486
+ * @returns {string} A string representing the network_code.
487
+ */
488
+ matchNetworkCodeFromNetworkName(networkName: string): string | number;
489
+ /**
490
+ * Return a fully-qualified order resource name string.
491
+ *
492
+ * @param {string} network_code
493
+ * @param {string} order
494
+ * @returns {string} Resource name string.
495
+ */
496
+ orderPath(networkCode: string, order: string): string;
497
+ /**
498
+ * Parse the network_code from Order resource.
499
+ *
500
+ * @param {string} orderName
501
+ * A fully-qualified path representing Order resource.
502
+ * @returns {string} A string representing the network_code.
503
+ */
504
+ matchNetworkCodeFromOrderName(orderName: string): string | number;
505
+ /**
506
+ * Parse the order from Order resource.
507
+ *
508
+ * @param {string} orderName
509
+ * A fully-qualified path representing Order resource.
510
+ * @returns {string} A string representing the order.
511
+ */
512
+ matchOrderFromOrderName(orderName: string): string | number;
513
+ /**
514
+ * Return a fully-qualified placement resource name string.
515
+ *
516
+ * @param {string} network_code
517
+ * @param {string} placement
518
+ * @returns {string} Resource name string.
519
+ */
520
+ placementPath(networkCode: string, placement: string): string;
521
+ /**
522
+ * Parse the network_code from Placement resource.
523
+ *
524
+ * @param {string} placementName
525
+ * A fully-qualified path representing Placement resource.
526
+ * @returns {string} A string representing the network_code.
527
+ */
528
+ matchNetworkCodeFromPlacementName(placementName: string): string | number;
529
+ /**
530
+ * Parse the placement from Placement resource.
531
+ *
532
+ * @param {string} placementName
533
+ * A fully-qualified path representing Placement resource.
534
+ * @returns {string} A string representing the placement.
535
+ */
536
+ matchPlacementFromPlacementName(placementName: string): string | number;
537
+ /**
538
+ * Return a fully-qualified report resource name string.
539
+ *
540
+ * @param {string} network_code
541
+ * @param {string} report
542
+ * @returns {string} Resource name string.
543
+ */
544
+ reportPath(networkCode: string, report: string): string;
545
+ /**
546
+ * Parse the network_code from Report resource.
547
+ *
548
+ * @param {string} reportName
549
+ * A fully-qualified path representing Report resource.
550
+ * @returns {string} A string representing the network_code.
551
+ */
552
+ matchNetworkCodeFromReportName(reportName: string): string | number;
553
+ /**
554
+ * Parse the report from Report resource.
555
+ *
556
+ * @param {string} reportName
557
+ * A fully-qualified path representing Report resource.
558
+ * @returns {string} A string representing the report.
559
+ */
560
+ matchReportFromReportName(reportName: string): string | number;
561
+ /**
562
+ * Return a fully-qualified role resource name string.
563
+ *
564
+ * @param {string} network_code
565
+ * @param {string} role
566
+ * @returns {string} Resource name string.
567
+ */
568
+ rolePath(networkCode: string, role: string): string;
569
+ /**
570
+ * Parse the network_code from Role resource.
571
+ *
572
+ * @param {string} roleName
573
+ * A fully-qualified path representing Role resource.
574
+ * @returns {string} A string representing the network_code.
575
+ */
576
+ matchNetworkCodeFromRoleName(roleName: string): string | number;
577
+ /**
578
+ * Parse the role from Role resource.
579
+ *
580
+ * @param {string} roleName
581
+ * A fully-qualified path representing Role resource.
582
+ * @returns {string} A string representing the role.
583
+ */
584
+ matchRoleFromRoleName(roleName: string): string | number;
585
+ /**
586
+ * Return a fully-qualified taxonomyCategory resource name string.
587
+ *
588
+ * @param {string} network_code
589
+ * @param {string} taxonomy_category
590
+ * @returns {string} Resource name string.
591
+ */
592
+ taxonomyCategoryPath(networkCode: string, taxonomyCategory: string): string;
593
+ /**
594
+ * Parse the network_code from TaxonomyCategory resource.
595
+ *
596
+ * @param {string} taxonomyCategoryName
597
+ * A fully-qualified path representing TaxonomyCategory resource.
598
+ * @returns {string} A string representing the network_code.
599
+ */
600
+ matchNetworkCodeFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
601
+ /**
602
+ * Parse the taxonomy_category from TaxonomyCategory resource.
603
+ *
604
+ * @param {string} taxonomyCategoryName
605
+ * A fully-qualified path representing TaxonomyCategory resource.
606
+ * @returns {string} A string representing the taxonomy_category.
607
+ */
608
+ matchTaxonomyCategoryFromTaxonomyCategoryName(taxonomyCategoryName: string): string | number;
609
+ /**
610
+ * Return a fully-qualified team resource name string.
611
+ *
612
+ * @param {string} network_code
613
+ * @param {string} team
614
+ * @returns {string} Resource name string.
615
+ */
616
+ teamPath(networkCode: string, team: string): string;
617
+ /**
618
+ * Parse the network_code from Team resource.
619
+ *
620
+ * @param {string} teamName
621
+ * A fully-qualified path representing Team resource.
622
+ * @returns {string} A string representing the network_code.
623
+ */
624
+ matchNetworkCodeFromTeamName(teamName: string): string | number;
625
+ /**
626
+ * Parse the team from Team resource.
627
+ *
628
+ * @param {string} teamName
629
+ * A fully-qualified path representing Team resource.
630
+ * @returns {string} A string representing the team.
631
+ */
632
+ matchTeamFromTeamName(teamName: string): string | number;
633
+ /**
634
+ * Return a fully-qualified user resource name string.
635
+ *
636
+ * @param {string} network_code
637
+ * @param {string} user
638
+ * @returns {string} Resource name string.
639
+ */
640
+ userPath(networkCode: string, user: string): string;
641
+ /**
642
+ * Parse the network_code from User resource.
643
+ *
644
+ * @param {string} userName
645
+ * A fully-qualified path representing User resource.
646
+ * @returns {string} A string representing the network_code.
647
+ */
648
+ matchNetworkCodeFromUserName(userName: string): string | number;
649
+ /**
650
+ * Parse the user from User resource.
651
+ *
652
+ * @param {string} userName
653
+ * A fully-qualified path representing User resource.
654
+ * @returns {string} A string representing the user.
655
+ */
656
+ matchUserFromUserName(userName: string): string | number;
657
+ /**
658
+ * Terminate the gRPC channel and close the client.
659
+ *
660
+ * The client will no longer be usable and all future behavior is undefined.
661
+ * @returns {Promise} A promise that resolves when the client is closed.
662
+ */
663
+ close(): Promise<void>;
664
+ }