@googleapis/searchads360 7.0.1 → 8.0.1
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 +26 -0
- package/build/v0.d.ts +326 -0
- package/build/v0.js.map +1 -1
- package/package.json +1 -1
- package/v0.ts +326 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [8.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v8.0.0...searchads360-v8.0.1) (2025-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **searchads360:** update the API ([6e11bcc](https://github.com/googleapis/google-api-nodejs-client/commit/6e11bcc04fce4807531322b7ceb7901ad6d53d31))
|
|
9
|
+
* **searchads360:** update the API ([8e46b01](https://github.com/googleapis/google-api-nodejs-client/commit/8e46b01460a5d34ca2651ff659b7c4c436ad9cdb))
|
|
10
|
+
|
|
11
|
+
## [8.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v7.0.1...searchads360-v8.0.0) (2025-06-30)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ⚠ BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* upgrade to node 18
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **searchads360:** update the API ([07726ff](https://github.com/googleapis/google-api-nodejs-client/commit/07726ff93e1fe65944ea3c0ca64c684c8f416cda))
|
|
21
|
+
* upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
|
|
27
|
+
* **searchads360:** update the API ([8e46b01](https://github.com/googleapis/google-api-nodejs-client/commit/8e46b01460a5d34ca2651ff659b7c4c436ad9cdb))
|
|
28
|
+
|
|
3
29
|
## [7.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/searchads360-v7.0.0...searchads360-v7.0.1) (2025-06-04)
|
|
4
30
|
|
|
5
31
|
|
package/build/v0.d.ts
CHANGED
|
@@ -4608,6 +4608,49 @@ export declare namespace searchads360_v0 {
|
|
|
4608
4608
|
constructor(context: APIRequestContext);
|
|
4609
4609
|
/**
|
|
4610
4610
|
* Returns resource names of customers directly accessible by the user authenticating the call. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
4611
|
+
* @example
|
|
4612
|
+
* ```js
|
|
4613
|
+
* // Before running the sample:
|
|
4614
|
+
* // - Enable the API at:
|
|
4615
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4616
|
+
* // - Login into gcloud by running:
|
|
4617
|
+
* // ```sh
|
|
4618
|
+
* // $ gcloud auth application-default login
|
|
4619
|
+
* // ```
|
|
4620
|
+
* // - Install the npm module by running:
|
|
4621
|
+
* // ```sh
|
|
4622
|
+
* // $ npm install googleapis
|
|
4623
|
+
* // ```
|
|
4624
|
+
*
|
|
4625
|
+
* const {google} = require('googleapis');
|
|
4626
|
+
* const searchads360 = google.searchads360('v0');
|
|
4627
|
+
*
|
|
4628
|
+
* async function main() {
|
|
4629
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4630
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4631
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4632
|
+
* });
|
|
4633
|
+
*
|
|
4634
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4635
|
+
* const authClient = await auth.getClient();
|
|
4636
|
+
* google.options({auth: authClient});
|
|
4637
|
+
*
|
|
4638
|
+
* // Do the magic
|
|
4639
|
+
* const res = await searchads360.customers.listAccessibleCustomers({});
|
|
4640
|
+
* console.log(res.data);
|
|
4641
|
+
*
|
|
4642
|
+
* // Example response
|
|
4643
|
+
* // {
|
|
4644
|
+
* // "resourceNames": []
|
|
4645
|
+
* // }
|
|
4646
|
+
* }
|
|
4647
|
+
*
|
|
4648
|
+
* main().catch(e => {
|
|
4649
|
+
* console.error(e);
|
|
4650
|
+
* throw e;
|
|
4651
|
+
* });
|
|
4652
|
+
*
|
|
4653
|
+
* ```
|
|
4611
4654
|
*
|
|
4612
4655
|
* @param params - Parameters for request
|
|
4613
4656
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4628,6 +4671,61 @@ export declare namespace searchads360_v0 {
|
|
|
4628
4671
|
constructor(context: APIRequestContext);
|
|
4629
4672
|
/**
|
|
4630
4673
|
* Returns the requested custom column in full detail.
|
|
4674
|
+
* @example
|
|
4675
|
+
* ```js
|
|
4676
|
+
* // Before running the sample:
|
|
4677
|
+
* // - Enable the API at:
|
|
4678
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4679
|
+
* // - Login into gcloud by running:
|
|
4680
|
+
* // ```sh
|
|
4681
|
+
* // $ gcloud auth application-default login
|
|
4682
|
+
* // ```
|
|
4683
|
+
* // - Install the npm module by running:
|
|
4684
|
+
* // ```sh
|
|
4685
|
+
* // $ npm install googleapis
|
|
4686
|
+
* // ```
|
|
4687
|
+
*
|
|
4688
|
+
* const {google} = require('googleapis');
|
|
4689
|
+
* const searchads360 = google.searchads360('v0');
|
|
4690
|
+
*
|
|
4691
|
+
* async function main() {
|
|
4692
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4693
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4694
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4695
|
+
* });
|
|
4696
|
+
*
|
|
4697
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4698
|
+
* const authClient = await auth.getClient();
|
|
4699
|
+
* google.options({auth: authClient});
|
|
4700
|
+
*
|
|
4701
|
+
* // Do the magic
|
|
4702
|
+
* const res = await searchads360.customers.customColumns.get({
|
|
4703
|
+
* // Required. The resource name of the custom column to fetch.
|
|
4704
|
+
* resourceName: 'customers/my-customer/customColumns/my-customColumn',
|
|
4705
|
+
* });
|
|
4706
|
+
* console.log(res.data);
|
|
4707
|
+
*
|
|
4708
|
+
* // Example response
|
|
4709
|
+
* // {
|
|
4710
|
+
* // "description": "my_description",
|
|
4711
|
+
* // "id": "my_id",
|
|
4712
|
+
* // "name": "my_name",
|
|
4713
|
+
* // "queryable": false,
|
|
4714
|
+
* // "referencedSystemColumns": [],
|
|
4715
|
+
* // "referencesAttributes": false,
|
|
4716
|
+
* // "referencesMetrics": false,
|
|
4717
|
+
* // "renderType": "my_renderType",
|
|
4718
|
+
* // "resourceName": "my_resourceName",
|
|
4719
|
+
* // "valueType": "my_valueType"
|
|
4720
|
+
* // }
|
|
4721
|
+
* }
|
|
4722
|
+
*
|
|
4723
|
+
* main().catch(e => {
|
|
4724
|
+
* console.error(e);
|
|
4725
|
+
* throw e;
|
|
4726
|
+
* });
|
|
4727
|
+
*
|
|
4728
|
+
* ```
|
|
4631
4729
|
*
|
|
4632
4730
|
* @param params - Parameters for request
|
|
4633
4731
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4642,6 +4740,52 @@ export declare namespace searchads360_v0 {
|
|
|
4642
4740
|
get(callback: BodyResponseCallback<Schema$GoogleAdsSearchads360V0Resources__CustomColumn>): void;
|
|
4643
4741
|
/**
|
|
4644
4742
|
* Returns all the custom columns associated with the customer in full detail.
|
|
4743
|
+
* @example
|
|
4744
|
+
* ```js
|
|
4745
|
+
* // Before running the sample:
|
|
4746
|
+
* // - Enable the API at:
|
|
4747
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4748
|
+
* // - Login into gcloud by running:
|
|
4749
|
+
* // ```sh
|
|
4750
|
+
* // $ gcloud auth application-default login
|
|
4751
|
+
* // ```
|
|
4752
|
+
* // - Install the npm module by running:
|
|
4753
|
+
* // ```sh
|
|
4754
|
+
* // $ npm install googleapis
|
|
4755
|
+
* // ```
|
|
4756
|
+
*
|
|
4757
|
+
* const {google} = require('googleapis');
|
|
4758
|
+
* const searchads360 = google.searchads360('v0');
|
|
4759
|
+
*
|
|
4760
|
+
* async function main() {
|
|
4761
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4762
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4763
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4764
|
+
* });
|
|
4765
|
+
*
|
|
4766
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4767
|
+
* const authClient = await auth.getClient();
|
|
4768
|
+
* google.options({auth: authClient});
|
|
4769
|
+
*
|
|
4770
|
+
* // Do the magic
|
|
4771
|
+
* const res = await searchads360.customers.customColumns.list({
|
|
4772
|
+
* // Required. The ID of the customer to apply the CustomColumn list operation to.
|
|
4773
|
+
* customerId: '[^/]+',
|
|
4774
|
+
* });
|
|
4775
|
+
* console.log(res.data);
|
|
4776
|
+
*
|
|
4777
|
+
* // Example response
|
|
4778
|
+
* // {
|
|
4779
|
+
* // "customColumns": []
|
|
4780
|
+
* // }
|
|
4781
|
+
* }
|
|
4782
|
+
*
|
|
4783
|
+
* main().catch(e => {
|
|
4784
|
+
* console.error(e);
|
|
4785
|
+
* throw e;
|
|
4786
|
+
* });
|
|
4787
|
+
*
|
|
4788
|
+
* ```
|
|
4645
4789
|
*
|
|
4646
4790
|
* @param params - Parameters for request
|
|
4647
4791
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4672,6 +4816,74 @@ export declare namespace searchads360_v0 {
|
|
|
4672
4816
|
constructor(context: APIRequestContext);
|
|
4673
4817
|
/**
|
|
4674
4818
|
* Returns all rows that match the search query. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QueryError]() [QuotaError]() [RequestError]()
|
|
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.searchAds360.search({
|
|
4848
|
+
* // Required. The ID of the customer being queried.
|
|
4849
|
+
* customerId: '[^/]+',
|
|
4850
|
+
*
|
|
4851
|
+
* // Request body metadata
|
|
4852
|
+
* requestBody: {
|
|
4853
|
+
* // request body parameters
|
|
4854
|
+
* // {
|
|
4855
|
+
* // "pageSize": 0,
|
|
4856
|
+
* // "pageToken": "my_pageToken",
|
|
4857
|
+
* // "query": "my_query",
|
|
4858
|
+
* // "returnTotalResultsCount": false,
|
|
4859
|
+
* // "summaryRowSetting": "my_summaryRowSetting",
|
|
4860
|
+
* // "validateOnly": false
|
|
4861
|
+
* // }
|
|
4862
|
+
* },
|
|
4863
|
+
* });
|
|
4864
|
+
* console.log(res.data);
|
|
4865
|
+
*
|
|
4866
|
+
* // Example response
|
|
4867
|
+
* // {
|
|
4868
|
+
* // "conversionCustomDimensionHeaders": [],
|
|
4869
|
+
* // "conversionCustomMetricHeaders": [],
|
|
4870
|
+
* // "customColumnHeaders": [],
|
|
4871
|
+
* // "fieldMask": "my_fieldMask",
|
|
4872
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
4873
|
+
* // "rawEventConversionDimensionHeaders": [],
|
|
4874
|
+
* // "rawEventConversionMetricHeaders": [],
|
|
4875
|
+
* // "results": [],
|
|
4876
|
+
* // "summaryRow": {},
|
|
4877
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
4878
|
+
* // }
|
|
4879
|
+
* }
|
|
4880
|
+
*
|
|
4881
|
+
* main().catch(e => {
|
|
4882
|
+
* console.error(e);
|
|
4883
|
+
* throw e;
|
|
4884
|
+
* });
|
|
4885
|
+
*
|
|
4886
|
+
* ```
|
|
4675
4887
|
*
|
|
4676
4888
|
* @param params - Parameters for request
|
|
4677
4889
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4700,6 +4912,65 @@ export declare namespace searchads360_v0 {
|
|
|
4700
4912
|
constructor(context: APIRequestContext);
|
|
4701
4913
|
/**
|
|
4702
4914
|
* Returns just the requested field. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
|
|
4915
|
+
* @example
|
|
4916
|
+
* ```js
|
|
4917
|
+
* // Before running the sample:
|
|
4918
|
+
* // - Enable the API at:
|
|
4919
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4920
|
+
* // - Login into gcloud by running:
|
|
4921
|
+
* // ```sh
|
|
4922
|
+
* // $ gcloud auth application-default login
|
|
4923
|
+
* // ```
|
|
4924
|
+
* // - Install the npm module by running:
|
|
4925
|
+
* // ```sh
|
|
4926
|
+
* // $ npm install googleapis
|
|
4927
|
+
* // ```
|
|
4928
|
+
*
|
|
4929
|
+
* const {google} = require('googleapis');
|
|
4930
|
+
* const searchads360 = google.searchads360('v0');
|
|
4931
|
+
*
|
|
4932
|
+
* async function main() {
|
|
4933
|
+
* const auth = new google.auth.GoogleAuth({
|
|
4934
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4935
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
4936
|
+
* });
|
|
4937
|
+
*
|
|
4938
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
4939
|
+
* const authClient = await auth.getClient();
|
|
4940
|
+
* google.options({auth: authClient});
|
|
4941
|
+
*
|
|
4942
|
+
* // Do the magic
|
|
4943
|
+
* const res = await searchads360.searchAds360Fields.get({
|
|
4944
|
+
* // Required. The resource name of the field to get.
|
|
4945
|
+
* resourceName: 'searchAds360Fields/my-searchAds360Field',
|
|
4946
|
+
* });
|
|
4947
|
+
* console.log(res.data);
|
|
4948
|
+
*
|
|
4949
|
+
* // Example response
|
|
4950
|
+
* // {
|
|
4951
|
+
* // "attributeResources": [],
|
|
4952
|
+
* // "category": "my_category",
|
|
4953
|
+
* // "dataType": "my_dataType",
|
|
4954
|
+
* // "enumValues": [],
|
|
4955
|
+
* // "filterable": false,
|
|
4956
|
+
* // "isRepeated": false,
|
|
4957
|
+
* // "metrics": [],
|
|
4958
|
+
* // "name": "my_name",
|
|
4959
|
+
* // "resourceName": "my_resourceName",
|
|
4960
|
+
* // "segments": [],
|
|
4961
|
+
* // "selectable": false,
|
|
4962
|
+
* // "selectableWith": [],
|
|
4963
|
+
* // "sortable": false,
|
|
4964
|
+
* // "typeUrl": "my_typeUrl"
|
|
4965
|
+
* // }
|
|
4966
|
+
* }
|
|
4967
|
+
*
|
|
4968
|
+
* main().catch(e => {
|
|
4969
|
+
* console.error(e);
|
|
4970
|
+
* throw e;
|
|
4971
|
+
* });
|
|
4972
|
+
*
|
|
4973
|
+
* ```
|
|
4703
4974
|
*
|
|
4704
4975
|
* @param params - Parameters for request
|
|
4705
4976
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -4714,6 +4985,61 @@ export declare namespace searchads360_v0 {
|
|
|
4714
4985
|
get(callback: BodyResponseCallback<Schema$GoogleAdsSearchads360V0Resources__SearchAds360Field>): void;
|
|
4715
4986
|
/**
|
|
4716
4987
|
* 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]()
|
|
4988
|
+
* @example
|
|
4989
|
+
* ```js
|
|
4990
|
+
* // Before running the sample:
|
|
4991
|
+
* // - Enable the API at:
|
|
4992
|
+
* // https://console.developers.google.com/apis/api/searchads360.googleapis.com
|
|
4993
|
+
* // - Login into gcloud by running:
|
|
4994
|
+
* // ```sh
|
|
4995
|
+
* // $ gcloud auth application-default login
|
|
4996
|
+
* // ```
|
|
4997
|
+
* // - Install the npm module by running:
|
|
4998
|
+
* // ```sh
|
|
4999
|
+
* // $ npm install googleapis
|
|
5000
|
+
* // ```
|
|
5001
|
+
*
|
|
5002
|
+
* const {google} = require('googleapis');
|
|
5003
|
+
* const searchads360 = google.searchads360('v0');
|
|
5004
|
+
*
|
|
5005
|
+
* async function main() {
|
|
5006
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5007
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5008
|
+
* scopes: ['https://www.googleapis.com/auth/doubleclicksearch'],
|
|
5009
|
+
* });
|
|
5010
|
+
*
|
|
5011
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5012
|
+
* const authClient = await auth.getClient();
|
|
5013
|
+
* google.options({auth: authClient});
|
|
5014
|
+
*
|
|
5015
|
+
* // Do the magic
|
|
5016
|
+
* const res = await searchads360.searchAds360Fields.search({
|
|
5017
|
+
* // Request body metadata
|
|
5018
|
+
* requestBody: {
|
|
5019
|
+
* // request body parameters
|
|
5020
|
+
* // {
|
|
5021
|
+
* // "pageSize": 0,
|
|
5022
|
+
* // "pageToken": "my_pageToken",
|
|
5023
|
+
* // "query": "my_query"
|
|
5024
|
+
* // }
|
|
5025
|
+
* },
|
|
5026
|
+
* });
|
|
5027
|
+
* console.log(res.data);
|
|
5028
|
+
*
|
|
5029
|
+
* // Example response
|
|
5030
|
+
* // {
|
|
5031
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5032
|
+
* // "results": [],
|
|
5033
|
+
* // "totalResultsCount": "my_totalResultsCount"
|
|
5034
|
+
* // }
|
|
5035
|
+
* }
|
|
5036
|
+
*
|
|
5037
|
+
* main().catch(e => {
|
|
5038
|
+
* console.error(e);
|
|
5039
|
+
* throw e;
|
|
5040
|
+
* });
|
|
5041
|
+
*
|
|
5042
|
+
* ```
|
|
4717
5043
|
*
|
|
4718
5044
|
* @param params - Parameters for request
|
|
4719
5045
|
* @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,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,CAAC;aACH;QACH,CAAC;KACF;IAjUY,2CAA2B,8BAiUvC,CAAA;AAgBH,CAAC,EAt/KgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAs/K/B"}
|
package/package.json
CHANGED
package/v0.ts
CHANGED
|
@@ -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`.
|