@@ -4662,6 +4662,49 @@ export namespace searchads360_v0 {
4662
4662
4663
4663
/**
4664
4664
* Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
4665
+ * @example
4666
+ * ```js
4667
+ * // Before running the sample:
4668
+ * // - Enable the API at:
4669
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
4670
+ * // - Login into gcloud by running:
4671
+ * // ```sh
4672
+ * // $ gcloud auth application-default login
4673
+ * // ```
4674
+ * // - Install the npm module by running:
4675
+ * // ```sh
4676
+ * // $ npm install googleapis
4677
+ * // ```
4678
+ *
4679
+ * const {google} = require('googleapis');
4680
+ * const searchads360 = google.searchads360('v0');
4681
+ *
4682
+ * async function main() {
4683
+ * const auth = new google.auth.GoogleAuth({
4684
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4685
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
4686
+ * });
4687
+ *
4688
+ * // Acquire an auth client, and bind it to all future calls
4689
+ * const authClient = await auth.getClient();
4690
+ * google.options({auth: authClient});
4691
+ *
4692
+ * // Do the magic
4693
+ * const res = await searchads360.customers.listAccessibleCustomers({});
4694
+ * console.log(res.data);
4695
+ *
4696
+ * // Example response
4697
+ * // {
4698
+ * // "resourceNames": []
4699
+ * // }
4700
+ * }
4701
+ *
4702
+ * main().catch(e => {
4703
+ * console.error(e);
4704
+ * throw e;
4705
+ * });
4706
+ *
4707
+ * ```
4665
4708
*
4666
4709
* @param params - Parameters for request
4667
4710
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4773,6 +4816,61 @@ export namespace searchads360_v0 {
4773
4816
4774
4817
/**
4775
4818
* Returns the requested custom column in full detail.
4819
+ * @example
4820
+ * ```js
4821
+ * // Before running the sample:
4822
+ * // - Enable the API at:
4823
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
4824
+ * // - Login into gcloud by running:
4825
+ * // ```sh
4826
+ * // $ gcloud auth application-default login
4827
+ * // ```
4828
+ * // - Install the npm module by running:
4829
+ * // ```sh
4830
+ * // $ npm install googleapis
4831
+ * // ```
4832
+ *
4833
+ * const {google} = require('googleapis');
4834
+ * const searchads360 = google.searchads360('v0');
4835
+ *
4836
+ * async function main() {
4837
+ * const auth = new google.auth.GoogleAuth({
4838
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4839
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
4840
+ * });
4841
+ *
4842
+ * // Acquire an auth client, and bind it to all future calls
4843
+ * const authClient = await auth.getClient();
4844
+ * google.options({auth: authClient});
4845
+ *
4846
+ * // Do the magic
4847
+ * const res = await searchads360.customers.customColumns.get({
4848
+ * // Required. The resource name of the custom column to fetch.
4849
+ * resourceName: 'customers/my-customer/customColumns/my-customColumn',
4850
+ * });
4851
+ * console.log(res.data);
4852
+ *
4853
+ * // Example response
4854
+ * // {
4855
+ * // "description": "my_description",
4856
+ * // "id": "my_id",
4857
+ * // "name": "my_name",
4858
+ * // "queryable": false,
4859
+ * // "referencedSystemColumns": [],
4860
+ * // "referencesAttributes": false,
4861
+ * // "referencesMetrics": false,
4862
+ * // "renderType": "my_renderType",
4863
+ * // "resourceName": "my_resourceName",
4864
+ * // "valueType": "my_valueType"
4865
+ * // }
4866
+ * }
4867
+ *
4868
+ * main().catch(e => {
4869
+ * console.error(e);
4870
+ * throw e;
4871
+ * });
4872
+ *
4873
+ * ```
4776
4874
*
4777
4875
* @param params - Parameters for request
4778
4876
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4874,6 +4972,52 @@ export namespace searchads360_v0 {
4874
4972
4875
4973
/**
4876
4974
* Returns all the custom columns associated with the customer in full detail.
4975
+ * @example
4976
+ * ```js
4977
+ * // Before running the sample:
4978
+ * // - Enable the API at:
4979
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
4980
+ * // - Login into gcloud by running:
4981
+ * // ```sh
4982
+ * // $ gcloud auth application-default login
4983
+ * // ```
4984
+ * // - Install the npm module by running:
4985
+ * // ```sh
4986
+ * // $ npm install googleapis
4987
+ * // ```
4988
+ *
4989
+ * const {google} = require('googleapis');
4990
+ * const searchads360 = google.searchads360('v0');
4991
+ *
4992
+ * async function main() {
4993
+ * const auth = new google.auth.GoogleAuth({
4994
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4995
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
4996
+ * });
4997
+ *
4998
+ * // Acquire an auth client, and bind it to all future calls
4999
+ * const authClient = await auth.getClient();
5000
+ * google.options({auth: authClient});
5001
+ *
5002
+ * // Do the magic
5003
+ * const res = await searchads360.customers.customColumns.list({
5004
+ * // Required. The ID of the customer to apply the CustomColumn list operation to.
5005
+ * customerId: '[^/]+',
5006
+ * });
5007
+ * console.log(res.data);
5008
+ *
5009
+ * // Example response
5010
+ * // {
5011
+ * // "customColumns": []
5012
+ * // }
5013
+ * }
5014
+ *
5015
+ * main().catch(e => {
5016
+ * console.error(e);
5017
+ * throw e;
5018
+ * });
5019
+ *
5020
+ * ```
4877
5021
*
4878
5022
* @param params - Parameters for request
4879
5023
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4996,6 +5140,74 @@ export namespace searchads360_v0 {
4996
5140
4997
5141
/**
4998
5142
* Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]()
5143
+ * @example
5144
+ * ```js
5145
+ * // Before running the sample:
5146
+ * // - Enable the API at:
5147
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
5148
+ * // - Login into gcloud by running:
5149
+ * // ```sh
5150
+ * // $ gcloud auth application-default login
5151
+ * // ```
5152
+ * // - Install the npm module by running:
5153
+ * // ```sh
5154
+ * // $ npm install googleapis
5155
+ * // ```
5156
+ *
5157
+ * const {google} = require('googleapis');
5158
+ * const searchads360 = google.searchads360('v0');
5159
+ *
5160
+ * async function main() {
5161
+ * const auth = new google.auth.GoogleAuth({
5162
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5163
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
5164
+ * });
5165
+ *
5166
+ * // Acquire an auth client, and bind it to all future calls
5167
+ * const authClient = await auth.getClient();
5168
+ * google.options({auth: authClient});
5169
+ *
5170
+ * // Do the magic
5171
+ * const res = await searchads360.customers.searchAds360.search({
5172
+ * // Required. The ID of the customer being queried.
5173
+ * customerId: '[^/]+',
5174
+ *
5175
+ * // Request body metadata
5176
+ * requestBody: {
5177
+ * // request body parameters
5178
+ * // {
5179
+ * // "pageSize": 0,
5180
+ * // "pageToken": "my_pageToken",
5181
+ * // "query": "my_query",
5182
+ * // "returnTotalResultsCount": false,
5183
+ * // "summaryRowSetting": "my_summaryRowSetting",
5184
+ * // "validateOnly": false
5185
+ * // }
5186
+ * },
5187
+ * });
5188
+ * console.log(res.data);
5189
+ *
5190
+ * // Example response
5191
+ * // {
5192
+ * // "conversionCustomDimensionHeaders": [],
5193
+ * // "conversionCustomMetricHeaders": [],
5194
+ * // "customColumnHeaders": [],
5195
+ * // "fieldMask": "my_fieldMask",
5196
+ * // "nextPageToken": "my_nextPageToken",
5197
+ * // "rawEventConversionDimensionHeaders": [],
5198
+ * // "rawEventConversionMetricHeaders": [],
5199
+ * // "results": [],
5200
+ * // "summaryRow": {},
5201
+ * // "totalResultsCount": "my_totalResultsCount"
5202
+ * // }
5203
+ * }
5204
+ *
5205
+ * main().catch(e => {
5206
+ * console.error(e);
5207
+ * throw e;
5208
+ * });
5209
+ *
5210
+ * ```
4999
5211
*
5000
5212
* @param params - Parameters for request
5001
5213
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5116,6 +5328,65 @@ export namespace searchads360_v0 {
5116
5328
5117
5329
/**
5118
5330
* Returns just the requested field. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
5331
+ * @example
5332
+ * ```js
5333
+ * // Before running the sample:
5334
+ * // - Enable the API at:
5335
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
5336
+ * // - Login into gcloud by running:
5337
+ * // ```sh
5338
+ * // $ gcloud auth application-default login
5339
+ * // ```
5340
+ * // - Install the npm module by running:
5341
+ * // ```sh
5342
+ * // $ npm install googleapis
5343
+ * // ```
5344
+ *
5345
+ * const {google} = require('googleapis');
5346
+ * const searchads360 = google.searchads360('v0');
5347
+ *
5348
+ * async function main() {
5349
+ * const auth = new google.auth.GoogleAuth({
5350
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5351
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
5352
+ * });
5353
+ *
5354
+ * // Acquire an auth client, and bind it to all future calls
5355
+ * const authClient = await auth.getClient();
5356
+ * google.options({auth: authClient});
5357
+ *
5358
+ * // Do the magic
5359
+ * const res = await searchads360.searchAds360Fields.get({
5360
+ * // Required. The resource name of the field to get.
5361
+ * resourceName: 'searchAds360Fields/my-searchAds360Field',
5362
+ * });
5363
+ * console.log(res.data);
5364
+ *
5365
+ * // Example response
5366
+ * // {
5367
+ * // "attributeResources": [],
5368
+ * // "category": "my_category",
5369
+ * // "dataType": "my_dataType",
5370
+ * // "enumValues": [],
5371
+ * // "filterable": false,
5372
+ * // "isRepeated": false,
5373
+ * // "metrics": [],
5374
+ * // "name": "my_name",
5375
+ * // "resourceName": "my_resourceName",
5376
+ * // "segments": [],
5377
+ * // "selectable": false,
5378
+ * // "selectableWith": [],
5379
+ * // "sortable": false,
5380
+ * // "typeUrl": "my_typeUrl"
5381
+ * // }
5382
+ * }
5383
+ *
5384
+ * main().catch(e => {
5385
+ * console.error(e);
5386
+ * throw e;
5387
+ * });
5388
+ *
5389
+ * ```
5119
5390
*
5120
5391
* @param params - Parameters for request
5121
5392
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -5217,6 +5488,61 @@ export namespace searchads360_v0 {
5217
5488
5218
5489
/**
5219
5490
* Returns all fields that match the search [query](/search-ads/reporting/concepts/field-service#use_a_query_to_get_field_details). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]()
5491
+ * @example
5492
+ * ```js
5493
+ * // Before running the sample:
5494
+ * // - Enable the API at:
5495
+ * // https://console.developers.google.com/apis/api/searchads360.googleapis.com
5496
+ * // - Login into gcloud by running:
5497
+ * // ```sh
5498
+ * // $ gcloud auth application-default login
5499
+ * // ```
5500
+ * // - Install the npm module by running:
5501
+ * // ```sh
5502
+ * // $ npm install googleapis
5503
+ * // ```
5504
+ *
5505
+ * const {google} = require('googleapis');
5506
+ * const searchads360 = google.searchads360('v0');
5507
+ *
5508
+ * async function main() {
5509
+ * const auth = new google.auth.GoogleAuth({
5510
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5511
+ * scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
5512
+ * });
5513
+ *
5514
+ * // Acquire an auth client, and bind it to all future calls
5515
+ * const authClient = await auth.getClient();
5516
+ * google.options({auth: authClient});
5517
+ *
5518
+ * // Do the magic
5519
+ * const res = await searchads360.searchAds360Fields.search({
5520
+ * // Request body metadata
5521
+ * requestBody: {
5522
+ * // request body parameters
5523
+ * // {
5524
+ * // "pageSize": 0,
5525
+ * // "pageToken": "my_pageToken",
5526
+ * // "query": "my_query"
5527
+ * // }
5528
+ * },
5529
+ * });
5530
+ * console.log(res.data);
5531
+ *
5532
+ * // Example response
5533
+ * // {
5534
+ * // "nextPageToken": "my_nextPageToken",
5535
+ * // "results": [],
5536
+ * // "totalResultsCount": "my_totalResultsCount"
5537
+ * // }
5538
+ * }
5539
+ *
5540
+ * main().catch(e => {
5541
+ * console.error(e);
5542
+ * throw e;
5543
+ * });
5544
+ *
5545
+ * ```
5220
5546
*
5221
5547
* @param params - Parameters for request
5222
5548
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
0 commit comments