@google-shopping/reports 0.13.1 → 0.14.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.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -79,7 +79,6 @@ message CustomAttribute {
79
79
  //
80
80
  // Destinations are used in Merchant Center to allow you to control where the
81
81
  // products from your data feed should be displayed.
82
- //
83
82
  message Destination {
84
83
  // Destination values.
85
84
  enum DestinationEnum {
@@ -105,6 +104,25 @@ message Destination {
105
104
 
106
105
  // [YouTube Shopping](https://support.google.com/merchants/answer/12362804).
107
106
  YOUTUBE_SHOPPING = 6;
107
+
108
+ // Youtube shopping checkout.
109
+ YOUTUBE_SHOPPING_CHECKOUT = 7;
110
+
111
+ // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
112
+ YOUTUBE_AFFILIATE = 8;
113
+
114
+ // [Free vehicle
115
+ // listings](https://support.google.com/merchants/answer/11189169).
116
+ FREE_VEHICLE_LISTINGS = 9;
117
+
118
+ // [Vehicle ads](https://support.google.com/merchants/answer/11189169).
119
+ VEHICLE_ADS = 10;
120
+
121
+ // [Cloud retail](https://cloud.google.com/solutions/retail).
122
+ CLOUD_RETAIL = 11;
123
+
124
+ // [Local cloud retail](https://cloud.google.com/solutions/retail).
125
+ LOCAL_CLOUD_RETAIL = 12;
108
126
  }
109
127
  }
110
128
 
@@ -115,7 +133,6 @@ message Destination {
115
133
  // ads](https://support.google.com/merchants/answer/6149970)) or a subset of
116
134
  // formats within a destination (for example, [Demand Gen
117
135
  // ads](https://support.google.com/merchants/answer/13389785)).
118
- //
119
136
  message ReportingContext {
120
137
  // Reporting context values.
121
138
  enum ReportingContextEnum {
@@ -155,6 +172,10 @@ message ReportingContext {
155
172
  // listings](https://support.google.com/merchants/answer/9199328).
156
173
  FREE_LISTINGS = 7;
157
174
 
175
+ // [Free product listings on UCP
176
+ // checkout](https://developers.google.com/merchant/ucp).
177
+ FREE_LISTINGS_UCP_CHECKOUT = 19;
178
+
158
179
  // [Free local product
159
180
  // listings](https://support.google.com/merchants/answer/9825611).
160
181
  FREE_LOCAL_LISTINGS = 8;
@@ -163,6 +184,9 @@ message ReportingContext {
163
184
  // listings](https://support.google.com/merchants/answer/11544533).
164
185
  FREE_LOCAL_VEHICLE_LISTINGS = 9;
165
186
 
187
+ // [Youtube Affiliate](https://support.google.com/youtube/answer/13376398).
188
+ YOUTUBE_AFFILIATE = 18;
189
+
166
190
  // [YouTube
167
191
  // Shopping](https://support.google.com/merchants/answer/13478370).
168
192
  YOUTUBE_SHOPPING = 10;
@@ -172,6 +196,18 @@ message ReportingContext {
172
196
 
173
197
  // [Local cloud retail](https://cloud.google.com/solutions/retail).
174
198
  LOCAL_CLOUD_RETAIL = 12;
199
+
200
+ // [Product
201
+ // Reviews](https://support.google.com/merchants/answer/14620732).
202
+ PRODUCT_REVIEWS = 15;
203
+
204
+ // [Merchant
205
+ // Reviews](https://developers.google.com/merchant-review-feeds).
206
+ MERCHANT_REVIEWS = 16;
207
+
208
+ // YouTube Checkout
209
+ // .
210
+ YOUTUBE_CHECKOUT = 17;
175
211
  }
176
212
  }
177
213
 
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -10735,7 +10735,13 @@ export namespace google {
10735
10735
  LOCAL_INVENTORY_ADS = 3,
10736
10736
  FREE_LISTINGS = 4,
10737
10737
  FREE_LOCAL_LISTINGS = 5,
10738
- YOUTUBE_SHOPPING = 6
10738
+ YOUTUBE_SHOPPING = 6,
10739
+ YOUTUBE_SHOPPING_CHECKOUT = 7,
10740
+ YOUTUBE_AFFILIATE = 8,
10741
+ FREE_VEHICLE_LISTINGS = 9,
10742
+ VEHICLE_ADS = 10,
10743
+ CLOUD_RETAIL = 11,
10744
+ LOCAL_CLOUD_RETAIL = 12
10739
10745
  }
10740
10746
  }
10741
10747
 
@@ -10844,11 +10850,16 @@ export namespace google {
10844
10850
  LOCAL_INVENTORY_ADS = 5,
10845
10851
  VEHICLE_INVENTORY_ADS = 6,
10846
10852
  FREE_LISTINGS = 7,
10853
+ FREE_LISTINGS_UCP_CHECKOUT = 19,
10847
10854
  FREE_LOCAL_LISTINGS = 8,
10848
10855
  FREE_LOCAL_VEHICLE_LISTINGS = 9,
10856
+ YOUTUBE_AFFILIATE = 18,
10849
10857
  YOUTUBE_SHOPPING = 10,
10850
10858
  CLOUD_RETAIL = 11,
10851
- LOCAL_CLOUD_RETAIL = 12
10859
+ LOCAL_CLOUD_RETAIL = 12,
10860
+ PRODUCT_REVIEWS = 15,
10861
+ MERCHANT_REVIEWS = 16,
10862
+ YOUTUBE_CHECKOUT = 17
10852
10863
  }
10853
10864
  }
10854
10865
 
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -4569,11 +4569,16 @@
4569
4569
  case 5:
4570
4570
  case 6:
4571
4571
  case 7:
4572
+ case 19:
4572
4573
  case 8:
4573
4574
  case 9:
4575
+ case 18:
4574
4576
  case 10:
4575
4577
  case 11:
4576
4578
  case 12:
4579
+ case 15:
4580
+ case 16:
4581
+ case 17:
4577
4582
  break;
4578
4583
  }
4579
4584
  }
@@ -4653,6 +4658,10 @@
4653
4658
  case 7:
4654
4659
  message.reportingContext = 7;
4655
4660
  break;
4661
+ case "FREE_LISTINGS_UCP_CHECKOUT":
4662
+ case 19:
4663
+ message.reportingContext = 19;
4664
+ break;
4656
4665
  case "FREE_LOCAL_LISTINGS":
4657
4666
  case 8:
4658
4667
  message.reportingContext = 8;
@@ -4661,6 +4670,10 @@
4661
4670
  case 9:
4662
4671
  message.reportingContext = 9;
4663
4672
  break;
4673
+ case "YOUTUBE_AFFILIATE":
4674
+ case 18:
4675
+ message.reportingContext = 18;
4676
+ break;
4664
4677
  case "YOUTUBE_SHOPPING":
4665
4678
  case 10:
4666
4679
  message.reportingContext = 10;
@@ -4673,6 +4686,18 @@
4673
4686
  case 12:
4674
4687
  message.reportingContext = 12;
4675
4688
  break;
4689
+ case "PRODUCT_REVIEWS":
4690
+ case 15:
4691
+ message.reportingContext = 15;
4692
+ break;
4693
+ case "MERCHANT_REVIEWS":
4694
+ case 16:
4695
+ message.reportingContext = 16;
4696
+ break;
4697
+ case "YOUTUBE_CHECKOUT":
4698
+ case 17:
4699
+ message.reportingContext = 17;
4700
+ break;
4676
4701
  }
4677
4702
  if (object.disapprovedCountries) {
4678
4703
  if (!Array.isArray(object.disapprovedCountries))
@@ -15670,11 +15695,16 @@
15670
15695
  case 5:
15671
15696
  case 6:
15672
15697
  case 7:
15698
+ case 19:
15673
15699
  case 8:
15674
15700
  case 9:
15701
+ case 18:
15675
15702
  case 10:
15676
15703
  case 11:
15677
15704
  case 12:
15705
+ case 15:
15706
+ case 16:
15707
+ case 17:
15678
15708
  break;
15679
15709
  }
15680
15710
  }
@@ -15754,6 +15784,10 @@
15754
15784
  case 7:
15755
15785
  message.reportingContext = 7;
15756
15786
  break;
15787
+ case "FREE_LISTINGS_UCP_CHECKOUT":
15788
+ case 19:
15789
+ message.reportingContext = 19;
15790
+ break;
15757
15791
  case "FREE_LOCAL_LISTINGS":
15758
15792
  case 8:
15759
15793
  message.reportingContext = 8;
@@ -15762,6 +15796,10 @@
15762
15796
  case 9:
15763
15797
  message.reportingContext = 9;
15764
15798
  break;
15799
+ case "YOUTUBE_AFFILIATE":
15800
+ case 18:
15801
+ message.reportingContext = 18;
15802
+ break;
15765
15803
  case "YOUTUBE_SHOPPING":
15766
15804
  case 10:
15767
15805
  message.reportingContext = 10;
@@ -15774,6 +15812,18 @@
15774
15812
  case 12:
15775
15813
  message.reportingContext = 12;
15776
15814
  break;
15815
+ case "PRODUCT_REVIEWS":
15816
+ case 15:
15817
+ message.reportingContext = 15;
15818
+ break;
15819
+ case "MERCHANT_REVIEWS":
15820
+ case 16:
15821
+ message.reportingContext = 16;
15822
+ break;
15823
+ case "YOUTUBE_CHECKOUT":
15824
+ case 17:
15825
+ message.reportingContext = 17;
15826
+ break;
15777
15827
  }
15778
15828
  if (object.disapprovedCountries) {
15779
15829
  if (!Array.isArray(object.disapprovedCountries))
@@ -28543,11 +28593,16 @@
28543
28593
  case 5:
28544
28594
  case 6:
28545
28595
  case 7:
28596
+ case 19:
28546
28597
  case 8:
28547
28598
  case 9:
28599
+ case 18:
28548
28600
  case 10:
28549
28601
  case 11:
28550
28602
  case 12:
28603
+ case 15:
28604
+ case 16:
28605
+ case 17:
28551
28606
  break;
28552
28607
  }
28553
28608
  }
@@ -28627,6 +28682,10 @@
28627
28682
  case 7:
28628
28683
  message.reportingContext = 7;
28629
28684
  break;
28685
+ case "FREE_LISTINGS_UCP_CHECKOUT":
28686
+ case 19:
28687
+ message.reportingContext = 19;
28688
+ break;
28630
28689
  case "FREE_LOCAL_LISTINGS":
28631
28690
  case 8:
28632
28691
  message.reportingContext = 8;
@@ -28635,6 +28694,10 @@
28635
28694
  case 9:
28636
28695
  message.reportingContext = 9;
28637
28696
  break;
28697
+ case "YOUTUBE_AFFILIATE":
28698
+ case 18:
28699
+ message.reportingContext = 18;
28700
+ break;
28638
28701
  case "YOUTUBE_SHOPPING":
28639
28702
  case 10:
28640
28703
  message.reportingContext = 10;
@@ -28647,6 +28710,18 @@
28647
28710
  case 12:
28648
28711
  message.reportingContext = 12;
28649
28712
  break;
28713
+ case "PRODUCT_REVIEWS":
28714
+ case 15:
28715
+ message.reportingContext = 15;
28716
+ break;
28717
+ case "MERCHANT_REVIEWS":
28718
+ case 16:
28719
+ message.reportingContext = 16;
28720
+ break;
28721
+ case "YOUTUBE_CHECKOUT":
28722
+ case 17:
28723
+ message.reportingContext = 17;
28724
+ break;
28650
28725
  }
28651
28726
  if (object.disapprovedCountries) {
28652
28727
  if (!Array.isArray(object.disapprovedCountries))
@@ -36106,6 +36181,12 @@
36106
36181
  * @property {number} FREE_LISTINGS=4 FREE_LISTINGS value
36107
36182
  * @property {number} FREE_LOCAL_LISTINGS=5 FREE_LOCAL_LISTINGS value
36108
36183
  * @property {number} YOUTUBE_SHOPPING=6 YOUTUBE_SHOPPING value
36184
+ * @property {number} YOUTUBE_SHOPPING_CHECKOUT=7 YOUTUBE_SHOPPING_CHECKOUT value
36185
+ * @property {number} YOUTUBE_AFFILIATE=8 YOUTUBE_AFFILIATE value
36186
+ * @property {number} FREE_VEHICLE_LISTINGS=9 FREE_VEHICLE_LISTINGS value
36187
+ * @property {number} VEHICLE_ADS=10 VEHICLE_ADS value
36188
+ * @property {number} CLOUD_RETAIL=11 CLOUD_RETAIL value
36189
+ * @property {number} LOCAL_CLOUD_RETAIL=12 LOCAL_CLOUD_RETAIL value
36109
36190
  */
36110
36191
  Destination.DestinationEnum = (function() {
36111
36192
  var valuesById = {}, values = Object.create(valuesById);
@@ -36116,6 +36197,12 @@
36116
36197
  values[valuesById[4] = "FREE_LISTINGS"] = 4;
36117
36198
  values[valuesById[5] = "FREE_LOCAL_LISTINGS"] = 5;
36118
36199
  values[valuesById[6] = "YOUTUBE_SHOPPING"] = 6;
36200
+ values[valuesById[7] = "YOUTUBE_SHOPPING_CHECKOUT"] = 7;
36201
+ values[valuesById[8] = "YOUTUBE_AFFILIATE"] = 8;
36202
+ values[valuesById[9] = "FREE_VEHICLE_LISTINGS"] = 9;
36203
+ values[valuesById[10] = "VEHICLE_ADS"] = 10;
36204
+ values[valuesById[11] = "CLOUD_RETAIL"] = 11;
36205
+ values[valuesById[12] = "LOCAL_CLOUD_RETAIL"] = 12;
36119
36206
  return values;
36120
36207
  })();
36121
36208
 
@@ -36310,11 +36397,16 @@
36310
36397
  * @property {number} LOCAL_INVENTORY_ADS=5 LOCAL_INVENTORY_ADS value
36311
36398
  * @property {number} VEHICLE_INVENTORY_ADS=6 VEHICLE_INVENTORY_ADS value
36312
36399
  * @property {number} FREE_LISTINGS=7 FREE_LISTINGS value
36400
+ * @property {number} FREE_LISTINGS_UCP_CHECKOUT=19 FREE_LISTINGS_UCP_CHECKOUT value
36313
36401
  * @property {number} FREE_LOCAL_LISTINGS=8 FREE_LOCAL_LISTINGS value
36314
36402
  * @property {number} FREE_LOCAL_VEHICLE_LISTINGS=9 FREE_LOCAL_VEHICLE_LISTINGS value
36403
+ * @property {number} YOUTUBE_AFFILIATE=18 YOUTUBE_AFFILIATE value
36315
36404
  * @property {number} YOUTUBE_SHOPPING=10 YOUTUBE_SHOPPING value
36316
36405
  * @property {number} CLOUD_RETAIL=11 CLOUD_RETAIL value
36317
36406
  * @property {number} LOCAL_CLOUD_RETAIL=12 LOCAL_CLOUD_RETAIL value
36407
+ * @property {number} PRODUCT_REVIEWS=15 PRODUCT_REVIEWS value
36408
+ * @property {number} MERCHANT_REVIEWS=16 MERCHANT_REVIEWS value
36409
+ * @property {number} YOUTUBE_CHECKOUT=17 YOUTUBE_CHECKOUT value
36318
36410
  */
36319
36411
  ReportingContext.ReportingContextEnum = (function() {
36320
36412
  var valuesById = {}, values = Object.create(valuesById);
@@ -36328,11 +36420,16 @@
36328
36420
  values[valuesById[5] = "LOCAL_INVENTORY_ADS"] = 5;
36329
36421
  values[valuesById[6] = "VEHICLE_INVENTORY_ADS"] = 6;
36330
36422
  values[valuesById[7] = "FREE_LISTINGS"] = 7;
36423
+ values[valuesById[19] = "FREE_LISTINGS_UCP_CHECKOUT"] = 19;
36331
36424
  values[valuesById[8] = "FREE_LOCAL_LISTINGS"] = 8;
36332
36425
  values[valuesById[9] = "FREE_LOCAL_VEHICLE_LISTINGS"] = 9;
36426
+ values[valuesById[18] = "YOUTUBE_AFFILIATE"] = 18;
36333
36427
  values[valuesById[10] = "YOUTUBE_SHOPPING"] = 10;
36334
36428
  values[valuesById[11] = "CLOUD_RETAIL"] = 11;
36335
36429
  values[valuesById[12] = "LOCAL_CLOUD_RETAIL"] = 12;
36430
+ values[valuesById[15] = "PRODUCT_REVIEWS"] = 15;
36431
+ values[valuesById[16] = "MERCHANT_REVIEWS"] = 16;
36432
+ values[valuesById[17] = "YOUTUBE_CHECKOUT"] = 17;
36336
36433
  return values;
36337
36434
  })();
36338
36435
 
@@ -6889,7 +6889,13 @@
6889
6889
  "LOCAL_INVENTORY_ADS": 3,
6890
6890
  "FREE_LISTINGS": 4,
6891
6891
  "FREE_LOCAL_LISTINGS": 5,
6892
- "YOUTUBE_SHOPPING": 6
6892
+ "YOUTUBE_SHOPPING": 6,
6893
+ "YOUTUBE_SHOPPING_CHECKOUT": 7,
6894
+ "YOUTUBE_AFFILIATE": 8,
6895
+ "FREE_VEHICLE_LISTINGS": 9,
6896
+ "VEHICLE_ADS": 10,
6897
+ "CLOUD_RETAIL": 11,
6898
+ "LOCAL_CLOUD_RETAIL": 12
6893
6899
  }
6894
6900
  }
6895
6901
  }
@@ -6914,11 +6920,16 @@
6914
6920
  "LOCAL_INVENTORY_ADS": 5,
6915
6921
  "VEHICLE_INVENTORY_ADS": 6,
6916
6922
  "FREE_LISTINGS": 7,
6923
+ "FREE_LISTINGS_UCP_CHECKOUT": 19,
6917
6924
  "FREE_LOCAL_LISTINGS": 8,
6918
6925
  "FREE_LOCAL_VEHICLE_LISTINGS": 9,
6926
+ "YOUTUBE_AFFILIATE": 18,
6919
6927
  "YOUTUBE_SHOPPING": 10,
6920
6928
  "CLOUD_RETAIL": 11,
6921
- "LOCAL_CLOUD_RETAIL": 12
6929
+ "LOCAL_CLOUD_RETAIL": 12,
6930
+ "PRODUCT_REVIEWS": 15,
6931
+ "MERCHANT_REVIEWS": 16,
6932
+ "YOUTUBE_CHECKOUT": 17
6922
6933
  }
6923
6934
  }
6924
6935
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-shopping/reports",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "Merchant API client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",