@google-shopping/reports 0.10.0 → 0.11.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.
|
@@ -23,10 +23,13 @@ import "google/protobuf/timestamp.proto";
|
|
|
23
23
|
import "google/shopping/type/types.proto";
|
|
24
24
|
import "google/type/date.proto";
|
|
25
25
|
|
|
26
|
+
option csharp_namespace = "Google.Shopping.Merchant.Reports.V1Alpha";
|
|
26
27
|
option go_package = "cloud.google.com/go/shopping/merchant/reports/apiv1alpha/reportspb;reportspb";
|
|
27
28
|
option java_multiple_files = true;
|
|
28
29
|
option java_outer_classname = "ReportsProto";
|
|
29
30
|
option java_package = "com.google.shopping.merchant.reports.v1alpha";
|
|
31
|
+
option php_namespace = "Google\\Shopping\\Merchant\\Reports\\V1alpha";
|
|
32
|
+
option ruby_package = "Google::Shopping::Merchant::Reports::V1alpha";
|
|
30
33
|
|
|
31
34
|
// Service for retrieving reports and insights about your products, their
|
|
32
35
|
// performance, and their competitive environment on Google.
|
|
@@ -122,13 +125,13 @@ message ReportRow {
|
|
|
122
125
|
CompetitiveVisibilityBenchmarkView competitive_visibility_benchmark_view = 10;
|
|
123
126
|
|
|
124
127
|
// Fields available for query in `youtube_creator_performance_view` table.
|
|
125
|
-
YoutubeCreatorPerformanceView youtube_creator_performance_view =
|
|
128
|
+
YoutubeCreatorPerformanceView youtube_creator_performance_view = 13;
|
|
126
129
|
|
|
127
130
|
// Fields available for query in `youtube_content_performance_view` table.
|
|
128
|
-
YoutubeContentPerformanceView youtube_content_performance_view =
|
|
131
|
+
YoutubeContentPerformanceView youtube_content_performance_view = 14;
|
|
129
132
|
|
|
130
133
|
// Fields available for query in `youtube_product_performance_view` table.
|
|
131
|
-
YoutubeProductPerformanceView youtube_product_performance_view =
|
|
134
|
+
YoutubeProductPerformanceView youtube_product_performance_view = 15;
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
// Fields available for query in `product_performance_view` table.
|
|
@@ -1348,6 +1351,11 @@ message YoutubeContentPerformanceView {
|
|
|
1348
1351
|
|
|
1349
1352
|
// The net sales amount (includes both purchase and refunds).
|
|
1350
1353
|
optional google.shopping.type.Price net_sales = 11;
|
|
1354
|
+
|
|
1355
|
+
// Set of unique [product
|
|
1356
|
+
// IDs](https://support.google.com/merchants/answer/188494#id) tagged on the
|
|
1357
|
+
// YouTube video. These IDs correspond to the 'offerId' in the Products API.
|
|
1358
|
+
repeated string tagged_product_ids = 12;
|
|
1351
1359
|
}
|
|
1352
1360
|
|
|
1353
1361
|
// Fields available for query in `youtube_product_performance_view` table.
|
|
@@ -1395,4 +1403,10 @@ message YoutubeProductPerformanceView {
|
|
|
1395
1403
|
|
|
1396
1404
|
// The net sales amount (includes both purchase and refunds).
|
|
1397
1405
|
optional google.shopping.type.Price net_sales = 11;
|
|
1406
|
+
|
|
1407
|
+
// The number of distinct creators that tagged the product.
|
|
1408
|
+
optional int64 tagged_creator_count = 12;
|
|
1409
|
+
|
|
1410
|
+
// The number of distinct videos that tagged the product.
|
|
1411
|
+
optional int64 tagged_video_count = 13;
|
|
1398
1412
|
}
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -3484,6 +3484,9 @@ export namespace google {
|
|
|
3484
3484
|
|
|
3485
3485
|
/** YoutubeContentPerformanceView netSales */
|
|
3486
3486
|
netSales?: (google.shopping.type.IPrice|null);
|
|
3487
|
+
|
|
3488
|
+
/** YoutubeContentPerformanceView taggedProductIds */
|
|
3489
|
+
taggedProductIds?: (string[]|null);
|
|
3487
3490
|
}
|
|
3488
3491
|
|
|
3489
3492
|
/** Represents a YoutubeContentPerformanceView. */
|
|
@@ -3528,6 +3531,9 @@ export namespace google {
|
|
|
3528
3531
|
/** YoutubeContentPerformanceView netSales. */
|
|
3529
3532
|
public netSales?: (google.shopping.type.IPrice|null);
|
|
3530
3533
|
|
|
3534
|
+
/** YoutubeContentPerformanceView taggedProductIds. */
|
|
3535
|
+
public taggedProductIds: string[];
|
|
3536
|
+
|
|
3531
3537
|
/**
|
|
3532
3538
|
* Creates a new YoutubeContentPerformanceView instance using the specified properties.
|
|
3533
3539
|
* @param [properties] Properties to set
|
|
@@ -3641,6 +3647,12 @@ export namespace google {
|
|
|
3641
3647
|
|
|
3642
3648
|
/** YoutubeProductPerformanceView netSales */
|
|
3643
3649
|
netSales?: (google.shopping.type.IPrice|null);
|
|
3650
|
+
|
|
3651
|
+
/** YoutubeProductPerformanceView taggedCreatorCount */
|
|
3652
|
+
taggedCreatorCount?: (number|Long|string|null);
|
|
3653
|
+
|
|
3654
|
+
/** YoutubeProductPerformanceView taggedVideoCount */
|
|
3655
|
+
taggedVideoCount?: (number|Long|string|null);
|
|
3644
3656
|
}
|
|
3645
3657
|
|
|
3646
3658
|
/** Represents a YoutubeProductPerformanceView. */
|
|
@@ -3685,6 +3697,12 @@ export namespace google {
|
|
|
3685
3697
|
/** YoutubeProductPerformanceView netSales. */
|
|
3686
3698
|
public netSales?: (google.shopping.type.IPrice|null);
|
|
3687
3699
|
|
|
3700
|
+
/** YoutubeProductPerformanceView taggedCreatorCount. */
|
|
3701
|
+
public taggedCreatorCount?: (number|Long|string|null);
|
|
3702
|
+
|
|
3703
|
+
/** YoutubeProductPerformanceView taggedVideoCount. */
|
|
3704
|
+
public taggedVideoCount?: (number|Long|string|null);
|
|
3705
|
+
|
|
3688
3706
|
/**
|
|
3689
3707
|
* Creates a new YoutubeProductPerformanceView instance using the specified properties.
|
|
3690
3708
|
* @param [properties] Properties to set
|
package/build/protos/protos.js
CHANGED
|
@@ -853,11 +853,11 @@
|
|
|
853
853
|
if (message.competitiveVisibilityBenchmarkView != null && Object.hasOwnProperty.call(message, "competitiveVisibilityBenchmarkView"))
|
|
854
854
|
$root.google.shopping.merchant.reports.v1alpha.CompetitiveVisibilityBenchmarkView.encode(message.competitiveVisibilityBenchmarkView, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
855
855
|
if (message.youtubeCreatorPerformanceView != null && Object.hasOwnProperty.call(message, "youtubeCreatorPerformanceView"))
|
|
856
|
-
$root.google.shopping.merchant.reports.v1alpha.YoutubeCreatorPerformanceView.encode(message.youtubeCreatorPerformanceView, writer.uint32(/* id
|
|
856
|
+
$root.google.shopping.merchant.reports.v1alpha.YoutubeCreatorPerformanceView.encode(message.youtubeCreatorPerformanceView, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
857
857
|
if (message.youtubeContentPerformanceView != null && Object.hasOwnProperty.call(message, "youtubeContentPerformanceView"))
|
|
858
|
-
$root.google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView.encode(message.youtubeContentPerformanceView, writer.uint32(/* id
|
|
858
|
+
$root.google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView.encode(message.youtubeContentPerformanceView, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
859
859
|
if (message.youtubeProductPerformanceView != null && Object.hasOwnProperty.call(message, "youtubeProductPerformanceView"))
|
|
860
|
-
$root.google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView.encode(message.youtubeProductPerformanceView, writer.uint32(/* id
|
|
860
|
+
$root.google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView.encode(message.youtubeProductPerformanceView, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
861
861
|
return writer;
|
|
862
862
|
};
|
|
863
863
|
|
|
@@ -934,15 +934,15 @@
|
|
|
934
934
|
message.competitiveVisibilityBenchmarkView = $root.google.shopping.merchant.reports.v1alpha.CompetitiveVisibilityBenchmarkView.decode(reader, reader.uint32());
|
|
935
935
|
break;
|
|
936
936
|
}
|
|
937
|
-
case
|
|
937
|
+
case 13: {
|
|
938
938
|
message.youtubeCreatorPerformanceView = $root.google.shopping.merchant.reports.v1alpha.YoutubeCreatorPerformanceView.decode(reader, reader.uint32());
|
|
939
939
|
break;
|
|
940
940
|
}
|
|
941
|
-
case
|
|
941
|
+
case 14: {
|
|
942
942
|
message.youtubeContentPerformanceView = $root.google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView.decode(reader, reader.uint32());
|
|
943
943
|
break;
|
|
944
944
|
}
|
|
945
|
-
case
|
|
945
|
+
case 15: {
|
|
946
946
|
message.youtubeProductPerformanceView = $root.google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView.decode(reader, reader.uint32());
|
|
947
947
|
break;
|
|
948
948
|
}
|
|
@@ -11707,6 +11707,7 @@
|
|
|
11707
11707
|
* @property {number|Long|null} [views] YoutubeContentPerformanceView views
|
|
11708
11708
|
* @property {number|Long|null} [clicks] YoutubeContentPerformanceView clicks
|
|
11709
11709
|
* @property {google.shopping.type.IPrice|null} [netSales] YoutubeContentPerformanceView netSales
|
|
11710
|
+
* @property {Array.<string>|null} [taggedProductIds] YoutubeContentPerformanceView taggedProductIds
|
|
11710
11711
|
*/
|
|
11711
11712
|
|
|
11712
11713
|
/**
|
|
@@ -11718,6 +11719,7 @@
|
|
|
11718
11719
|
* @param {google.shopping.merchant.reports.v1alpha.IYoutubeContentPerformanceView=} [properties] Properties to set
|
|
11719
11720
|
*/
|
|
11720
11721
|
function YoutubeContentPerformanceView(properties) {
|
|
11722
|
+
this.taggedProductIds = [];
|
|
11721
11723
|
if (properties)
|
|
11722
11724
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11723
11725
|
if (properties[keys[i]] != null)
|
|
@@ -11812,6 +11814,14 @@
|
|
|
11812
11814
|
*/
|
|
11813
11815
|
YoutubeContentPerformanceView.prototype.netSales = null;
|
|
11814
11816
|
|
|
11817
|
+
/**
|
|
11818
|
+
* YoutubeContentPerformanceView taggedProductIds.
|
|
11819
|
+
* @member {Array.<string>} taggedProductIds
|
|
11820
|
+
* @memberof google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView
|
|
11821
|
+
* @instance
|
|
11822
|
+
*/
|
|
11823
|
+
YoutubeContentPerformanceView.prototype.taggedProductIds = $util.emptyArray;
|
|
11824
|
+
|
|
11815
11825
|
// OneOf field names bound to virtual getters and setters
|
|
11816
11826
|
var $oneOfFields;
|
|
11817
11827
|
|
|
@@ -11921,6 +11931,9 @@
|
|
|
11921
11931
|
writer.uint32(/* id 10, wireType 0 =*/80).int64(message.clicks);
|
|
11922
11932
|
if (message.netSales != null && Object.hasOwnProperty.call(message, "netSales"))
|
|
11923
11933
|
$root.google.shopping.type.Price.encode(message.netSales, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
11934
|
+
if (message.taggedProductIds != null && message.taggedProductIds.length)
|
|
11935
|
+
for (var i = 0; i < message.taggedProductIds.length; ++i)
|
|
11936
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.taggedProductIds[i]);
|
|
11924
11937
|
return writer;
|
|
11925
11938
|
};
|
|
11926
11939
|
|
|
@@ -12001,6 +12014,12 @@
|
|
|
12001
12014
|
message.netSales = $root.google.shopping.type.Price.decode(reader, reader.uint32());
|
|
12002
12015
|
break;
|
|
12003
12016
|
}
|
|
12017
|
+
case 12: {
|
|
12018
|
+
if (!(message.taggedProductIds && message.taggedProductIds.length))
|
|
12019
|
+
message.taggedProductIds = [];
|
|
12020
|
+
message.taggedProductIds.push(reader.string());
|
|
12021
|
+
break;
|
|
12022
|
+
}
|
|
12004
12023
|
default:
|
|
12005
12024
|
reader.skipType(tag & 7);
|
|
12006
12025
|
break;
|
|
@@ -12101,6 +12120,13 @@
|
|
|
12101
12120
|
return "netSales." + error;
|
|
12102
12121
|
}
|
|
12103
12122
|
}
|
|
12123
|
+
if (message.taggedProductIds != null && message.hasOwnProperty("taggedProductIds")) {
|
|
12124
|
+
if (!Array.isArray(message.taggedProductIds))
|
|
12125
|
+
return "taggedProductIds: array expected";
|
|
12126
|
+
for (var i = 0; i < message.taggedProductIds.length; ++i)
|
|
12127
|
+
if (!$util.isString(message.taggedProductIds[i]))
|
|
12128
|
+
return "taggedProductIds: string[] expected";
|
|
12129
|
+
}
|
|
12104
12130
|
return null;
|
|
12105
12131
|
};
|
|
12106
12132
|
|
|
@@ -12171,6 +12197,13 @@
|
|
|
12171
12197
|
throw TypeError(".google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView.netSales: object expected");
|
|
12172
12198
|
message.netSales = $root.google.shopping.type.Price.fromObject(object.netSales);
|
|
12173
12199
|
}
|
|
12200
|
+
if (object.taggedProductIds) {
|
|
12201
|
+
if (!Array.isArray(object.taggedProductIds))
|
|
12202
|
+
throw TypeError(".google.shopping.merchant.reports.v1alpha.YoutubeContentPerformanceView.taggedProductIds: array expected");
|
|
12203
|
+
message.taggedProductIds = [];
|
|
12204
|
+
for (var i = 0; i < object.taggedProductIds.length; ++i)
|
|
12205
|
+
message.taggedProductIds[i] = String(object.taggedProductIds[i]);
|
|
12206
|
+
}
|
|
12174
12207
|
return message;
|
|
12175
12208
|
};
|
|
12176
12209
|
|
|
@@ -12187,6 +12220,8 @@
|
|
|
12187
12220
|
if (!options)
|
|
12188
12221
|
options = {};
|
|
12189
12222
|
var object = {};
|
|
12223
|
+
if (options.arrays || options.defaults)
|
|
12224
|
+
object.taggedProductIds = [];
|
|
12190
12225
|
if (options.defaults)
|
|
12191
12226
|
object.date = null;
|
|
12192
12227
|
if (message.date != null && message.hasOwnProperty("date"))
|
|
@@ -12250,6 +12285,11 @@
|
|
|
12250
12285
|
if (options.oneofs)
|
|
12251
12286
|
object._netSales = "netSales";
|
|
12252
12287
|
}
|
|
12288
|
+
if (message.taggedProductIds && message.taggedProductIds.length) {
|
|
12289
|
+
object.taggedProductIds = [];
|
|
12290
|
+
for (var j = 0; j < message.taggedProductIds.length; ++j)
|
|
12291
|
+
object.taggedProductIds[j] = message.taggedProductIds[j];
|
|
12292
|
+
}
|
|
12253
12293
|
return object;
|
|
12254
12294
|
};
|
|
12255
12295
|
|
|
@@ -12299,6 +12339,8 @@
|
|
|
12299
12339
|
* @property {number|Long|null} [views] YoutubeProductPerformanceView views
|
|
12300
12340
|
* @property {number|Long|null} [clicks] YoutubeProductPerformanceView clicks
|
|
12301
12341
|
* @property {google.shopping.type.IPrice|null} [netSales] YoutubeProductPerformanceView netSales
|
|
12342
|
+
* @property {number|Long|null} [taggedCreatorCount] YoutubeProductPerformanceView taggedCreatorCount
|
|
12343
|
+
* @property {number|Long|null} [taggedVideoCount] YoutubeProductPerformanceView taggedVideoCount
|
|
12302
12344
|
*/
|
|
12303
12345
|
|
|
12304
12346
|
/**
|
|
@@ -12404,6 +12446,22 @@
|
|
|
12404
12446
|
*/
|
|
12405
12447
|
YoutubeProductPerformanceView.prototype.netSales = null;
|
|
12406
12448
|
|
|
12449
|
+
/**
|
|
12450
|
+
* YoutubeProductPerformanceView taggedCreatorCount.
|
|
12451
|
+
* @member {number|Long|null|undefined} taggedCreatorCount
|
|
12452
|
+
* @memberof google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView
|
|
12453
|
+
* @instance
|
|
12454
|
+
*/
|
|
12455
|
+
YoutubeProductPerformanceView.prototype.taggedCreatorCount = null;
|
|
12456
|
+
|
|
12457
|
+
/**
|
|
12458
|
+
* YoutubeProductPerformanceView taggedVideoCount.
|
|
12459
|
+
* @member {number|Long|null|undefined} taggedVideoCount
|
|
12460
|
+
* @memberof google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView
|
|
12461
|
+
* @instance
|
|
12462
|
+
*/
|
|
12463
|
+
YoutubeProductPerformanceView.prototype.taggedVideoCount = null;
|
|
12464
|
+
|
|
12407
12465
|
// OneOf field names bound to virtual getters and setters
|
|
12408
12466
|
var $oneOfFields;
|
|
12409
12467
|
|
|
@@ -12467,6 +12525,18 @@
|
|
|
12467
12525
|
set: $util.oneOfSetter($oneOfFields)
|
|
12468
12526
|
});
|
|
12469
12527
|
|
|
12528
|
+
// Virtual OneOf for proto3 optional field
|
|
12529
|
+
Object.defineProperty(YoutubeProductPerformanceView.prototype, "_taggedCreatorCount", {
|
|
12530
|
+
get: $util.oneOfGetter($oneOfFields = ["taggedCreatorCount"]),
|
|
12531
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
12532
|
+
});
|
|
12533
|
+
|
|
12534
|
+
// Virtual OneOf for proto3 optional field
|
|
12535
|
+
Object.defineProperty(YoutubeProductPerformanceView.prototype, "_taggedVideoCount", {
|
|
12536
|
+
get: $util.oneOfGetter($oneOfFields = ["taggedVideoCount"]),
|
|
12537
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
12538
|
+
});
|
|
12539
|
+
|
|
12470
12540
|
/**
|
|
12471
12541
|
* Creates a new YoutubeProductPerformanceView instance using the specified properties.
|
|
12472
12542
|
* @function create
|
|
@@ -12513,6 +12583,10 @@
|
|
|
12513
12583
|
writer.uint32(/* id 10, wireType 0 =*/80).int64(message.clicks);
|
|
12514
12584
|
if (message.netSales != null && Object.hasOwnProperty.call(message, "netSales"))
|
|
12515
12585
|
$root.google.shopping.type.Price.encode(message.netSales, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
12586
|
+
if (message.taggedCreatorCount != null && Object.hasOwnProperty.call(message, "taggedCreatorCount"))
|
|
12587
|
+
writer.uint32(/* id 12, wireType 0 =*/96).int64(message.taggedCreatorCount);
|
|
12588
|
+
if (message.taggedVideoCount != null && Object.hasOwnProperty.call(message, "taggedVideoCount"))
|
|
12589
|
+
writer.uint32(/* id 13, wireType 0 =*/104).int64(message.taggedVideoCount);
|
|
12516
12590
|
return writer;
|
|
12517
12591
|
};
|
|
12518
12592
|
|
|
@@ -12593,6 +12667,14 @@
|
|
|
12593
12667
|
message.netSales = $root.google.shopping.type.Price.decode(reader, reader.uint32());
|
|
12594
12668
|
break;
|
|
12595
12669
|
}
|
|
12670
|
+
case 12: {
|
|
12671
|
+
message.taggedCreatorCount = reader.int64();
|
|
12672
|
+
break;
|
|
12673
|
+
}
|
|
12674
|
+
case 13: {
|
|
12675
|
+
message.taggedVideoCount = reader.int64();
|
|
12676
|
+
break;
|
|
12677
|
+
}
|
|
12596
12678
|
default:
|
|
12597
12679
|
reader.skipType(tag & 7);
|
|
12598
12680
|
break;
|
|
@@ -12693,6 +12775,16 @@
|
|
|
12693
12775
|
return "netSales." + error;
|
|
12694
12776
|
}
|
|
12695
12777
|
}
|
|
12778
|
+
if (message.taggedCreatorCount != null && message.hasOwnProperty("taggedCreatorCount")) {
|
|
12779
|
+
properties._taggedCreatorCount = 1;
|
|
12780
|
+
if (!$util.isInteger(message.taggedCreatorCount) && !(message.taggedCreatorCount && $util.isInteger(message.taggedCreatorCount.low) && $util.isInteger(message.taggedCreatorCount.high)))
|
|
12781
|
+
return "taggedCreatorCount: integer|Long expected";
|
|
12782
|
+
}
|
|
12783
|
+
if (message.taggedVideoCount != null && message.hasOwnProperty("taggedVideoCount")) {
|
|
12784
|
+
properties._taggedVideoCount = 1;
|
|
12785
|
+
if (!$util.isInteger(message.taggedVideoCount) && !(message.taggedVideoCount && $util.isInteger(message.taggedVideoCount.low) && $util.isInteger(message.taggedVideoCount.high)))
|
|
12786
|
+
return "taggedVideoCount: integer|Long expected";
|
|
12787
|
+
}
|
|
12696
12788
|
return null;
|
|
12697
12789
|
};
|
|
12698
12790
|
|
|
@@ -12777,6 +12869,24 @@
|
|
|
12777
12869
|
throw TypeError(".google.shopping.merchant.reports.v1alpha.YoutubeProductPerformanceView.netSales: object expected");
|
|
12778
12870
|
message.netSales = $root.google.shopping.type.Price.fromObject(object.netSales);
|
|
12779
12871
|
}
|
|
12872
|
+
if (object.taggedCreatorCount != null)
|
|
12873
|
+
if ($util.Long)
|
|
12874
|
+
(message.taggedCreatorCount = $util.Long.fromValue(object.taggedCreatorCount)).unsigned = false;
|
|
12875
|
+
else if (typeof object.taggedCreatorCount === "string")
|
|
12876
|
+
message.taggedCreatorCount = parseInt(object.taggedCreatorCount, 10);
|
|
12877
|
+
else if (typeof object.taggedCreatorCount === "number")
|
|
12878
|
+
message.taggedCreatorCount = object.taggedCreatorCount;
|
|
12879
|
+
else if (typeof object.taggedCreatorCount === "object")
|
|
12880
|
+
message.taggedCreatorCount = new $util.LongBits(object.taggedCreatorCount.low >>> 0, object.taggedCreatorCount.high >>> 0).toNumber();
|
|
12881
|
+
if (object.taggedVideoCount != null)
|
|
12882
|
+
if ($util.Long)
|
|
12883
|
+
(message.taggedVideoCount = $util.Long.fromValue(object.taggedVideoCount)).unsigned = false;
|
|
12884
|
+
else if (typeof object.taggedVideoCount === "string")
|
|
12885
|
+
message.taggedVideoCount = parseInt(object.taggedVideoCount, 10);
|
|
12886
|
+
else if (typeof object.taggedVideoCount === "number")
|
|
12887
|
+
message.taggedVideoCount = object.taggedVideoCount;
|
|
12888
|
+
else if (typeof object.taggedVideoCount === "object")
|
|
12889
|
+
message.taggedVideoCount = new $util.LongBits(object.taggedVideoCount.low >>> 0, object.taggedVideoCount.high >>> 0).toNumber();
|
|
12780
12890
|
return message;
|
|
12781
12891
|
};
|
|
12782
12892
|
|
|
@@ -12862,6 +12972,22 @@
|
|
|
12862
12972
|
if (options.oneofs)
|
|
12863
12973
|
object._netSales = "netSales";
|
|
12864
12974
|
}
|
|
12975
|
+
if (message.taggedCreatorCount != null && message.hasOwnProperty("taggedCreatorCount")) {
|
|
12976
|
+
if (typeof message.taggedCreatorCount === "number")
|
|
12977
|
+
object.taggedCreatorCount = options.longs === String ? String(message.taggedCreatorCount) : message.taggedCreatorCount;
|
|
12978
|
+
else
|
|
12979
|
+
object.taggedCreatorCount = options.longs === String ? $util.Long.prototype.toString.call(message.taggedCreatorCount) : options.longs === Number ? new $util.LongBits(message.taggedCreatorCount.low >>> 0, message.taggedCreatorCount.high >>> 0).toNumber() : message.taggedCreatorCount;
|
|
12980
|
+
if (options.oneofs)
|
|
12981
|
+
object._taggedCreatorCount = "taggedCreatorCount";
|
|
12982
|
+
}
|
|
12983
|
+
if (message.taggedVideoCount != null && message.hasOwnProperty("taggedVideoCount")) {
|
|
12984
|
+
if (typeof message.taggedVideoCount === "number")
|
|
12985
|
+
object.taggedVideoCount = options.longs === String ? String(message.taggedVideoCount) : message.taggedVideoCount;
|
|
12986
|
+
else
|
|
12987
|
+
object.taggedVideoCount = options.longs === String ? $util.Long.prototype.toString.call(message.taggedVideoCount) : options.longs === Number ? new $util.LongBits(message.taggedVideoCount.low >>> 0, message.taggedVideoCount.high >>> 0).toNumber() : message.taggedVideoCount;
|
|
12988
|
+
if (options.oneofs)
|
|
12989
|
+
object._taggedVideoCount = "taggedVideoCount";
|
|
12990
|
+
}
|
|
12865
12991
|
return object;
|
|
12866
12992
|
};
|
|
12867
12993
|
|
package/build/protos/protos.json
CHANGED
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
"nested": {
|
|
11
11
|
"v1alpha": {
|
|
12
12
|
"options": {
|
|
13
|
+
"csharp_namespace": "Google.Shopping.Merchant.Reports.V1Alpha",
|
|
13
14
|
"go_package": "cloud.google.com/go/shopping/merchant/reports/apiv1alpha/reportspb;reportspb",
|
|
14
15
|
"java_multiple_files": true,
|
|
15
16
|
"java_outer_classname": "ReportsProto",
|
|
16
|
-
"java_package": "com.google.shopping.merchant.reports.v1alpha"
|
|
17
|
+
"java_package": "com.google.shopping.merchant.reports.v1alpha",
|
|
18
|
+
"php_namespace": "Google\\Shopping\\Merchant\\Reports\\V1alpha",
|
|
19
|
+
"ruby_package": "Google::Shopping::Merchant::Reports::V1alpha"
|
|
17
20
|
},
|
|
18
21
|
"nested": {
|
|
19
22
|
"ReportService": {
|
|
@@ -133,15 +136,15 @@
|
|
|
133
136
|
},
|
|
134
137
|
"youtubeCreatorPerformanceView": {
|
|
135
138
|
"type": "YoutubeCreatorPerformanceView",
|
|
136
|
-
"id":
|
|
139
|
+
"id": 13
|
|
137
140
|
},
|
|
138
141
|
"youtubeContentPerformanceView": {
|
|
139
142
|
"type": "YoutubeContentPerformanceView",
|
|
140
|
-
"id":
|
|
143
|
+
"id": 14
|
|
141
144
|
},
|
|
142
145
|
"youtubeProductPerformanceView": {
|
|
143
146
|
"type": "YoutubeProductPerformanceView",
|
|
144
|
-
"id":
|
|
147
|
+
"id": 15
|
|
145
148
|
}
|
|
146
149
|
}
|
|
147
150
|
},
|
|
@@ -2367,6 +2370,11 @@
|
|
|
2367
2370
|
"options": {
|
|
2368
2371
|
"proto3_optional": true
|
|
2369
2372
|
}
|
|
2373
|
+
},
|
|
2374
|
+
"taggedProductIds": {
|
|
2375
|
+
"rule": "repeated",
|
|
2376
|
+
"type": "string",
|
|
2377
|
+
"id": 12
|
|
2370
2378
|
}
|
|
2371
2379
|
}
|
|
2372
2380
|
},
|
|
@@ -2421,6 +2429,16 @@
|
|
|
2421
2429
|
"oneof": [
|
|
2422
2430
|
"netSales"
|
|
2423
2431
|
]
|
|
2432
|
+
},
|
|
2433
|
+
"_taggedCreatorCount": {
|
|
2434
|
+
"oneof": [
|
|
2435
|
+
"taggedCreatorCount"
|
|
2436
|
+
]
|
|
2437
|
+
},
|
|
2438
|
+
"_taggedVideoCount": {
|
|
2439
|
+
"oneof": [
|
|
2440
|
+
"taggedVideoCount"
|
|
2441
|
+
]
|
|
2424
2442
|
}
|
|
2425
2443
|
},
|
|
2426
2444
|
"fields": {
|
|
@@ -2497,6 +2515,20 @@
|
|
|
2497
2515
|
"options": {
|
|
2498
2516
|
"proto3_optional": true
|
|
2499
2517
|
}
|
|
2518
|
+
},
|
|
2519
|
+
"taggedCreatorCount": {
|
|
2520
|
+
"type": "int64",
|
|
2521
|
+
"id": 12,
|
|
2522
|
+
"options": {
|
|
2523
|
+
"proto3_optional": true
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
"taggedVideoCount": {
|
|
2527
|
+
"type": "int64",
|
|
2528
|
+
"id": 13,
|
|
2529
|
+
"options": {
|
|
2530
|
+
"proto3_optional": true
|
|
2531
|
+
}
|
|
2500
2532
|
}
|
|
2501
2533
|
}
|
|
2502
2534
|
}
|