@googleapis/searchads360 7.0.1 → 8.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.
- package/CHANGELOG.md +33 -0
- package/build/v0.d.ts +331 -1
- package/build/v0.js.map +1 -1
- package/package.json +1 -1
- package/v0.ts +331 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [8.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v8.0.1...searchads360-v8.1.0) (2025-07-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* run the generator ([#3721](https://github.com/googleapis/google-api-nodejs-client/issues/3721)) ([89a253d](https://github.com/googleapis/google-api-nodejs-client/commit/89a253dc14d931865a4a35fb9093a39a8804ec63))
|
|
9
|
+
|
|
10
|
+
## [8.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v8.0.0...searchads360-v8.0.1) (2025-07-08)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **searchads360:** update the API ([6e11bcc](https://github.com/googleapis/google-api-nodejs-client/commit/6e11bcc04fce4807531322b7ceb7901ad6d53d31))
|
|
16
|
+
* **searchads360:** update the API ([8e46b01](https://github.com/googleapis/google-api-nodejs-client/commit/8e46b01460a5d34ca2651ff659b7c4c436ad9cdb))
|
|
17
|
+
|
|
18
|
+
## [8.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v7.0.1...searchads360-v8.0.0) (2025-06-30)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### ⚠ BREAKING CHANGES
|
|
22
|
+
|
|
23
|
+
* upgrade to node 18
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **searchads360:** update the API ([07726ff](https://github.com/googleapis/google-api-nodejs-client/commit/07726ff93e1fe65944ea3c0ca64c684c8f416cda))
|
|
28
|
+
* upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
|
|
34
|
+
* **searchads360:** update the API ([8e46b01](https://github.com/googleapis/google-api-nodejs-client/commit/8e46b01460a5d34ca2651ff659b7c4c436ad9cdb))
|
|
35
|
+
|
|
3
36
|
## [7.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v7.0.0...searchads360-v7.0.1) (2025-06-04)
|
|
4
37
|
|
|
5
38
|
|
package/build/v0.d.ts
CHANGED
|
@@ -1517,6 +1517,10 @@ export declare namespace searchads360_v0 {
|
|
|
1517
1517
|
* An error encountered when trying to authorize a user.
|
|
1518
1518
|
*/
|
|
1519
1519
|
authorizationError?: string | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* The reasons for the conversion custom variable error
|
|
1522
|
+
*/
|
|
1523
|
+
conversionCustomVariableError?: string | null;
|
|
1520
1524
|
/**
|
|
1521
1525
|
* The reasons for the custom column error
|
|
1522
1526
|
*/
|
|
@@ -2047,7 +2051,7 @@ export declare namespace searchads360_v0 {
|
|
|
2047
2051
|
*/
|
|
2048
2052
|
id?: string | null;
|
|
2049
2053
|
/**
|
|
2050
|
-
* Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad.
|
|
2054
|
+
* Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad.
|
|
2051
2055
|
*/
|
|
2052
2056
|
name?: string | null;
|
|
2053
2057
|
/**
|
|
@@ -4608,6 +4612,49 @@ export declare namespace searchads360_v0 {
|
|
|
4608
4612
|
constructor(context: APIRequestContext);
|
|
4609
4613
|
/**
|
|
4610
4614
|
* Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
4615
|
+
* @example
|
|
4616
|
+
* ```js
|
|
4617
|
+
* // Before running the sample:
|
|
4618
|
+
* // - Enable the API at:
|
|
4619
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4620
|
+
* // - Login into gcloud by running:
|
|
4621
|
+
* // ```sh
|
|
4622
|
+
* // $ gcloud auth application-default login
|
|
4623
|
+
* // ```
|
|
4624
|
+
* // - Install the npm module by running:
|
|
4625
|
+
* // ```sh
|
|
4626
|
+
* // $ npm install googleapis
|
|
4627
|
+
* // ```
|
|
4628
|
+
*
|
|
4629
|
+
* const {google} = require('googleapis');
|
|
4630
|
+
* const searchads360 = google.searchads360('v0');
|
|
4631
|
+
*
|
|
4632
|
+
* async function main() {
|
|
4633
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4634
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4635
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4636
|
+
* });
|
|
4637
|
+
*
|
|
4638
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4639
|
+
* const authClient = await auth.getClient();
|
|
4640
|
+
* google.options({auth: authClient});
|
|
4641
|
+
*
|
|
4642
|
+
* // Do the magic
|
|
4643
|
+
* const res = await searchads360.customers.listAccessibleCustomers({});
|
|
4644
|
+
* console.log(res.data);
|
|
4645
|
+
*
|
|
4646
|
+
* // Example response
|
|
4647
|
+
* // {
|
|
4648
|
+
* // "resourceNames": []
|
|
4649
|
+
* // }
|
|
4650
|
+
* }
|
|
4651
|
+
*
|
|
4652
|
+
* main().catch(e => {
|
|
4653
|
+
* console.error(e);
|
|
4654
|
+
* throw e;
|
|
4655
|
+
* });
|
|
4656
|
+
*
|
|
4657
|
+
* ```
|
|
4611
4658
|
*
|
|
4612
4659
|
* @param params - Parameters for request
|
|
4613
4660
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4628,6 +4675,61 @@ export declare namespace searchads360_v0 {
|
|
|
4628
4675
|
constructor(context: APIRequestContext);
|
|
4629
4676
|
/**
|
|
4630
4677
|
* Returns the requested custom column in full detail.
|
|
4678
|
+
* @example
|
|
4679
|
+
* ```js
|
|
4680
|
+
* // Before running the sample:
|
|
4681
|
+
* // - Enable the API at:
|
|
4682
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4683
|
+
* // - Login into gcloud by running:
|
|
4684
|
+
* // ```sh
|
|
4685
|
+
* // $ gcloud auth application-default login
|
|
4686
|
+
* // ```
|
|
4687
|
+
* // - Install the npm module by running:
|
|
4688
|
+
* // ```sh
|
|
4689
|
+
* // $ npm install googleapis
|
|
4690
|
+
* // ```
|
|
4691
|
+
*
|
|
4692
|
+
* const {google} = require('googleapis');
|
|
4693
|
+
* const searchads360 = google.searchads360('v0');
|
|
4694
|
+
*
|
|
4695
|
+
* async function main() {
|
|
4696
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4697
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4698
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4699
|
+
* });
|
|
4700
|
+
*
|
|
4701
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4702
|
+
* const authClient = await auth.getClient();
|
|
4703
|
+
* google.options({auth: authClient});
|
|
4704
|
+
*
|
|
4705
|
+
* // Do the magic
|
|
4706
|
+
* const res = await searchads360.customers.customColumns.get({
|
|
4707
|
+
* // Required. The resource name of the custom column to fetch.
|
|
4708
|
+
* resourceName: 'customers/my-customer/customColumns/my-customColumn',
|
|
4709
|
+
* });
|
|
4710
|
+
* console.log(res.data);
|
|
4711
|
+
*
|
|
4712
|
+
* // Example response
|
|
4713
|
+
* // {
|
|
4714
|
+
* // "description": "my_description",
|
|
4715
|
+
* // "id": "my_id",
|
|
4716
|
+
* // "name": "my_name",
|
|
4717
|
+
* // "queryable": false,
|
|
4718
|
+
* // "referencedSystemColumns": [],
|
|
4719
|
+
* // "referencesAttributes": false,
|
|
4720
|
+
* // "referencesMetrics": false,
|
|
4721
|
+
* // "renderType": "my_renderType",
|
|
4722
|
+
* // "resourceName": "my_resourceName",
|
|
4723
|
+
* // "valueType": "my_valueType"
|
|
4724
|
+
* // }
|
|
4725
|
+
* }
|
|
4726
|
+
*
|
|
4727
|
+
* main().catch(e => {
|
|
4728
|
+
* console.error(e);
|
|
4729
|
+
* throw e;
|
|
4730
|
+
* });
|
|
4731
|
+
*
|
|
4732
|
+
* ```
|
|
4631
4733
|
*
|
|
4632
4734
|
* @param params - Parameters for request
|
|
4633
4735
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4642,6 +4744,52 @@ export declare namespace searchads360_v0 {
|
|
|
4642
4744
|
get(callback: BodyResponseCallback<Schema$GoogleAdsSearchads360V0Resources__CustomColumn>): void;
|
|
4643
4745
|
/**
|
|
4644
4746
|
* Returns all the custom columns associated with the customer in full detail.
|
|
4747
|
+
* @example
|
|
4748
|
+
* ```js
|
|
4749
|
+
* // Before running the sample:
|
|
4750
|
+
* // - Enable the API at:
|
|
4751
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4752
|
+
* // - Login into gcloud by running:
|
|
4753
|
+
* // ```sh
|
|
4754
|
+
* // $ gcloud auth application-default login
|
|
4755
|
+
* // ```
|
|
4756
|
+
* // - Install the npm module by running:
|
|
4757
|
+
* // ```sh
|
|
4758
|
+
* // $ npm install googleapis
|
|
4759
|
+
* // ```
|
|
4760
|
+
*
|
|
4761
|
+
* const {google} = require('googleapis');
|
|
4762
|
+
* const searchads360 = google.searchads360('v0');
|
|
4763
|
+
*
|
|
4764
|
+
* async function main() {
|
|
4765
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4766
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4767
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4768
|
+
* });
|
|
4769
|
+
*
|
|
4770
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4771
|
+
* const authClient = await auth.getClient();
|
|
4772
|
+
* google.options({auth: authClient});
|
|
4773
|
+
*
|
|
4774
|
+
* // Do the magic
|
|
4775
|
+
* const res = await searchads360.customers.customColumns.list({
|
|
4776
|
+
* // Required. The ID of the customer to apply the CustomColumn list operation to.
|
|
4777
|
+
* customerId: '[^/]+',
|
|
4778
|
+
* });
|
|
4779
|
+
* console.log(res.data);
|
|
4780
|
+
*
|
|
4781
|
+
* // Example response
|
|
4782
|
+
* // {
|
|
4783
|
+
* // "customColumns": []
|
|
4784
|
+
* // }
|
|
4785
|
+
* }
|
|
4786
|
+
*
|
|
4787
|
+
* main().catch(e => {
|
|
4788
|
+
* console.error(e);
|
|
4789
|
+
* throw e;
|
|
4790
|
+
* });
|
|
4791
|
+
*
|
|
4792
|
+
* ```
|
|
4645
4793
|
*
|
|
4646
4794
|
* @param params - Parameters for request
|
|
4647
4795
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4672,6 +4820,74 @@ export declare namespace searchads360_v0 {
|
|
|
4672
4820
|
constructor(context: APIRequestContext);
|
|
4673
4821
|
/**
|
|
4674
4822
|
* Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]()
|
|
4823
|
+
* @example
|
|
4824
|
+
* ```js
|
|
4825
|
+
* // Before running the sample:
|
|
4826
|
+
* // - Enable the API at:
|
|
4827
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4828
|
+
* // - Login into gcloud by running:
|
|
4829
|
+
* // ```sh
|
|
4830
|
+
* // $ gcloud auth application-default login
|
|
4831
|
+
* // ```
|
|
4832
|
+
* // - Install the npm module by running:
|
|
4833
|
+
* // ```sh
|
|
4834
|
+
* // $ npm install googleapis
|
|
4835
|
+
* // ```
|
|
4836
|
+
*
|
|
4837
|
+
* const {google} = require('googleapis');
|
|
4838
|
+
* const searchads360 = google.searchads360('v0');
|
|
4839
|
+
*
|
|
4840
|
+
* async function main() {
|
|
4841
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4842
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4843
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4844
|
+
* });
|
|
4845
|
+
*
|
|
4846
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4847
|
+
* const authClient = await auth.getClient();
|
|
4848
|
+
* google.options({auth: authClient});
|
|
4849
|
+
*
|
|
4850
|
+
* // Do the magic
|
|
4851
|
+
* const res = await searchads360.customers.searchAds360.search({
|
|
4852
|
+
* // Required. The ID of the customer being queried.
|
|
4853
|
+
* customerId: '[^/]+',
|
|
4854
|
+
*
|
|
4855
|
+
* // Request body metadata
|
|
4856
|
+
* requestBody: {
|
|
4857
|
+
* // request body parameters
|
|
4858
|
+
* // {
|
|
4859
|
+
* // "pageSize": 0,
|
|
4860
|
+
* // "pageToken": "my_pageToken",
|
|
4861
|
+
* // "query": "my_query",
|
|
4862
|
+
* // "returnTotalResultsCount": false,
|
|
4863
|
+
* // "summaryRowSetting": "my_summaryRowSetting",
|
|
4864
|
+
* // "validateOnly": false
|
|
4865
|
+
* // }
|
|
4866
|
+
* },
|
|
4867
|
+
* });
|
|
4868
|
+
* console.log(res.data);
|
|
4869
|
+
*
|
|
4870
|
+
* // Example response
|
|
4871
|
+
* // {
|
|
4872
|
+
* // "conversionCustomDimensionHeaders": [],
|
|
4873
|
+
* // "conversionCustomMetricHeaders": [],
|
|
4874
|
+
* // "customColumnHeaders": [],
|
|
4875
|
+
* // "fieldMask": "my_fieldMask",
|
|
4876
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
4877
|
+
* // "rawEventConversionDimensionHeaders": [],
|
|
4878
|
+
* // "rawEventConversionMetricHeaders": [],
|
|
4879
|
+
* // "results": [],
|
|
4880
|
+
* // "summaryRow": {},
|
|
4881
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
4882
|
+
* // }
|
|
4883
|
+
* }
|
|
4884
|
+
*
|
|
4885
|
+
* main().catch(e => {
|
|
4886
|
+
* console.error(e);
|
|
4887
|
+
* throw e;
|
|
4888
|
+
* });
|
|
4889
|
+
*
|
|
4890
|
+
* ```
|
|
4675
4891
|
*
|
|
4676
4892
|
* @param params - Parameters for request
|
|
4677
4893
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4700,6 +4916,65 @@ export declare namespace searchads360_v0 {
|
|
|
4700
4916
|
constructor(context: APIRequestContext);
|
|
4701
4917
|
/**
|
|
4702
4918
|
* Returns just the requested field. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
4919
|
+
* @example
|
|
4920
|
+
* ```js
|
|
4921
|
+
* // Before running the sample:
|
|
4922
|
+
* // - Enable the API at:
|
|
4923
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4924
|
+
* // - Login into gcloud by running:
|
|
4925
|
+
* // ```sh
|
|
4926
|
+
* // $ gcloud auth application-default login
|
|
4927
|
+
* // ```
|
|
4928
|
+
* // - Install the npm module by running:
|
|
4929
|
+
* // ```sh
|
|
4930
|
+
* // $ npm install googleapis
|
|
4931
|
+
* // ```
|
|
4932
|
+
*
|
|
4933
|
+
* const {google} = require('googleapis');
|
|
4934
|
+
* const searchads360 = google.searchads360('v0');
|
|
4935
|
+
*
|
|
4936
|
+
* async function main() {
|
|
4937
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4938
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4939
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4940
|
+
* });
|
|
4941
|
+
*
|
|
4942
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4943
|
+
* const authClient = await auth.getClient();
|
|
4944
|
+
* google.options({auth: authClient});
|
|
4945
|
+
*
|
|
4946
|
+
* // Do the magic
|
|
4947
|
+
* const res = await searchads360.searchAds360Fields.get({
|
|
4948
|
+
* // Required. The resource name of the field to get.
|
|
4949
|
+
* resourceName: 'searchAds360Fields/my-searchAds360Field',
|
|
4950
|
+
* });
|
|
4951
|
+
* console.log(res.data);
|
|
4952
|
+
*
|
|
4953
|
+
* // Example response
|
|
4954
|
+
* // {
|
|
4955
|
+
* // "attributeResources": [],
|
|
4956
|
+
* // "category": "my_category",
|
|
4957
|
+
* // "dataType": "my_dataType",
|
|
4958
|
+
* // "enumValues": [],
|
|
4959
|
+
* // "filterable": false,
|
|
4960
|
+
* // "isRepeated": false,
|
|
4961
|
+
* // "metrics": [],
|
|
4962
|
+
* // "name": "my_name",
|
|
4963
|
+
* // "resourceName": "my_resourceName",
|
|
4964
|
+
* // "segments": [],
|
|
4965
|
+
* // "selectable": false,
|
|
4966
|
+
* // "selectableWith": [],
|
|
4967
|
+
* // "sortable": false,
|
|
4968
|
+
* // "typeUrl": "my_typeUrl"
|
|
4969
|
+
* // }
|
|
4970
|
+
* }
|
|
4971
|
+
*
|
|
4972
|
+
* main().catch(e => {
|
|
4973
|
+
* console.error(e);
|
|
4974
|
+
* throw e;
|
|
4975
|
+
* });
|
|
4976
|
+
*
|
|
4977
|
+
* ```
|
|
4703
4978
|
*
|
|
4704
4979
|
* @param params - Parameters for request
|
|
4705
4980
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4714,6 +4989,61 @@ export declare namespace searchads360_v0 {
|
|
|
4714
4989
|
get(callback: BodyResponseCallback<Schema$GoogleAdsSearchads360V0Resources__SearchAds360Field>): void;
|
|
4715
4990
|
/**
|
|
4716
4991
|
* 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]()
|
|
4992
|
+
* @example
|
|
4993
|
+
* ```js
|
|
4994
|
+
* // Before running the sample:
|
|
4995
|
+
* // - Enable the API at:
|
|
4996
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4997
|
+
* // - Login into gcloud by running:
|
|
4998
|
+
* // ```sh
|
|
4999
|
+
* // $ gcloud auth application-default login
|
|
5000
|
+
* // ```
|
|
5001
|
+
* // - Install the npm module by running:
|
|
5002
|
+
* // ```sh
|
|
5003
|
+
* // $ npm install googleapis
|
|
5004
|
+
* // ```
|
|
5005
|
+
*
|
|
5006
|
+
* const {google} = require('googleapis');
|
|
5007
|
+
* const searchads360 = google.searchads360('v0');
|
|
5008
|
+
*
|
|
5009
|
+
* async function main() {
|
|
5010
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5011
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5012
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5013
|
+
* });
|
|
5014
|
+
*
|
|
5015
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5016
|
+
* const authClient = await auth.getClient();
|
|
5017
|
+
* google.options({auth: authClient});
|
|
5018
|
+
*
|
|
5019
|
+
* // Do the magic
|
|
5020
|
+
* const res = await searchads360.searchAds360Fields.search({
|
|
5021
|
+
* // Request body metadata
|
|
5022
|
+
* requestBody: {
|
|
5023
|
+
* // request body parameters
|
|
5024
|
+
* // {
|
|
5025
|
+
* // "pageSize": 0,
|
|
5026
|
+
* // "pageToken": "my_pageToken",
|
|
5027
|
+
* // "query": "my_query"
|
|
5028
|
+
* // }
|
|
5029
|
+
* },
|
|
5030
|
+
* });
|
|
5031
|
+
* console.log(res.data);
|
|
5032
|
+
*
|
|
5033
|
+
* // Example response
|
|
5034
|
+
* // {
|
|
5035
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5036
|
+
* // "results": [],
|
|
5037
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
5038
|
+
* // }
|
|
5039
|
+
* }
|
|
5040
|
+
*
|
|
5041
|
+
* main().catch(e => {
|
|
5042
|
+
* console.error(e);
|
|
5043
|
+
* throw e;
|
|
5044
|
+
* });
|
|
5045
|
+
*
|
|
5046
|
+
* ```
|
|
4717
5047
|
*
|
|
4718
5048
|
* @param params - Parameters for request
|
|
4719
5049
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
package/build/v0.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v0.js","sourceRoot":"","sources":["../v0.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"v0.js","sourceRoot":"","sources":["../v0.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,CA0/K/B;AA1/KD,WAAiB,eAAe;IAgE9B;;;;;;;;;;OAUG;IACH,MAAa,YAAY;QAKvB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP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B,EAAE,CAA8C,CAAC;YACnD,IAAI,OAAO,GAAG,CAAC,iBAAiB,IAAI,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAA+C,CAAC;gBACzD,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,sCAAsC,CAAC;YAC1E,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,+BAA+B,CAAC,CAAC,OAAO,CACtD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAjUY,2CAA2B,8BAiUvC,CAAA;AAgBH,CAAC,EA1/KgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0/K/B"}
|
package/package.json
CHANGED
package/v0.ts
CHANGED
|
@@ -1565,6 +1565,10 @@ export namespace searchads360_v0 {
|
|
|
1565
1565
|
* An error encountered when trying to authorize a user.
|
|
1566
1566
|
*/
|
|
1567
1567
|
authorizationError?: string | null;
|
|
1568
|
+
/**
|
|
1569
|
+
* The reasons for the conversion custom variable error
|
|
1570
|
+
*/
|
|
1571
|
+
conversionCustomVariableError?: string | null;
|
|
1568
1572
|
/**
|
|
1569
1573
|
* The reasons for the custom column error
|
|
1570
1574
|
*/
|
|
@@ -2095,7 +2099,7 @@ export namespace searchads360_v0 {
|
|
|
2095
2099
|
*/
|
|
2096
2100
|
id?: string | null;
|
|
2097
2101
|
/**
|
|
2098
|
-
* Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad.
|
|
2102
|
+
* Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad.
|
|
2099
2103
|
*/
|
|
2100
2104
|
name?: string | null;
|
|
2101
2105
|
/**
|
|
@@ -4662,6 +4666,49 @@ export namespace searchads360_v0 {
|
|
|
4662
4666
|
|
|
4663
4667
|
/**
|
|
4664
4668
|
* Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
4669
|
+
* @example
|
|
4670
|
+
* ```js
|
|
4671
|
+
* // Before running the sample:
|
|
4672
|
+
* // - Enable the API at:
|
|
4673
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4674
|
+
* // - Login into gcloud by running:
|
|
4675
|
+
* // ```sh
|
|
4676
|
+
* // $ gcloud auth application-default login
|
|
4677
|
+
* // ```
|
|
4678
|
+
* // - Install the npm module by running:
|
|
4679
|
+
* // ```sh
|
|
4680
|
+
* // $ npm install googleapis
|
|
4681
|
+
* // ```
|
|
4682
|
+
*
|
|
4683
|
+
* const {google} = require('googleapis');
|
|
4684
|
+
* const searchads360 = google.searchads360('v0');
|
|
4685
|
+
*
|
|
4686
|
+
* async function main() {
|
|
4687
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4688
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4689
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4690
|
+
* });
|
|
4691
|
+
*
|
|
4692
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4693
|
+
* const authClient = await auth.getClient();
|
|
4694
|
+
* google.options({auth: authClient});
|
|
4695
|
+
*
|
|
4696
|
+
* // Do the magic
|
|
4697
|
+
* const res = await searchads360.customers.listAccessibleCustomers({});
|
|
4698
|
+
* console.log(res.data);
|
|
4699
|
+
*
|
|
4700
|
+
* // Example response
|
|
4701
|
+
* // {
|
|
4702
|
+
* // "resourceNames": []
|
|
4703
|
+
* // }
|
|
4704
|
+
* }
|
|
4705
|
+
*
|
|
4706
|
+
* main().catch(e => {
|
|
4707
|
+
* console.error(e);
|
|
4708
|
+
* throw e;
|
|
4709
|
+
* });
|
|
4710
|
+
*
|
|
4711
|
+
* ```
|
|
4665
4712
|
*
|
|
4666
4713
|
* @param params - Parameters for request
|
|
4667
4714
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4773,6 +4820,61 @@ export namespace searchads360_v0 {
|
|
|
4773
4820
|
|
|
4774
4821
|
/**
|
|
4775
4822
|
* Returns the requested custom column in full detail.
|
|
4823
|
+
* @example
|
|
4824
|
+
* ```js
|
|
4825
|
+
* // Before running the sample:
|
|
4826
|
+
* // - Enable the API at:
|
|
4827
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4828
|
+
* // - Login into gcloud by running:
|
|
4829
|
+
* // ```sh
|
|
4830
|
+
* // $ gcloud auth application-default login
|
|
4831
|
+
* // ```
|
|
4832
|
+
* // - Install the npm module by running:
|
|
4833
|
+
* // ```sh
|
|
4834
|
+
* // $ npm install googleapis
|
|
4835
|
+
* // ```
|
|
4836
|
+
*
|
|
4837
|
+
* const {google} = require('googleapis');
|
|
4838
|
+
* const searchads360 = google.searchads360('v0');
|
|
4839
|
+
*
|
|
4840
|
+
* async function main() {
|
|
4841
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4842
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4843
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4844
|
+
* });
|
|
4845
|
+
*
|
|
4846
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4847
|
+
* const authClient = await auth.getClient();
|
|
4848
|
+
* google.options({auth: authClient});
|
|
4849
|
+
*
|
|
4850
|
+
* // Do the magic
|
|
4851
|
+
* const res = await searchads360.customers.customColumns.get({
|
|
4852
|
+
* // Required. The resource name of the custom column to fetch.
|
|
4853
|
+
* resourceName: 'customers/my-customer/customColumns/my-customColumn',
|
|
4854
|
+
* });
|
|
4855
|
+
* console.log(res.data);
|
|
4856
|
+
*
|
|
4857
|
+
* // Example response
|
|
4858
|
+
* // {
|
|
4859
|
+
* // "description": "my_description",
|
|
4860
|
+
* // "id": "my_id",
|
|
4861
|
+
* // "name": "my_name",
|
|
4862
|
+
* // "queryable": false,
|
|
4863
|
+
* // "referencedSystemColumns": [],
|
|
4864
|
+
* // "referencesAttributes": false,
|
|
4865
|
+
* // "referencesMetrics": false,
|
|
4866
|
+
* // "renderType": "my_renderType",
|
|
4867
|
+
* // "resourceName": "my_resourceName",
|
|
4868
|
+
* // "valueType": "my_valueType"
|
|
4869
|
+
* // }
|
|
4870
|
+
* }
|
|
4871
|
+
*
|
|
4872
|
+
* main().catch(e => {
|
|
4873
|
+
* console.error(e);
|
|
4874
|
+
* throw e;
|
|
4875
|
+
* });
|
|
4876
|
+
*
|
|
4877
|
+
* ```
|
|
4776
4878
|
*
|
|
4777
4879
|
* @param params - Parameters for request
|
|
4778
4880
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4874,6 +4976,52 @@ export namespace searchads360_v0 {
|
|
|
4874
4976
|
|
|
4875
4977
|
/**
|
|
4876
4978
|
* Returns all the custom columns associated with the customer in full detail.
|
|
4979
|
+
* @example
|
|
4980
|
+
* ```js
|
|
4981
|
+
* // Before running the sample:
|
|
4982
|
+
* // - Enable the API at:
|
|
4983
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4984
|
+
* // - Login into gcloud by running:
|
|
4985
|
+
* // ```sh
|
|
4986
|
+
* // $ gcloud auth application-default login
|
|
4987
|
+
* // ```
|
|
4988
|
+
* // - Install the npm module by running:
|
|
4989
|
+
* // ```sh
|
|
4990
|
+
* // $ npm install googleapis
|
|
4991
|
+
* // ```
|
|
4992
|
+
*
|
|
4993
|
+
* const {google} = require('googleapis');
|
|
4994
|
+
* const searchads360 = google.searchads360('v0');
|
|
4995
|
+
*
|
|
4996
|
+
* async function main() {
|
|
4997
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4998
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4999
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5000
|
+
* });
|
|
5001
|
+
*
|
|
5002
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5003
|
+
* const authClient = await auth.getClient();
|
|
5004
|
+
* google.options({auth: authClient});
|
|
5005
|
+
*
|
|
5006
|
+
* // Do the magic
|
|
5007
|
+
* const res = await searchads360.customers.customColumns.list({
|
|
5008
|
+
* // Required. The ID of the customer to apply the CustomColumn list operation to.
|
|
5009
|
+
* customerId: '[^/]+',
|
|
5010
|
+
* });
|
|
5011
|
+
* console.log(res.data);
|
|
5012
|
+
*
|
|
5013
|
+
* // Example response
|
|
5014
|
+
* // {
|
|
5015
|
+
* // "customColumns": []
|
|
5016
|
+
* // }
|
|
5017
|
+
* }
|
|
5018
|
+
*
|
|
5019
|
+
* main().catch(e => {
|
|
5020
|
+
* console.error(e);
|
|
5021
|
+
* throw e;
|
|
5022
|
+
* });
|
|
5023
|
+
*
|
|
5024
|
+
* ```
|
|
4877
5025
|
*
|
|
4878
5026
|
* @param params - Parameters for request
|
|
4879
5027
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4996,6 +5144,74 @@ export namespace searchads360_v0 {
|
|
|
4996
5144
|
|
|
4997
5145
|
/**
|
|
4998
5146
|
* Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]()
|
|
5147
|
+
* @example
|
|
5148
|
+
* ```js
|
|
5149
|
+
* // Before running the sample:
|
|
5150
|
+
* // - Enable the API at:
|
|
5151
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
5152
|
+
* // - Login into gcloud by running:
|
|
5153
|
+
* // ```sh
|
|
5154
|
+
* // $ gcloud auth application-default login
|
|
5155
|
+
* // ```
|
|
5156
|
+
* // - Install the npm module by running:
|
|
5157
|
+
* // ```sh
|
|
5158
|
+
* // $ npm install googleapis
|
|
5159
|
+
* // ```
|
|
5160
|
+
*
|
|
5161
|
+
* const {google} = require('googleapis');
|
|
5162
|
+
* const searchads360 = google.searchads360('v0');
|
|
5163
|
+
*
|
|
5164
|
+
* async function main() {
|
|
5165
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5166
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5167
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5168
|
+
* });
|
|
5169
|
+
*
|
|
5170
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5171
|
+
* const authClient = await auth.getClient();
|
|
5172
|
+
* google.options({auth: authClient});
|
|
5173
|
+
*
|
|
5174
|
+
* // Do the magic
|
|
5175
|
+
* const res = await searchads360.customers.searchAds360.search({
|
|
5176
|
+
* // Required. The ID of the customer being queried.
|
|
5177
|
+
* customerId: '[^/]+',
|
|
5178
|
+
*
|
|
5179
|
+
* // Request body metadata
|
|
5180
|
+
* requestBody: {
|
|
5181
|
+
* // request body parameters
|
|
5182
|
+
* // {
|
|
5183
|
+
* // "pageSize": 0,
|
|
5184
|
+
* // "pageToken": "my_pageToken",
|
|
5185
|
+
* // "query": "my_query",
|
|
5186
|
+
* // "returnTotalResultsCount": false,
|
|
5187
|
+
* // "summaryRowSetting": "my_summaryRowSetting",
|
|
5188
|
+
* // "validateOnly": false
|
|
5189
|
+
* // }
|
|
5190
|
+
* },
|
|
5191
|
+
* });
|
|
5192
|
+
* console.log(res.data);
|
|
5193
|
+
*
|
|
5194
|
+
* // Example response
|
|
5195
|
+
* // {
|
|
5196
|
+
* // "conversionCustomDimensionHeaders": [],
|
|
5197
|
+
* // "conversionCustomMetricHeaders": [],
|
|
5198
|
+
* // "customColumnHeaders": [],
|
|
5199
|
+
* // "fieldMask": "my_fieldMask",
|
|
5200
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5201
|
+
* // "rawEventConversionDimensionHeaders": [],
|
|
5202
|
+
* // "rawEventConversionMetricHeaders": [],
|
|
5203
|
+
* // "results": [],
|
|
5204
|
+
* // "summaryRow": {},
|
|
5205
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
5206
|
+
* // }
|
|
5207
|
+
* }
|
|
5208
|
+
*
|
|
5209
|
+
* main().catch(e => {
|
|
5210
|
+
* console.error(e);
|
|
5211
|
+
* throw e;
|
|
5212
|
+
* });
|
|
5213
|
+
*
|
|
5214
|
+
* ```
|
|
4999
5215
|
*
|
|
5000
5216
|
* @param params - Parameters for request
|
|
5001
5217
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5116,6 +5332,65 @@ export namespace searchads360_v0 {
|
|
|
5116
5332
|
|
|
5117
5333
|
/**
|
|
5118
5334
|
* Returns just the requested field. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
5335
|
+
* @example
|
|
5336
|
+
* ```js
|
|
5337
|
+
* // Before running the sample:
|
|
5338
|
+
* // - Enable the API at:
|
|
5339
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
5340
|
+
* // - Login into gcloud by running:
|
|
5341
|
+
* // ```sh
|
|
5342
|
+
* // $ gcloud auth application-default login
|
|
5343
|
+
* // ```
|
|
5344
|
+
* // - Install the npm module by running:
|
|
5345
|
+
* // ```sh
|
|
5346
|
+
* // $ npm install googleapis
|
|
5347
|
+
* // ```
|
|
5348
|
+
*
|
|
5349
|
+
* const {google} = require('googleapis');
|
|
5350
|
+
* const searchads360 = google.searchads360('v0');
|
|
5351
|
+
*
|
|
5352
|
+
* async function main() {
|
|
5353
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5354
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5355
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5356
|
+
* });
|
|
5357
|
+
*
|
|
5358
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5359
|
+
* const authClient = await auth.getClient();
|
|
5360
|
+
* google.options({auth: authClient});
|
|
5361
|
+
*
|
|
5362
|
+
* // Do the magic
|
|
5363
|
+
* const res = await searchads360.searchAds360Fields.get({
|
|
5364
|
+
* // Required. The resource name of the field to get.
|
|
5365
|
+
* resourceName: 'searchAds360Fields/my-searchAds360Field',
|
|
5366
|
+
* });
|
|
5367
|
+
* console.log(res.data);
|
|
5368
|
+
*
|
|
5369
|
+
* // Example response
|
|
5370
|
+
* // {
|
|
5371
|
+
* // "attributeResources": [],
|
|
5372
|
+
* // "category": "my_category",
|
|
5373
|
+
* // "dataType": "my_dataType",
|
|
5374
|
+
* // "enumValues": [],
|
|
5375
|
+
* // "filterable": false,
|
|
5376
|
+
* // "isRepeated": false,
|
|
5377
|
+
* // "metrics": [],
|
|
5378
|
+
* // "name": "my_name",
|
|
5379
|
+
* // "resourceName": "my_resourceName",
|
|
5380
|
+
* // "segments": [],
|
|
5381
|
+
* // "selectable": false,
|
|
5382
|
+
* // "selectableWith": [],
|
|
5383
|
+
* // "sortable": false,
|
|
5384
|
+
* // "typeUrl": "my_typeUrl"
|
|
5385
|
+
* // }
|
|
5386
|
+
* }
|
|
5387
|
+
*
|
|
5388
|
+
* main().catch(e => {
|
|
5389
|
+
* console.error(e);
|
|
5390
|
+
* throw e;
|
|
5391
|
+
* });
|
|
5392
|
+
*
|
|
5393
|
+
* ```
|
|
5119
5394
|
*
|
|
5120
5395
|
* @param params - Parameters for request
|
|
5121
5396
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5217,6 +5492,61 @@ export namespace searchads360_v0 {
|
|
|
5217
5492
|
|
|
5218
5493
|
/**
|
|
5219
5494
|
* 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]()
|
|
5495
|
+
* @example
|
|
5496
|
+
* ```js
|
|
5497
|
+
* // Before running the sample:
|
|
5498
|
+
* // - Enable the API at:
|
|
5499
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
5500
|
+
* // - Login into gcloud by running:
|
|
5501
|
+
* // ```sh
|
|
5502
|
+
* // $ gcloud auth application-default login
|
|
5503
|
+
* // ```
|
|
5504
|
+
* // - Install the npm module by running:
|
|
5505
|
+
* // ```sh
|
|
5506
|
+
* // $ npm install googleapis
|
|
5507
|
+
* // ```
|
|
5508
|
+
*
|
|
5509
|
+
* const {google} = require('googleapis');
|
|
5510
|
+
* const searchads360 = google.searchads360('v0');
|
|
5511
|
+
*
|
|
5512
|
+
* async function main() {
|
|
5513
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5514
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5515
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5516
|
+
* });
|
|
5517
|
+
*
|
|
5518
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5519
|
+
* const authClient = await auth.getClient();
|
|
5520
|
+
* google.options({auth: authClient});
|
|
5521
|
+
*
|
|
5522
|
+
* // Do the magic
|
|
5523
|
+
* const res = await searchads360.searchAds360Fields.search({
|
|
5524
|
+
* // Request body metadata
|
|
5525
|
+
* requestBody: {
|
|
5526
|
+
* // request body parameters
|
|
5527
|
+
* // {
|
|
5528
|
+
* // "pageSize": 0,
|
|
5529
|
+
* // "pageToken": "my_pageToken",
|
|
5530
|
+
* // "query": "my_query"
|
|
5531
|
+
* // }
|
|
5532
|
+
* },
|
|
5533
|
+
* });
|
|
5534
|
+
* console.log(res.data);
|
|
5535
|
+
*
|
|
5536
|
+
* // Example response
|
|
5537
|
+
* // {
|
|
5538
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5539
|
+
* // "results": [],
|
|
5540
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
5541
|
+
* // }
|
|
5542
|
+
* }
|
|
5543
|
+
*
|
|
5544
|
+
* main().catch(e => {
|
|
5545
|
+
* console.error(e);
|
|
5546
|
+
* throw e;
|
|
5547
|
+
* });
|
|
5548
|
+
*
|
|
5549
|
+
* ```
|
|
5220
5550
|
*
|
|
5221
5551
|
* @param params - Parameters for request
|
|
5222
5552
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|