@google-shopping/reports 0.13.1 → 0.15.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/build/protos/google/shopping/merchant/reports/v1/reports.proto +103 -18
- package/build/protos/google/shopping/type/types.proto +39 -3
- package/build/protos/protos.d.ts +248 -3
- package/build/protos/protos.js +3837 -1242
- package/build/protos/protos.json +87 -2
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/report_service_client.d.ts +6 -6
- package/build/src/v1/report_service_client.js +5 -5
- package/build/src/v1alpha/index.js +1 -1
- package/build/src/v1alpha/report_service_client.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/report_service_client.js +1 -1
- package/package.json +10 -2
package/build/protos/protos.json
CHANGED
|
@@ -148,6 +148,11 @@
|
|
|
148
148
|
"customerCountryCode"
|
|
149
149
|
]
|
|
150
150
|
},
|
|
151
|
+
"_storeType": {
|
|
152
|
+
"oneof": [
|
|
153
|
+
"storeType"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
151
156
|
"_offerId": {
|
|
152
157
|
"oneof": [
|
|
153
158
|
"offerId"
|
|
@@ -287,6 +292,13 @@
|
|
|
287
292
|
"proto3_optional": true
|
|
288
293
|
}
|
|
289
294
|
},
|
|
295
|
+
"storeType": {
|
|
296
|
+
"type": "StoreType.StoreTypeEnum",
|
|
297
|
+
"id": 32,
|
|
298
|
+
"options": {
|
|
299
|
+
"proto3_optional": true
|
|
300
|
+
}
|
|
301
|
+
},
|
|
290
302
|
"offerId": {
|
|
291
303
|
"type": "string",
|
|
292
304
|
"id": 5,
|
|
@@ -571,6 +583,11 @@
|
|
|
571
583
|
"aggregatedReportingContextStatus"
|
|
572
584
|
]
|
|
573
585
|
},
|
|
586
|
+
"_reportingContext": {
|
|
587
|
+
"oneof": [
|
|
588
|
+
"reportingContext"
|
|
589
|
+
]
|
|
590
|
+
},
|
|
574
591
|
"_clickPotentialRank": {
|
|
575
592
|
"oneof": [
|
|
576
593
|
"clickPotentialRank"
|
|
@@ -756,6 +773,18 @@
|
|
|
756
773
|
"proto3_optional": true
|
|
757
774
|
}
|
|
758
775
|
},
|
|
776
|
+
"statusPerReportingContext": {
|
|
777
|
+
"rule": "repeated",
|
|
778
|
+
"type": "StatusPerReportingContext",
|
|
779
|
+
"id": 32
|
|
780
|
+
},
|
|
781
|
+
"reportingContext": {
|
|
782
|
+
"type": "google.shopping.type.ReportingContext.ReportingContextEnum",
|
|
783
|
+
"id": 33,
|
|
784
|
+
"options": {
|
|
785
|
+
"proto3_optional": true
|
|
786
|
+
}
|
|
787
|
+
},
|
|
759
788
|
"itemIssues": {
|
|
760
789
|
"rule": "repeated",
|
|
761
790
|
"type": "ItemIssue",
|
|
@@ -900,6 +929,39 @@
|
|
|
900
929
|
}
|
|
901
930
|
}
|
|
902
931
|
},
|
|
932
|
+
"StatusPerReportingContext": {
|
|
933
|
+
"oneofs": {
|
|
934
|
+
"_reportingContext": {
|
|
935
|
+
"oneof": [
|
|
936
|
+
"reportingContext"
|
|
937
|
+
]
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"fields": {
|
|
941
|
+
"reportingContext": {
|
|
942
|
+
"type": "google.shopping.type.ReportingContext.ReportingContextEnum",
|
|
943
|
+
"id": 1,
|
|
944
|
+
"options": {
|
|
945
|
+
"proto3_optional": true
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"approvedCountries": {
|
|
949
|
+
"rule": "repeated",
|
|
950
|
+
"type": "string",
|
|
951
|
+
"id": 2
|
|
952
|
+
},
|
|
953
|
+
"disapprovedCountries": {
|
|
954
|
+
"rule": "repeated",
|
|
955
|
+
"type": "string",
|
|
956
|
+
"id": 3
|
|
957
|
+
},
|
|
958
|
+
"pendingCountries": {
|
|
959
|
+
"rule": "repeated",
|
|
960
|
+
"type": "string",
|
|
961
|
+
"id": 4
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
},
|
|
903
965
|
"AggregatedReportingContextStatus": {
|
|
904
966
|
"values": {
|
|
905
967
|
"AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED": 0,
|
|
@@ -2072,6 +2134,18 @@
|
|
|
2072
2134
|
}
|
|
2073
2135
|
}
|
|
2074
2136
|
},
|
|
2137
|
+
"StoreType": {
|
|
2138
|
+
"fields": {},
|
|
2139
|
+
"nested": {
|
|
2140
|
+
"StoreTypeEnum": {
|
|
2141
|
+
"values": {
|
|
2142
|
+
"STORE_TYPE_ENUM_UNSPECIFIED": 0,
|
|
2143
|
+
"ONLINE_STORE": 1,
|
|
2144
|
+
"LOCAL_STORES": 2
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2075
2149
|
"ReportGranularity": {
|
|
2076
2150
|
"fields": {},
|
|
2077
2151
|
"nested": {
|
|
@@ -6889,7 +6963,13 @@
|
|
|
6889
6963
|
"LOCAL_INVENTORY_ADS": 3,
|
|
6890
6964
|
"FREE_LISTINGS": 4,
|
|
6891
6965
|
"FREE_LOCAL_LISTINGS": 5,
|
|
6892
|
-
"YOUTUBE_SHOPPING": 6
|
|
6966
|
+
"YOUTUBE_SHOPPING": 6,
|
|
6967
|
+
"YOUTUBE_SHOPPING_CHECKOUT": 7,
|
|
6968
|
+
"YOUTUBE_AFFILIATE": 8,
|
|
6969
|
+
"FREE_VEHICLE_LISTINGS": 9,
|
|
6970
|
+
"VEHICLE_ADS": 10,
|
|
6971
|
+
"CLOUD_RETAIL": 11,
|
|
6972
|
+
"LOCAL_CLOUD_RETAIL": 12
|
|
6893
6973
|
}
|
|
6894
6974
|
}
|
|
6895
6975
|
}
|
|
@@ -6914,11 +6994,16 @@
|
|
|
6914
6994
|
"LOCAL_INVENTORY_ADS": 5,
|
|
6915
6995
|
"VEHICLE_INVENTORY_ADS": 6,
|
|
6916
6996
|
"FREE_LISTINGS": 7,
|
|
6997
|
+
"FREE_LISTINGS_UCP_CHECKOUT": 19,
|
|
6917
6998
|
"FREE_LOCAL_LISTINGS": 8,
|
|
6918
6999
|
"FREE_LOCAL_VEHICLE_LISTINGS": 9,
|
|
7000
|
+
"YOUTUBE_AFFILIATE": 18,
|
|
6919
7001
|
"YOUTUBE_SHOPPING": 10,
|
|
6920
7002
|
"CLOUD_RETAIL": 11,
|
|
6921
|
-
"LOCAL_CLOUD_RETAIL": 12
|
|
7003
|
+
"LOCAL_CLOUD_RETAIL": 12,
|
|
7004
|
+
"PRODUCT_REVIEWS": 15,
|
|
7005
|
+
"MERCHANT_REVIEWS": 16,
|
|
7006
|
+
"YOUTUBE_CHECKOUT": 17
|
|
6922
7007
|
}
|
|
6923
7008
|
}
|
|
6924
7009
|
}
|
package/build/src/index.js
CHANGED
package/build/src/v1/index.js
CHANGED
|
@@ -129,10 +129,10 @@ export declare class ReportServiceClient {
|
|
|
129
129
|
* For details on how to construct your query, see the [Query Language
|
|
130
130
|
* guide](/merchant/api/guides/reports/query-language). For the full list of
|
|
131
131
|
* available tables and fields, see the [Available
|
|
132
|
-
* fields]
|
|
132
|
+
* fields][google.shopping.merchant.reports.v1.ReportRow].
|
|
133
133
|
* @param {number} [request.pageSize]
|
|
134
134
|
* Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
|
|
135
|
-
* 1000. Values above
|
|
135
|
+
* 1000. Values above 100,000 are coerced to 100,000.
|
|
136
136
|
* @param {string} [request.pageToken]
|
|
137
137
|
* Optional. Token of the page to retrieve. If not specified, the first page
|
|
138
138
|
* of results is returned. In order to request the next page of results, the
|
|
@@ -170,10 +170,10 @@ export declare class ReportServiceClient {
|
|
|
170
170
|
* For details on how to construct your query, see the [Query Language
|
|
171
171
|
* guide](/merchant/api/guides/reports/query-language). For the full list of
|
|
172
172
|
* available tables and fields, see the [Available
|
|
173
|
-
* fields]
|
|
173
|
+
* fields][google.shopping.merchant.reports.v1.ReportRow].
|
|
174
174
|
* @param {number} [request.pageSize]
|
|
175
175
|
* Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
|
|
176
|
-
* 1000. Values above
|
|
176
|
+
* 1000. Values above 100,000 are coerced to 100,000.
|
|
177
177
|
* @param {string} [request.pageToken]
|
|
178
178
|
* Optional. Token of the page to retrieve. If not specified, the first page
|
|
179
179
|
* of results is returned. In order to request the next page of results, the
|
|
@@ -206,10 +206,10 @@ export declare class ReportServiceClient {
|
|
|
206
206
|
* For details on how to construct your query, see the [Query Language
|
|
207
207
|
* guide](/merchant/api/guides/reports/query-language). For the full list of
|
|
208
208
|
* available tables and fields, see the [Available
|
|
209
|
-
* fields]
|
|
209
|
+
* fields][google.shopping.merchant.reports.v1.ReportRow].
|
|
210
210
|
* @param {number} [request.pageSize]
|
|
211
211
|
* Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
|
|
212
|
-
* 1000. Values above
|
|
212
|
+
* 1000. Values above 100,000 are coerced to 100,000.
|
|
213
213
|
* @param {string} [request.pageToken]
|
|
214
214
|
* Optional. Token of the page to retrieve. If not specified, the first page
|
|
215
215
|
* of results is returned. In order to request the next page of results, the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2026 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -317,10 +317,10 @@ class ReportServiceClient {
|
|
|
317
317
|
* For details on how to construct your query, see the [Query Language
|
|
318
318
|
* guide](/merchant/api/guides/reports/query-language). For the full list of
|
|
319
319
|
* available tables and fields, see the [Available
|
|
320
|
-
* fields]
|
|
320
|
+
* fields][google.shopping.merchant.reports.v1.ReportRow].
|
|
321
321
|
* @param {number} [request.pageSize]
|
|
322
322
|
* Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
|
|
323
|
-
* 1000. Values above
|
|
323
|
+
* 1000. Values above 100,000 are coerced to 100,000.
|
|
324
324
|
* @param {string} [request.pageToken]
|
|
325
325
|
* Optional. Token of the page to retrieve. If not specified, the first page
|
|
326
326
|
* of results is returned. In order to request the next page of results, the
|
|
@@ -366,10 +366,10 @@ class ReportServiceClient {
|
|
|
366
366
|
* For details on how to construct your query, see the [Query Language
|
|
367
367
|
* guide](/merchant/api/guides/reports/query-language). For the full list of
|
|
368
368
|
* available tables and fields, see the [Available
|
|
369
|
-
* fields]
|
|
369
|
+
* fields][google.shopping.merchant.reports.v1.ReportRow].
|
|
370
370
|
* @param {number} [request.pageSize]
|
|
371
371
|
* Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
|
|
372
|
-
* 1000. Values above
|
|
372
|
+
* 1000. Values above 100,000 are coerced to 100,000.
|
|
373
373
|
* @param {string} [request.pageToken]
|
|
374
374
|
* Optional. Token of the page to retrieve. If not specified, the first page
|
|
375
375
|
* of results is returned. In order to request the next page of results, the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-shopping/reports",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Merchant API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,10 +61,18 @@
|
|
|
61
61
|
"long": "^5.3.1",
|
|
62
62
|
"mocha": "^11.1.0",
|
|
63
63
|
"pack-n-play": "^3.0.0",
|
|
64
|
-
"sinon": "
|
|
64
|
+
"sinon": "21.0.3",
|
|
65
65
|
"typescript": "^5.8.2"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=18"
|
|
69
|
+
},
|
|
70
|
+
"overrides": {
|
|
71
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
72
|
+
},
|
|
73
|
+
"pnpm": {
|
|
74
|
+
"overrides": {
|
|
75
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|