@google-shopping/reports 0.10.0 → 0.12.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.
@@ -26,6 +26,3267 @@ export namespace google {
26
26
  /** Namespace reports. */
27
27
  namespace reports {
28
28
 
29
+ /** Namespace v1. */
30
+ namespace v1 {
31
+
32
+ /** Represents a ReportService */
33
+ class ReportService extends $protobuf.rpc.Service {
34
+
35
+ /**
36
+ * Constructs a new ReportService service.
37
+ * @param rpcImpl RPC implementation
38
+ * @param [requestDelimited=false] Whether requests are length-delimited
39
+ * @param [responseDelimited=false] Whether responses are length-delimited
40
+ */
41
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
42
+
43
+ /**
44
+ * Creates new ReportService service using the specified rpc implementation.
45
+ * @param rpcImpl RPC implementation
46
+ * @param [requestDelimited=false] Whether requests are length-delimited
47
+ * @param [responseDelimited=false] Whether responses are length-delimited
48
+ * @returns RPC service. Useful where requests and/or responses are streamed.
49
+ */
50
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ReportService;
51
+
52
+ /**
53
+ * Calls Search.
54
+ * @param request SearchRequest message or plain object
55
+ * @param callback Node-style callback called with the error, if any, and SearchResponse
56
+ */
57
+ public search(request: google.shopping.merchant.reports.v1.ISearchRequest, callback: google.shopping.merchant.reports.v1.ReportService.SearchCallback): void;
58
+
59
+ /**
60
+ * Calls Search.
61
+ * @param request SearchRequest message or plain object
62
+ * @returns Promise
63
+ */
64
+ public search(request: google.shopping.merchant.reports.v1.ISearchRequest): Promise<google.shopping.merchant.reports.v1.SearchResponse>;
65
+ }
66
+
67
+ namespace ReportService {
68
+
69
+ /**
70
+ * Callback as used by {@link google.shopping.merchant.reports.v1.ReportService|search}.
71
+ * @param error Error, if any
72
+ * @param [response] SearchResponse
73
+ */
74
+ type SearchCallback = (error: (Error|null), response?: google.shopping.merchant.reports.v1.SearchResponse) => void;
75
+ }
76
+
77
+ /** Properties of a SearchRequest. */
78
+ interface ISearchRequest {
79
+
80
+ /** SearchRequest parent */
81
+ parent?: (string|null);
82
+
83
+ /** SearchRequest query */
84
+ query?: (string|null);
85
+
86
+ /** SearchRequest pageSize */
87
+ pageSize?: (number|null);
88
+
89
+ /** SearchRequest pageToken */
90
+ pageToken?: (string|null);
91
+ }
92
+
93
+ /** Represents a SearchRequest. */
94
+ class SearchRequest implements ISearchRequest {
95
+
96
+ /**
97
+ * Constructs a new SearchRequest.
98
+ * @param [properties] Properties to set
99
+ */
100
+ constructor(properties?: google.shopping.merchant.reports.v1.ISearchRequest);
101
+
102
+ /** SearchRequest parent. */
103
+ public parent: string;
104
+
105
+ /** SearchRequest query. */
106
+ public query: string;
107
+
108
+ /** SearchRequest pageSize. */
109
+ public pageSize: number;
110
+
111
+ /** SearchRequest pageToken. */
112
+ public pageToken: string;
113
+
114
+ /**
115
+ * Creates a new SearchRequest instance using the specified properties.
116
+ * @param [properties] Properties to set
117
+ * @returns SearchRequest instance
118
+ */
119
+ public static create(properties?: google.shopping.merchant.reports.v1.ISearchRequest): google.shopping.merchant.reports.v1.SearchRequest;
120
+
121
+ /**
122
+ * Encodes the specified SearchRequest message. Does not implicitly {@link google.shopping.merchant.reports.v1.SearchRequest.verify|verify} messages.
123
+ * @param message SearchRequest message or plain object to encode
124
+ * @param [writer] Writer to encode to
125
+ * @returns Writer
126
+ */
127
+ public static encode(message: google.shopping.merchant.reports.v1.ISearchRequest, writer?: $protobuf.Writer): $protobuf.Writer;
128
+
129
+ /**
130
+ * Encodes the specified SearchRequest message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.SearchRequest.verify|verify} messages.
131
+ * @param message SearchRequest message or plain object to encode
132
+ * @param [writer] Writer to encode to
133
+ * @returns Writer
134
+ */
135
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ISearchRequest, writer?: $protobuf.Writer): $protobuf.Writer;
136
+
137
+ /**
138
+ * Decodes a SearchRequest message from the specified reader or buffer.
139
+ * @param reader Reader or buffer to decode from
140
+ * @param [length] Message length if known beforehand
141
+ * @returns SearchRequest
142
+ * @throws {Error} If the payload is not a reader or valid buffer
143
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
144
+ */
145
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.SearchRequest;
146
+
147
+ /**
148
+ * Decodes a SearchRequest message from the specified reader or buffer, length delimited.
149
+ * @param reader Reader or buffer to decode from
150
+ * @returns SearchRequest
151
+ * @throws {Error} If the payload is not a reader or valid buffer
152
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
153
+ */
154
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.SearchRequest;
155
+
156
+ /**
157
+ * Verifies a SearchRequest message.
158
+ * @param message Plain object to verify
159
+ * @returns `null` if valid, otherwise the reason why it is not
160
+ */
161
+ public static verify(message: { [k: string]: any }): (string|null);
162
+
163
+ /**
164
+ * Creates a SearchRequest message from a plain object. Also converts values to their respective internal types.
165
+ * @param object Plain object
166
+ * @returns SearchRequest
167
+ */
168
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.SearchRequest;
169
+
170
+ /**
171
+ * Creates a plain object from a SearchRequest message. Also converts values to other types if specified.
172
+ * @param message SearchRequest
173
+ * @param [options] Conversion options
174
+ * @returns Plain object
175
+ */
176
+ public static toObject(message: google.shopping.merchant.reports.v1.SearchRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
177
+
178
+ /**
179
+ * Converts this SearchRequest to JSON.
180
+ * @returns JSON object
181
+ */
182
+ public toJSON(): { [k: string]: any };
183
+
184
+ /**
185
+ * Gets the default type url for SearchRequest
186
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
187
+ * @returns The default type url
188
+ */
189
+ public static getTypeUrl(typeUrlPrefix?: string): string;
190
+ }
191
+
192
+ /** Properties of a SearchResponse. */
193
+ interface ISearchResponse {
194
+
195
+ /** SearchResponse results */
196
+ results?: (google.shopping.merchant.reports.v1.IReportRow[]|null);
197
+
198
+ /** SearchResponse nextPageToken */
199
+ nextPageToken?: (string|null);
200
+ }
201
+
202
+ /** Represents a SearchResponse. */
203
+ class SearchResponse implements ISearchResponse {
204
+
205
+ /**
206
+ * Constructs a new SearchResponse.
207
+ * @param [properties] Properties to set
208
+ */
209
+ constructor(properties?: google.shopping.merchant.reports.v1.ISearchResponse);
210
+
211
+ /** SearchResponse results. */
212
+ public results: google.shopping.merchant.reports.v1.IReportRow[];
213
+
214
+ /** SearchResponse nextPageToken. */
215
+ public nextPageToken: string;
216
+
217
+ /**
218
+ * Creates a new SearchResponse instance using the specified properties.
219
+ * @param [properties] Properties to set
220
+ * @returns SearchResponse instance
221
+ */
222
+ public static create(properties?: google.shopping.merchant.reports.v1.ISearchResponse): google.shopping.merchant.reports.v1.SearchResponse;
223
+
224
+ /**
225
+ * Encodes the specified SearchResponse message. Does not implicitly {@link google.shopping.merchant.reports.v1.SearchResponse.verify|verify} messages.
226
+ * @param message SearchResponse message or plain object to encode
227
+ * @param [writer] Writer to encode to
228
+ * @returns Writer
229
+ */
230
+ public static encode(message: google.shopping.merchant.reports.v1.ISearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
231
+
232
+ /**
233
+ * Encodes the specified SearchResponse message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.SearchResponse.verify|verify} messages.
234
+ * @param message SearchResponse message or plain object to encode
235
+ * @param [writer] Writer to encode to
236
+ * @returns Writer
237
+ */
238
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ISearchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
239
+
240
+ /**
241
+ * Decodes a SearchResponse message from the specified reader or buffer.
242
+ * @param reader Reader or buffer to decode from
243
+ * @param [length] Message length if known beforehand
244
+ * @returns SearchResponse
245
+ * @throws {Error} If the payload is not a reader or valid buffer
246
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
247
+ */
248
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.SearchResponse;
249
+
250
+ /**
251
+ * Decodes a SearchResponse message from the specified reader or buffer, length delimited.
252
+ * @param reader Reader or buffer to decode from
253
+ * @returns SearchResponse
254
+ * @throws {Error} If the payload is not a reader or valid buffer
255
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
256
+ */
257
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.SearchResponse;
258
+
259
+ /**
260
+ * Verifies a SearchResponse message.
261
+ * @param message Plain object to verify
262
+ * @returns `null` if valid, otherwise the reason why it is not
263
+ */
264
+ public static verify(message: { [k: string]: any }): (string|null);
265
+
266
+ /**
267
+ * Creates a SearchResponse message from a plain object. Also converts values to their respective internal types.
268
+ * @param object Plain object
269
+ * @returns SearchResponse
270
+ */
271
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.SearchResponse;
272
+
273
+ /**
274
+ * Creates a plain object from a SearchResponse message. Also converts values to other types if specified.
275
+ * @param message SearchResponse
276
+ * @param [options] Conversion options
277
+ * @returns Plain object
278
+ */
279
+ public static toObject(message: google.shopping.merchant.reports.v1.SearchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
280
+
281
+ /**
282
+ * Converts this SearchResponse to JSON.
283
+ * @returns JSON object
284
+ */
285
+ public toJSON(): { [k: string]: any };
286
+
287
+ /**
288
+ * Gets the default type url for SearchResponse
289
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
290
+ * @returns The default type url
291
+ */
292
+ public static getTypeUrl(typeUrlPrefix?: string): string;
293
+ }
294
+
295
+ /** Properties of a ReportRow. */
296
+ interface IReportRow {
297
+
298
+ /** ReportRow productPerformanceView */
299
+ productPerformanceView?: (google.shopping.merchant.reports.v1.IProductPerformanceView|null);
300
+
301
+ /** ReportRow nonProductPerformanceView */
302
+ nonProductPerformanceView?: (google.shopping.merchant.reports.v1.INonProductPerformanceView|null);
303
+
304
+ /** ReportRow productView */
305
+ productView?: (google.shopping.merchant.reports.v1.IProductView|null);
306
+
307
+ /** ReportRow priceCompetitivenessProductView */
308
+ priceCompetitivenessProductView?: (google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView|null);
309
+
310
+ /** ReportRow priceInsightsProductView */
311
+ priceInsightsProductView?: (google.shopping.merchant.reports.v1.IPriceInsightsProductView|null);
312
+
313
+ /** ReportRow bestSellersProductClusterView */
314
+ bestSellersProductClusterView?: (google.shopping.merchant.reports.v1.IBestSellersProductClusterView|null);
315
+
316
+ /** ReportRow bestSellersBrandView */
317
+ bestSellersBrandView?: (google.shopping.merchant.reports.v1.IBestSellersBrandView|null);
318
+
319
+ /** ReportRow competitiveVisibilityCompetitorView */
320
+ competitiveVisibilityCompetitorView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView|null);
321
+
322
+ /** ReportRow competitiveVisibilityTopMerchantView */
323
+ competitiveVisibilityTopMerchantView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView|null);
324
+
325
+ /** ReportRow competitiveVisibilityBenchmarkView */
326
+ competitiveVisibilityBenchmarkView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView|null);
327
+ }
328
+
329
+ /** Represents a ReportRow. */
330
+ class ReportRow implements IReportRow {
331
+
332
+ /**
333
+ * Constructs a new ReportRow.
334
+ * @param [properties] Properties to set
335
+ */
336
+ constructor(properties?: google.shopping.merchant.reports.v1.IReportRow);
337
+
338
+ /** ReportRow productPerformanceView. */
339
+ public productPerformanceView?: (google.shopping.merchant.reports.v1.IProductPerformanceView|null);
340
+
341
+ /** ReportRow nonProductPerformanceView. */
342
+ public nonProductPerformanceView?: (google.shopping.merchant.reports.v1.INonProductPerformanceView|null);
343
+
344
+ /** ReportRow productView. */
345
+ public productView?: (google.shopping.merchant.reports.v1.IProductView|null);
346
+
347
+ /** ReportRow priceCompetitivenessProductView. */
348
+ public priceCompetitivenessProductView?: (google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView|null);
349
+
350
+ /** ReportRow priceInsightsProductView. */
351
+ public priceInsightsProductView?: (google.shopping.merchant.reports.v1.IPriceInsightsProductView|null);
352
+
353
+ /** ReportRow bestSellersProductClusterView. */
354
+ public bestSellersProductClusterView?: (google.shopping.merchant.reports.v1.IBestSellersProductClusterView|null);
355
+
356
+ /** ReportRow bestSellersBrandView. */
357
+ public bestSellersBrandView?: (google.shopping.merchant.reports.v1.IBestSellersBrandView|null);
358
+
359
+ /** ReportRow competitiveVisibilityCompetitorView. */
360
+ public competitiveVisibilityCompetitorView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView|null);
361
+
362
+ /** ReportRow competitiveVisibilityTopMerchantView. */
363
+ public competitiveVisibilityTopMerchantView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView|null);
364
+
365
+ /** ReportRow competitiveVisibilityBenchmarkView. */
366
+ public competitiveVisibilityBenchmarkView?: (google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView|null);
367
+
368
+ /**
369
+ * Creates a new ReportRow instance using the specified properties.
370
+ * @param [properties] Properties to set
371
+ * @returns ReportRow instance
372
+ */
373
+ public static create(properties?: google.shopping.merchant.reports.v1.IReportRow): google.shopping.merchant.reports.v1.ReportRow;
374
+
375
+ /**
376
+ * Encodes the specified ReportRow message. Does not implicitly {@link google.shopping.merchant.reports.v1.ReportRow.verify|verify} messages.
377
+ * @param message ReportRow message or plain object to encode
378
+ * @param [writer] Writer to encode to
379
+ * @returns Writer
380
+ */
381
+ public static encode(message: google.shopping.merchant.reports.v1.IReportRow, writer?: $protobuf.Writer): $protobuf.Writer;
382
+
383
+ /**
384
+ * Encodes the specified ReportRow message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ReportRow.verify|verify} messages.
385
+ * @param message ReportRow message or plain object to encode
386
+ * @param [writer] Writer to encode to
387
+ * @returns Writer
388
+ */
389
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IReportRow, writer?: $protobuf.Writer): $protobuf.Writer;
390
+
391
+ /**
392
+ * Decodes a ReportRow message from the specified reader or buffer.
393
+ * @param reader Reader or buffer to decode from
394
+ * @param [length] Message length if known beforehand
395
+ * @returns ReportRow
396
+ * @throws {Error} If the payload is not a reader or valid buffer
397
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
398
+ */
399
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ReportRow;
400
+
401
+ /**
402
+ * Decodes a ReportRow message from the specified reader or buffer, length delimited.
403
+ * @param reader Reader or buffer to decode from
404
+ * @returns ReportRow
405
+ * @throws {Error} If the payload is not a reader or valid buffer
406
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
407
+ */
408
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ReportRow;
409
+
410
+ /**
411
+ * Verifies a ReportRow message.
412
+ * @param message Plain object to verify
413
+ * @returns `null` if valid, otherwise the reason why it is not
414
+ */
415
+ public static verify(message: { [k: string]: any }): (string|null);
416
+
417
+ /**
418
+ * Creates a ReportRow message from a plain object. Also converts values to their respective internal types.
419
+ * @param object Plain object
420
+ * @returns ReportRow
421
+ */
422
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ReportRow;
423
+
424
+ /**
425
+ * Creates a plain object from a ReportRow message. Also converts values to other types if specified.
426
+ * @param message ReportRow
427
+ * @param [options] Conversion options
428
+ * @returns Plain object
429
+ */
430
+ public static toObject(message: google.shopping.merchant.reports.v1.ReportRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
431
+
432
+ /**
433
+ * Converts this ReportRow to JSON.
434
+ * @returns JSON object
435
+ */
436
+ public toJSON(): { [k: string]: any };
437
+
438
+ /**
439
+ * Gets the default type url for ReportRow
440
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
441
+ * @returns The default type url
442
+ */
443
+ public static getTypeUrl(typeUrlPrefix?: string): string;
444
+ }
445
+
446
+ /** Properties of a ProductPerformanceView. */
447
+ interface IProductPerformanceView {
448
+
449
+ /** ProductPerformanceView marketingMethod */
450
+ marketingMethod?: (google.shopping.merchant.reports.v1.MarketingMethod.MarketingMethodEnum|keyof typeof google.shopping.merchant.reports.v1.MarketingMethod.MarketingMethodEnum|null);
451
+
452
+ /** ProductPerformanceView date */
453
+ date?: (google.type.IDate|null);
454
+
455
+ /** ProductPerformanceView week */
456
+ week?: (google.type.IDate|null);
457
+
458
+ /** ProductPerformanceView customerCountryCode */
459
+ customerCountryCode?: (string|null);
460
+
461
+ /** ProductPerformanceView offerId */
462
+ offerId?: (string|null);
463
+
464
+ /** ProductPerformanceView title */
465
+ title?: (string|null);
466
+
467
+ /** ProductPerformanceView brand */
468
+ brand?: (string|null);
469
+
470
+ /** ProductPerformanceView categoryL1 */
471
+ categoryL1?: (string|null);
472
+
473
+ /** ProductPerformanceView categoryL2 */
474
+ categoryL2?: (string|null);
475
+
476
+ /** ProductPerformanceView categoryL3 */
477
+ categoryL3?: (string|null);
478
+
479
+ /** ProductPerformanceView categoryL4 */
480
+ categoryL4?: (string|null);
481
+
482
+ /** ProductPerformanceView categoryL5 */
483
+ categoryL5?: (string|null);
484
+
485
+ /** ProductPerformanceView productTypeL1 */
486
+ productTypeL1?: (string|null);
487
+
488
+ /** ProductPerformanceView productTypeL2 */
489
+ productTypeL2?: (string|null);
490
+
491
+ /** ProductPerformanceView productTypeL3 */
492
+ productTypeL3?: (string|null);
493
+
494
+ /** ProductPerformanceView productTypeL4 */
495
+ productTypeL4?: (string|null);
496
+
497
+ /** ProductPerformanceView productTypeL5 */
498
+ productTypeL5?: (string|null);
499
+
500
+ /** ProductPerformanceView customLabel0 */
501
+ customLabel0?: (string|null);
502
+
503
+ /** ProductPerformanceView customLabel1 */
504
+ customLabel1?: (string|null);
505
+
506
+ /** ProductPerformanceView customLabel2 */
507
+ customLabel2?: (string|null);
508
+
509
+ /** ProductPerformanceView customLabel3 */
510
+ customLabel3?: (string|null);
511
+
512
+ /** ProductPerformanceView customLabel4 */
513
+ customLabel4?: (string|null);
514
+
515
+ /** ProductPerformanceView clicks */
516
+ clicks?: (number|Long|string|null);
517
+
518
+ /** ProductPerformanceView impressions */
519
+ impressions?: (number|Long|string|null);
520
+
521
+ /** ProductPerformanceView clickThroughRate */
522
+ clickThroughRate?: (number|null);
523
+
524
+ /** ProductPerformanceView conversions */
525
+ conversions?: (number|null);
526
+
527
+ /** ProductPerformanceView conversionValue */
528
+ conversionValue?: (google.shopping.type.IPrice|null);
529
+
530
+ /** ProductPerformanceView conversionRate */
531
+ conversionRate?: (number|null);
532
+ }
533
+
534
+ /** Represents a ProductPerformanceView. */
535
+ class ProductPerformanceView implements IProductPerformanceView {
536
+
537
+ /**
538
+ * Constructs a new ProductPerformanceView.
539
+ * @param [properties] Properties to set
540
+ */
541
+ constructor(properties?: google.shopping.merchant.reports.v1.IProductPerformanceView);
542
+
543
+ /** ProductPerformanceView marketingMethod. */
544
+ public marketingMethod?: (google.shopping.merchant.reports.v1.MarketingMethod.MarketingMethodEnum|keyof typeof google.shopping.merchant.reports.v1.MarketingMethod.MarketingMethodEnum|null);
545
+
546
+ /** ProductPerformanceView date. */
547
+ public date?: (google.type.IDate|null);
548
+
549
+ /** ProductPerformanceView week. */
550
+ public week?: (google.type.IDate|null);
551
+
552
+ /** ProductPerformanceView customerCountryCode. */
553
+ public customerCountryCode?: (string|null);
554
+
555
+ /** ProductPerformanceView offerId. */
556
+ public offerId?: (string|null);
557
+
558
+ /** ProductPerformanceView title. */
559
+ public title?: (string|null);
560
+
561
+ /** ProductPerformanceView brand. */
562
+ public brand?: (string|null);
563
+
564
+ /** ProductPerformanceView categoryL1. */
565
+ public categoryL1?: (string|null);
566
+
567
+ /** ProductPerformanceView categoryL2. */
568
+ public categoryL2?: (string|null);
569
+
570
+ /** ProductPerformanceView categoryL3. */
571
+ public categoryL3?: (string|null);
572
+
573
+ /** ProductPerformanceView categoryL4. */
574
+ public categoryL4?: (string|null);
575
+
576
+ /** ProductPerformanceView categoryL5. */
577
+ public categoryL5?: (string|null);
578
+
579
+ /** ProductPerformanceView productTypeL1. */
580
+ public productTypeL1?: (string|null);
581
+
582
+ /** ProductPerformanceView productTypeL2. */
583
+ public productTypeL2?: (string|null);
584
+
585
+ /** ProductPerformanceView productTypeL3. */
586
+ public productTypeL3?: (string|null);
587
+
588
+ /** ProductPerformanceView productTypeL4. */
589
+ public productTypeL4?: (string|null);
590
+
591
+ /** ProductPerformanceView productTypeL5. */
592
+ public productTypeL5?: (string|null);
593
+
594
+ /** ProductPerformanceView customLabel0. */
595
+ public customLabel0?: (string|null);
596
+
597
+ /** ProductPerformanceView customLabel1. */
598
+ public customLabel1?: (string|null);
599
+
600
+ /** ProductPerformanceView customLabel2. */
601
+ public customLabel2?: (string|null);
602
+
603
+ /** ProductPerformanceView customLabel3. */
604
+ public customLabel3?: (string|null);
605
+
606
+ /** ProductPerformanceView customLabel4. */
607
+ public customLabel4?: (string|null);
608
+
609
+ /** ProductPerformanceView clicks. */
610
+ public clicks?: (number|Long|string|null);
611
+
612
+ /** ProductPerformanceView impressions. */
613
+ public impressions?: (number|Long|string|null);
614
+
615
+ /** ProductPerformanceView clickThroughRate. */
616
+ public clickThroughRate?: (number|null);
617
+
618
+ /** ProductPerformanceView conversions. */
619
+ public conversions?: (number|null);
620
+
621
+ /** ProductPerformanceView conversionValue. */
622
+ public conversionValue?: (google.shopping.type.IPrice|null);
623
+
624
+ /** ProductPerformanceView conversionRate. */
625
+ public conversionRate?: (number|null);
626
+
627
+ /**
628
+ * Creates a new ProductPerformanceView instance using the specified properties.
629
+ * @param [properties] Properties to set
630
+ * @returns ProductPerformanceView instance
631
+ */
632
+ public static create(properties?: google.shopping.merchant.reports.v1.IProductPerformanceView): google.shopping.merchant.reports.v1.ProductPerformanceView;
633
+
634
+ /**
635
+ * Encodes the specified ProductPerformanceView message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductPerformanceView.verify|verify} messages.
636
+ * @param message ProductPerformanceView message or plain object to encode
637
+ * @param [writer] Writer to encode to
638
+ * @returns Writer
639
+ */
640
+ public static encode(message: google.shopping.merchant.reports.v1.IProductPerformanceView, writer?: $protobuf.Writer): $protobuf.Writer;
641
+
642
+ /**
643
+ * Encodes the specified ProductPerformanceView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductPerformanceView.verify|verify} messages.
644
+ * @param message ProductPerformanceView message or plain object to encode
645
+ * @param [writer] Writer to encode to
646
+ * @returns Writer
647
+ */
648
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IProductPerformanceView, writer?: $protobuf.Writer): $protobuf.Writer;
649
+
650
+ /**
651
+ * Decodes a ProductPerformanceView message from the specified reader or buffer.
652
+ * @param reader Reader or buffer to decode from
653
+ * @param [length] Message length if known beforehand
654
+ * @returns ProductPerformanceView
655
+ * @throws {Error} If the payload is not a reader or valid buffer
656
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
657
+ */
658
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductPerformanceView;
659
+
660
+ /**
661
+ * Decodes a ProductPerformanceView message from the specified reader or buffer, length delimited.
662
+ * @param reader Reader or buffer to decode from
663
+ * @returns ProductPerformanceView
664
+ * @throws {Error} If the payload is not a reader or valid buffer
665
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
666
+ */
667
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductPerformanceView;
668
+
669
+ /**
670
+ * Verifies a ProductPerformanceView message.
671
+ * @param message Plain object to verify
672
+ * @returns `null` if valid, otherwise the reason why it is not
673
+ */
674
+ public static verify(message: { [k: string]: any }): (string|null);
675
+
676
+ /**
677
+ * Creates a ProductPerformanceView message from a plain object. Also converts values to their respective internal types.
678
+ * @param object Plain object
679
+ * @returns ProductPerformanceView
680
+ */
681
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductPerformanceView;
682
+
683
+ /**
684
+ * Creates a plain object from a ProductPerformanceView message. Also converts values to other types if specified.
685
+ * @param message ProductPerformanceView
686
+ * @param [options] Conversion options
687
+ * @returns Plain object
688
+ */
689
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductPerformanceView, options?: $protobuf.IConversionOptions): { [k: string]: any };
690
+
691
+ /**
692
+ * Converts this ProductPerformanceView to JSON.
693
+ * @returns JSON object
694
+ */
695
+ public toJSON(): { [k: string]: any };
696
+
697
+ /**
698
+ * Gets the default type url for ProductPerformanceView
699
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
700
+ * @returns The default type url
701
+ */
702
+ public static getTypeUrl(typeUrlPrefix?: string): string;
703
+ }
704
+
705
+ /** Properties of a ProductView. */
706
+ interface IProductView {
707
+
708
+ /** ProductView id */
709
+ id?: (string|null);
710
+
711
+ /** ProductView channel */
712
+ channel?: (google.shopping.type.Channel.ChannelEnum|keyof typeof google.shopping.type.Channel.ChannelEnum|null);
713
+
714
+ /** ProductView languageCode */
715
+ languageCode?: (string|null);
716
+
717
+ /** ProductView feedLabel */
718
+ feedLabel?: (string|null);
719
+
720
+ /** ProductView offerId */
721
+ offerId?: (string|null);
722
+
723
+ /** ProductView title */
724
+ title?: (string|null);
725
+
726
+ /** ProductView brand */
727
+ brand?: (string|null);
728
+
729
+ /** ProductView categoryL1 */
730
+ categoryL1?: (string|null);
731
+
732
+ /** ProductView categoryL2 */
733
+ categoryL2?: (string|null);
734
+
735
+ /** ProductView categoryL3 */
736
+ categoryL3?: (string|null);
737
+
738
+ /** ProductView categoryL4 */
739
+ categoryL4?: (string|null);
740
+
741
+ /** ProductView categoryL5 */
742
+ categoryL5?: (string|null);
743
+
744
+ /** ProductView productTypeL1 */
745
+ productTypeL1?: (string|null);
746
+
747
+ /** ProductView productTypeL2 */
748
+ productTypeL2?: (string|null);
749
+
750
+ /** ProductView productTypeL3 */
751
+ productTypeL3?: (string|null);
752
+
753
+ /** ProductView productTypeL4 */
754
+ productTypeL4?: (string|null);
755
+
756
+ /** ProductView productTypeL5 */
757
+ productTypeL5?: (string|null);
758
+
759
+ /** ProductView price */
760
+ price?: (google.shopping.type.IPrice|null);
761
+
762
+ /** ProductView condition */
763
+ condition?: (string|null);
764
+
765
+ /** ProductView availability */
766
+ availability?: (string|null);
767
+
768
+ /** ProductView shippingLabel */
769
+ shippingLabel?: (string|null);
770
+
771
+ /** ProductView gtin */
772
+ gtin?: (string[]|null);
773
+
774
+ /** ProductView itemGroupId */
775
+ itemGroupId?: (string|null);
776
+
777
+ /** ProductView thumbnailLink */
778
+ thumbnailLink?: (string|null);
779
+
780
+ /** ProductView creationTime */
781
+ creationTime?: (google.protobuf.ITimestamp|null);
782
+
783
+ /** ProductView expirationDate */
784
+ expirationDate?: (google.type.IDate|null);
785
+
786
+ /** ProductView aggregatedReportingContextStatus */
787
+ aggregatedReportingContextStatus?: (google.shopping.merchant.reports.v1.ProductView.AggregatedReportingContextStatus|keyof typeof google.shopping.merchant.reports.v1.ProductView.AggregatedReportingContextStatus|null);
788
+
789
+ /** ProductView itemIssues */
790
+ itemIssues?: (google.shopping.merchant.reports.v1.ProductView.IItemIssue[]|null);
791
+
792
+ /** ProductView clickPotential */
793
+ clickPotential?: (google.shopping.merchant.reports.v1.ProductView.ClickPotential|keyof typeof google.shopping.merchant.reports.v1.ProductView.ClickPotential|null);
794
+
795
+ /** ProductView clickPotentialRank */
796
+ clickPotentialRank?: (number|Long|string|null);
797
+ }
798
+
799
+ /** Represents a ProductView. */
800
+ class ProductView implements IProductView {
801
+
802
+ /**
803
+ * Constructs a new ProductView.
804
+ * @param [properties] Properties to set
805
+ */
806
+ constructor(properties?: google.shopping.merchant.reports.v1.IProductView);
807
+
808
+ /** ProductView id. */
809
+ public id?: (string|null);
810
+
811
+ /** ProductView channel. */
812
+ public channel?: (google.shopping.type.Channel.ChannelEnum|keyof typeof google.shopping.type.Channel.ChannelEnum|null);
813
+
814
+ /** ProductView languageCode. */
815
+ public languageCode?: (string|null);
816
+
817
+ /** ProductView feedLabel. */
818
+ public feedLabel?: (string|null);
819
+
820
+ /** ProductView offerId. */
821
+ public offerId?: (string|null);
822
+
823
+ /** ProductView title. */
824
+ public title?: (string|null);
825
+
826
+ /** ProductView brand. */
827
+ public brand?: (string|null);
828
+
829
+ /** ProductView categoryL1. */
830
+ public categoryL1?: (string|null);
831
+
832
+ /** ProductView categoryL2. */
833
+ public categoryL2?: (string|null);
834
+
835
+ /** ProductView categoryL3. */
836
+ public categoryL3?: (string|null);
837
+
838
+ /** ProductView categoryL4. */
839
+ public categoryL4?: (string|null);
840
+
841
+ /** ProductView categoryL5. */
842
+ public categoryL5?: (string|null);
843
+
844
+ /** ProductView productTypeL1. */
845
+ public productTypeL1?: (string|null);
846
+
847
+ /** ProductView productTypeL2. */
848
+ public productTypeL2?: (string|null);
849
+
850
+ /** ProductView productTypeL3. */
851
+ public productTypeL3?: (string|null);
852
+
853
+ /** ProductView productTypeL4. */
854
+ public productTypeL4?: (string|null);
855
+
856
+ /** ProductView productTypeL5. */
857
+ public productTypeL5?: (string|null);
858
+
859
+ /** ProductView price. */
860
+ public price?: (google.shopping.type.IPrice|null);
861
+
862
+ /** ProductView condition. */
863
+ public condition?: (string|null);
864
+
865
+ /** ProductView availability. */
866
+ public availability?: (string|null);
867
+
868
+ /** ProductView shippingLabel. */
869
+ public shippingLabel?: (string|null);
870
+
871
+ /** ProductView gtin. */
872
+ public gtin: string[];
873
+
874
+ /** ProductView itemGroupId. */
875
+ public itemGroupId?: (string|null);
876
+
877
+ /** ProductView thumbnailLink. */
878
+ public thumbnailLink?: (string|null);
879
+
880
+ /** ProductView creationTime. */
881
+ public creationTime?: (google.protobuf.ITimestamp|null);
882
+
883
+ /** ProductView expirationDate. */
884
+ public expirationDate?: (google.type.IDate|null);
885
+
886
+ /** ProductView aggregatedReportingContextStatus. */
887
+ public aggregatedReportingContextStatus?: (google.shopping.merchant.reports.v1.ProductView.AggregatedReportingContextStatus|keyof typeof google.shopping.merchant.reports.v1.ProductView.AggregatedReportingContextStatus|null);
888
+
889
+ /** ProductView itemIssues. */
890
+ public itemIssues: google.shopping.merchant.reports.v1.ProductView.IItemIssue[];
891
+
892
+ /** ProductView clickPotential. */
893
+ public clickPotential: (google.shopping.merchant.reports.v1.ProductView.ClickPotential|keyof typeof google.shopping.merchant.reports.v1.ProductView.ClickPotential);
894
+
895
+ /** ProductView clickPotentialRank. */
896
+ public clickPotentialRank?: (number|Long|string|null);
897
+
898
+ /**
899
+ * Creates a new ProductView instance using the specified properties.
900
+ * @param [properties] Properties to set
901
+ * @returns ProductView instance
902
+ */
903
+ public static create(properties?: google.shopping.merchant.reports.v1.IProductView): google.shopping.merchant.reports.v1.ProductView;
904
+
905
+ /**
906
+ * Encodes the specified ProductView message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.verify|verify} messages.
907
+ * @param message ProductView message or plain object to encode
908
+ * @param [writer] Writer to encode to
909
+ * @returns Writer
910
+ */
911
+ public static encode(message: google.shopping.merchant.reports.v1.IProductView, writer?: $protobuf.Writer): $protobuf.Writer;
912
+
913
+ /**
914
+ * Encodes the specified ProductView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.verify|verify} messages.
915
+ * @param message ProductView message or plain object to encode
916
+ * @param [writer] Writer to encode to
917
+ * @returns Writer
918
+ */
919
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IProductView, writer?: $protobuf.Writer): $protobuf.Writer;
920
+
921
+ /**
922
+ * Decodes a ProductView message from the specified reader or buffer.
923
+ * @param reader Reader or buffer to decode from
924
+ * @param [length] Message length if known beforehand
925
+ * @returns ProductView
926
+ * @throws {Error} If the payload is not a reader or valid buffer
927
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
928
+ */
929
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductView;
930
+
931
+ /**
932
+ * Decodes a ProductView message from the specified reader or buffer, length delimited.
933
+ * @param reader Reader or buffer to decode from
934
+ * @returns ProductView
935
+ * @throws {Error} If the payload is not a reader or valid buffer
936
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
937
+ */
938
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductView;
939
+
940
+ /**
941
+ * Verifies a ProductView message.
942
+ * @param message Plain object to verify
943
+ * @returns `null` if valid, otherwise the reason why it is not
944
+ */
945
+ public static verify(message: { [k: string]: any }): (string|null);
946
+
947
+ /**
948
+ * Creates a ProductView message from a plain object. Also converts values to their respective internal types.
949
+ * @param object Plain object
950
+ * @returns ProductView
951
+ */
952
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductView;
953
+
954
+ /**
955
+ * Creates a plain object from a ProductView message. Also converts values to other types if specified.
956
+ * @param message ProductView
957
+ * @param [options] Conversion options
958
+ * @returns Plain object
959
+ */
960
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductView, options?: $protobuf.IConversionOptions): { [k: string]: any };
961
+
962
+ /**
963
+ * Converts this ProductView to JSON.
964
+ * @returns JSON object
965
+ */
966
+ public toJSON(): { [k: string]: any };
967
+
968
+ /**
969
+ * Gets the default type url for ProductView
970
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
971
+ * @returns The default type url
972
+ */
973
+ public static getTypeUrl(typeUrlPrefix?: string): string;
974
+ }
975
+
976
+ namespace ProductView {
977
+
978
+ /** Properties of an ItemIssue. */
979
+ interface IItemIssue {
980
+
981
+ /** ItemIssue type */
982
+ type?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType|null);
983
+
984
+ /** ItemIssue severity */
985
+ severity?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity|null);
986
+
987
+ /** ItemIssue resolution */
988
+ resolution?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueResolution|keyof typeof google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueResolution|null);
989
+ }
990
+
991
+ /** Represents an ItemIssue. */
992
+ class ItemIssue implements IItemIssue {
993
+
994
+ /**
995
+ * Constructs a new ItemIssue.
996
+ * @param [properties] Properties to set
997
+ */
998
+ constructor(properties?: google.shopping.merchant.reports.v1.ProductView.IItemIssue);
999
+
1000
+ /** ItemIssue type. */
1001
+ public type?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType|null);
1002
+
1003
+ /** ItemIssue severity. */
1004
+ public severity?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity|null);
1005
+
1006
+ /** ItemIssue resolution. */
1007
+ public resolution?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueResolution|keyof typeof google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueResolution|null);
1008
+
1009
+ /**
1010
+ * Creates a new ItemIssue instance using the specified properties.
1011
+ * @param [properties] Properties to set
1012
+ * @returns ItemIssue instance
1013
+ */
1014
+ public static create(properties?: google.shopping.merchant.reports.v1.ProductView.IItemIssue): google.shopping.merchant.reports.v1.ProductView.ItemIssue;
1015
+
1016
+ /**
1017
+ * Encodes the specified ItemIssue message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.verify|verify} messages.
1018
+ * @param message ItemIssue message or plain object to encode
1019
+ * @param [writer] Writer to encode to
1020
+ * @returns Writer
1021
+ */
1022
+ public static encode(message: google.shopping.merchant.reports.v1.ProductView.IItemIssue, writer?: $protobuf.Writer): $protobuf.Writer;
1023
+
1024
+ /**
1025
+ * Encodes the specified ItemIssue message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.verify|verify} messages.
1026
+ * @param message ItemIssue message or plain object to encode
1027
+ * @param [writer] Writer to encode to
1028
+ * @returns Writer
1029
+ */
1030
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ProductView.IItemIssue, writer?: $protobuf.Writer): $protobuf.Writer;
1031
+
1032
+ /**
1033
+ * Decodes an ItemIssue message from the specified reader or buffer.
1034
+ * @param reader Reader or buffer to decode from
1035
+ * @param [length] Message length if known beforehand
1036
+ * @returns ItemIssue
1037
+ * @throws {Error} If the payload is not a reader or valid buffer
1038
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1039
+ */
1040
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductView.ItemIssue;
1041
+
1042
+ /**
1043
+ * Decodes an ItemIssue message from the specified reader or buffer, length delimited.
1044
+ * @param reader Reader or buffer to decode from
1045
+ * @returns ItemIssue
1046
+ * @throws {Error} If the payload is not a reader or valid buffer
1047
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1048
+ */
1049
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductView.ItemIssue;
1050
+
1051
+ /**
1052
+ * Verifies an ItemIssue message.
1053
+ * @param message Plain object to verify
1054
+ * @returns `null` if valid, otherwise the reason why it is not
1055
+ */
1056
+ public static verify(message: { [k: string]: any }): (string|null);
1057
+
1058
+ /**
1059
+ * Creates an ItemIssue message from a plain object. Also converts values to their respective internal types.
1060
+ * @param object Plain object
1061
+ * @returns ItemIssue
1062
+ */
1063
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductView.ItemIssue;
1064
+
1065
+ /**
1066
+ * Creates a plain object from an ItemIssue message. Also converts values to other types if specified.
1067
+ * @param message ItemIssue
1068
+ * @param [options] Conversion options
1069
+ * @returns Plain object
1070
+ */
1071
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue, options?: $protobuf.IConversionOptions): { [k: string]: any };
1072
+
1073
+ /**
1074
+ * Converts this ItemIssue to JSON.
1075
+ * @returns JSON object
1076
+ */
1077
+ public toJSON(): { [k: string]: any };
1078
+
1079
+ /**
1080
+ * Gets the default type url for ItemIssue
1081
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1082
+ * @returns The default type url
1083
+ */
1084
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1085
+ }
1086
+
1087
+ namespace ItemIssue {
1088
+
1089
+ /** Properties of an ItemIssueType. */
1090
+ interface IItemIssueType {
1091
+
1092
+ /** ItemIssueType code */
1093
+ code?: (string|null);
1094
+
1095
+ /** ItemIssueType canonicalAttribute */
1096
+ canonicalAttribute?: (string|null);
1097
+ }
1098
+
1099
+ /** Represents an ItemIssueType. */
1100
+ class ItemIssueType implements IItemIssueType {
1101
+
1102
+ /**
1103
+ * Constructs a new ItemIssueType.
1104
+ * @param [properties] Properties to set
1105
+ */
1106
+ constructor(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType);
1107
+
1108
+ /** ItemIssueType code. */
1109
+ public code?: (string|null);
1110
+
1111
+ /** ItemIssueType canonicalAttribute. */
1112
+ public canonicalAttribute?: (string|null);
1113
+
1114
+ /**
1115
+ * Creates a new ItemIssueType instance using the specified properties.
1116
+ * @param [properties] Properties to set
1117
+ * @returns ItemIssueType instance
1118
+ */
1119
+ public static create(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType;
1120
+
1121
+ /**
1122
+ * Encodes the specified ItemIssueType message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType.verify|verify} messages.
1123
+ * @param message ItemIssueType message or plain object to encode
1124
+ * @param [writer] Writer to encode to
1125
+ * @returns Writer
1126
+ */
1127
+ public static encode(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType, writer?: $protobuf.Writer): $protobuf.Writer;
1128
+
1129
+ /**
1130
+ * Encodes the specified ItemIssueType message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType.verify|verify} messages.
1131
+ * @param message ItemIssueType message or plain object to encode
1132
+ * @param [writer] Writer to encode to
1133
+ * @returns Writer
1134
+ */
1135
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueType, writer?: $protobuf.Writer): $protobuf.Writer;
1136
+
1137
+ /**
1138
+ * Decodes an ItemIssueType message from the specified reader or buffer.
1139
+ * @param reader Reader or buffer to decode from
1140
+ * @param [length] Message length if known beforehand
1141
+ * @returns ItemIssueType
1142
+ * @throws {Error} If the payload is not a reader or valid buffer
1143
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1144
+ */
1145
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType;
1146
+
1147
+ /**
1148
+ * Decodes an ItemIssueType message from the specified reader or buffer, length delimited.
1149
+ * @param reader Reader or buffer to decode from
1150
+ * @returns ItemIssueType
1151
+ * @throws {Error} If the payload is not a reader or valid buffer
1152
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1153
+ */
1154
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType;
1155
+
1156
+ /**
1157
+ * Verifies an ItemIssueType message.
1158
+ * @param message Plain object to verify
1159
+ * @returns `null` if valid, otherwise the reason why it is not
1160
+ */
1161
+ public static verify(message: { [k: string]: any }): (string|null);
1162
+
1163
+ /**
1164
+ * Creates an ItemIssueType message from a plain object. Also converts values to their respective internal types.
1165
+ * @param object Plain object
1166
+ * @returns ItemIssueType
1167
+ */
1168
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType;
1169
+
1170
+ /**
1171
+ * Creates a plain object from an ItemIssueType message. Also converts values to other types if specified.
1172
+ * @param message ItemIssueType
1173
+ * @param [options] Conversion options
1174
+ * @returns Plain object
1175
+ */
1176
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueType, options?: $protobuf.IConversionOptions): { [k: string]: any };
1177
+
1178
+ /**
1179
+ * Converts this ItemIssueType to JSON.
1180
+ * @returns JSON object
1181
+ */
1182
+ public toJSON(): { [k: string]: any };
1183
+
1184
+ /**
1185
+ * Gets the default type url for ItemIssueType
1186
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1187
+ * @returns The default type url
1188
+ */
1189
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1190
+ }
1191
+
1192
+ /** Properties of an ItemIssueSeverity. */
1193
+ interface IItemIssueSeverity {
1194
+
1195
+ /** ItemIssueSeverity severityPerReportingContext */
1196
+ severityPerReportingContext?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext[]|null);
1197
+
1198
+ /** ItemIssueSeverity aggregatedSeverity */
1199
+ aggregatedSeverity?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity|keyof typeof google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity|null);
1200
+ }
1201
+
1202
+ /** Represents an ItemIssueSeverity. */
1203
+ class ItemIssueSeverity implements IItemIssueSeverity {
1204
+
1205
+ /**
1206
+ * Constructs a new ItemIssueSeverity.
1207
+ * @param [properties] Properties to set
1208
+ */
1209
+ constructor(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity);
1210
+
1211
+ /** ItemIssueSeverity severityPerReportingContext. */
1212
+ public severityPerReportingContext: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext[];
1213
+
1214
+ /** ItemIssueSeverity aggregatedSeverity. */
1215
+ public aggregatedSeverity?: (google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity|keyof typeof google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.AggregatedIssueSeverity|null);
1216
+
1217
+ /**
1218
+ * Creates a new ItemIssueSeverity instance using the specified properties.
1219
+ * @param [properties] Properties to set
1220
+ * @returns ItemIssueSeverity instance
1221
+ */
1222
+ public static create(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity;
1223
+
1224
+ /**
1225
+ * Encodes the specified ItemIssueSeverity message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.verify|verify} messages.
1226
+ * @param message ItemIssueSeverity message or plain object to encode
1227
+ * @param [writer] Writer to encode to
1228
+ * @returns Writer
1229
+ */
1230
+ public static encode(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity, writer?: $protobuf.Writer): $protobuf.Writer;
1231
+
1232
+ /**
1233
+ * Encodes the specified ItemIssueSeverity message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.verify|verify} messages.
1234
+ * @param message ItemIssueSeverity message or plain object to encode
1235
+ * @param [writer] Writer to encode to
1236
+ * @returns Writer
1237
+ */
1238
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.IItemIssueSeverity, writer?: $protobuf.Writer): $protobuf.Writer;
1239
+
1240
+ /**
1241
+ * Decodes an ItemIssueSeverity message from the specified reader or buffer.
1242
+ * @param reader Reader or buffer to decode from
1243
+ * @param [length] Message length if known beforehand
1244
+ * @returns ItemIssueSeverity
1245
+ * @throws {Error} If the payload is not a reader or valid buffer
1246
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1247
+ */
1248
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity;
1249
+
1250
+ /**
1251
+ * Decodes an ItemIssueSeverity message from the specified reader or buffer, length delimited.
1252
+ * @param reader Reader or buffer to decode from
1253
+ * @returns ItemIssueSeverity
1254
+ * @throws {Error} If the payload is not a reader or valid buffer
1255
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1256
+ */
1257
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity;
1258
+
1259
+ /**
1260
+ * Verifies an ItemIssueSeverity message.
1261
+ * @param message Plain object to verify
1262
+ * @returns `null` if valid, otherwise the reason why it is not
1263
+ */
1264
+ public static verify(message: { [k: string]: any }): (string|null);
1265
+
1266
+ /**
1267
+ * Creates an ItemIssueSeverity message from a plain object. Also converts values to their respective internal types.
1268
+ * @param object Plain object
1269
+ * @returns ItemIssueSeverity
1270
+ */
1271
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity;
1272
+
1273
+ /**
1274
+ * Creates a plain object from an ItemIssueSeverity message. Also converts values to other types if specified.
1275
+ * @param message ItemIssueSeverity
1276
+ * @param [options] Conversion options
1277
+ * @returns Plain object
1278
+ */
1279
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity, options?: $protobuf.IConversionOptions): { [k: string]: any };
1280
+
1281
+ /**
1282
+ * Converts this ItemIssueSeverity to JSON.
1283
+ * @returns JSON object
1284
+ */
1285
+ public toJSON(): { [k: string]: any };
1286
+
1287
+ /**
1288
+ * Gets the default type url for ItemIssueSeverity
1289
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1290
+ * @returns The default type url
1291
+ */
1292
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1293
+ }
1294
+
1295
+ namespace ItemIssueSeverity {
1296
+
1297
+ /** Properties of an IssueSeverityPerReportingContext. */
1298
+ interface IIssueSeverityPerReportingContext {
1299
+
1300
+ /** IssueSeverityPerReportingContext reportingContext */
1301
+ reportingContext?: (google.shopping.type.ReportingContext.ReportingContextEnum|keyof typeof google.shopping.type.ReportingContext.ReportingContextEnum|null);
1302
+
1303
+ /** IssueSeverityPerReportingContext disapprovedCountries */
1304
+ disapprovedCountries?: (string[]|null);
1305
+
1306
+ /** IssueSeverityPerReportingContext demotedCountries */
1307
+ demotedCountries?: (string[]|null);
1308
+ }
1309
+
1310
+ /** Represents an IssueSeverityPerReportingContext. */
1311
+ class IssueSeverityPerReportingContext implements IIssueSeverityPerReportingContext {
1312
+
1313
+ /**
1314
+ * Constructs a new IssueSeverityPerReportingContext.
1315
+ * @param [properties] Properties to set
1316
+ */
1317
+ constructor(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext);
1318
+
1319
+ /** IssueSeverityPerReportingContext reportingContext. */
1320
+ public reportingContext?: (google.shopping.type.ReportingContext.ReportingContextEnum|keyof typeof google.shopping.type.ReportingContext.ReportingContextEnum|null);
1321
+
1322
+ /** IssueSeverityPerReportingContext disapprovedCountries. */
1323
+ public disapprovedCountries: string[];
1324
+
1325
+ /** IssueSeverityPerReportingContext demotedCountries. */
1326
+ public demotedCountries: string[];
1327
+
1328
+ /**
1329
+ * Creates a new IssueSeverityPerReportingContext instance using the specified properties.
1330
+ * @param [properties] Properties to set
1331
+ * @returns IssueSeverityPerReportingContext instance
1332
+ */
1333
+ public static create(properties?: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext;
1334
+
1335
+ /**
1336
+ * Encodes the specified IssueSeverityPerReportingContext message. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.verify|verify} messages.
1337
+ * @param message IssueSeverityPerReportingContext message or plain object to encode
1338
+ * @param [writer] Writer to encode to
1339
+ * @returns Writer
1340
+ */
1341
+ public static encode(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext, writer?: $protobuf.Writer): $protobuf.Writer;
1342
+
1343
+ /**
1344
+ * Encodes the specified IssueSeverityPerReportingContext message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext.verify|verify} messages.
1345
+ * @param message IssueSeverityPerReportingContext message or plain object to encode
1346
+ * @param [writer] Writer to encode to
1347
+ * @returns Writer
1348
+ */
1349
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IIssueSeverityPerReportingContext, writer?: $protobuf.Writer): $protobuf.Writer;
1350
+
1351
+ /**
1352
+ * Decodes an IssueSeverityPerReportingContext message from the specified reader or buffer.
1353
+ * @param reader Reader or buffer to decode from
1354
+ * @param [length] Message length if known beforehand
1355
+ * @returns IssueSeverityPerReportingContext
1356
+ * @throws {Error} If the payload is not a reader or valid buffer
1357
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1358
+ */
1359
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext;
1360
+
1361
+ /**
1362
+ * Decodes an IssueSeverityPerReportingContext message from the specified reader or buffer, length delimited.
1363
+ * @param reader Reader or buffer to decode from
1364
+ * @returns IssueSeverityPerReportingContext
1365
+ * @throws {Error} If the payload is not a reader or valid buffer
1366
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1367
+ */
1368
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext;
1369
+
1370
+ /**
1371
+ * Verifies an IssueSeverityPerReportingContext message.
1372
+ * @param message Plain object to verify
1373
+ * @returns `null` if valid, otherwise the reason why it is not
1374
+ */
1375
+ public static verify(message: { [k: string]: any }): (string|null);
1376
+
1377
+ /**
1378
+ * Creates an IssueSeverityPerReportingContext message from a plain object. Also converts values to their respective internal types.
1379
+ * @param object Plain object
1380
+ * @returns IssueSeverityPerReportingContext
1381
+ */
1382
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext;
1383
+
1384
+ /**
1385
+ * Creates a plain object from an IssueSeverityPerReportingContext message. Also converts values to other types if specified.
1386
+ * @param message IssueSeverityPerReportingContext
1387
+ * @param [options] Conversion options
1388
+ * @returns Plain object
1389
+ */
1390
+ public static toObject(message: google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext, options?: $protobuf.IConversionOptions): { [k: string]: any };
1391
+
1392
+ /**
1393
+ * Converts this IssueSeverityPerReportingContext to JSON.
1394
+ * @returns JSON object
1395
+ */
1396
+ public toJSON(): { [k: string]: any };
1397
+
1398
+ /**
1399
+ * Gets the default type url for IssueSeverityPerReportingContext
1400
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1401
+ * @returns The default type url
1402
+ */
1403
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1404
+ }
1405
+
1406
+ /** AggregatedIssueSeverity enum. */
1407
+ enum AggregatedIssueSeverity {
1408
+ AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0,
1409
+ DISAPPROVED = 1,
1410
+ DEMOTED = 2,
1411
+ PENDING = 3
1412
+ }
1413
+ }
1414
+
1415
+ /** ItemIssueResolution enum. */
1416
+ enum ItemIssueResolution {
1417
+ ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0,
1418
+ MERCHANT_ACTION = 1,
1419
+ PENDING_PROCESSING = 2
1420
+ }
1421
+ }
1422
+
1423
+ /** AggregatedReportingContextStatus enum. */
1424
+ enum AggregatedReportingContextStatus {
1425
+ AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0,
1426
+ NOT_ELIGIBLE_OR_DISAPPROVED = 1,
1427
+ PENDING = 2,
1428
+ ELIGIBLE_LIMITED = 3,
1429
+ ELIGIBLE = 4
1430
+ }
1431
+
1432
+ /** ClickPotential enum. */
1433
+ enum ClickPotential {
1434
+ CLICK_POTENTIAL_UNSPECIFIED = 0,
1435
+ LOW = 1,
1436
+ MEDIUM = 2,
1437
+ HIGH = 3
1438
+ }
1439
+ }
1440
+
1441
+ /** Properties of a PriceCompetitivenessProductView. */
1442
+ interface IPriceCompetitivenessProductView {
1443
+
1444
+ /** PriceCompetitivenessProductView reportCountryCode */
1445
+ reportCountryCode?: (string|null);
1446
+
1447
+ /** PriceCompetitivenessProductView id */
1448
+ id?: (string|null);
1449
+
1450
+ /** PriceCompetitivenessProductView offerId */
1451
+ offerId?: (string|null);
1452
+
1453
+ /** PriceCompetitivenessProductView title */
1454
+ title?: (string|null);
1455
+
1456
+ /** PriceCompetitivenessProductView brand */
1457
+ brand?: (string|null);
1458
+
1459
+ /** PriceCompetitivenessProductView categoryL1 */
1460
+ categoryL1?: (string|null);
1461
+
1462
+ /** PriceCompetitivenessProductView categoryL2 */
1463
+ categoryL2?: (string|null);
1464
+
1465
+ /** PriceCompetitivenessProductView categoryL3 */
1466
+ categoryL3?: (string|null);
1467
+
1468
+ /** PriceCompetitivenessProductView categoryL4 */
1469
+ categoryL4?: (string|null);
1470
+
1471
+ /** PriceCompetitivenessProductView categoryL5 */
1472
+ categoryL5?: (string|null);
1473
+
1474
+ /** PriceCompetitivenessProductView productTypeL1 */
1475
+ productTypeL1?: (string|null);
1476
+
1477
+ /** PriceCompetitivenessProductView productTypeL2 */
1478
+ productTypeL2?: (string|null);
1479
+
1480
+ /** PriceCompetitivenessProductView productTypeL3 */
1481
+ productTypeL3?: (string|null);
1482
+
1483
+ /** PriceCompetitivenessProductView productTypeL4 */
1484
+ productTypeL4?: (string|null);
1485
+
1486
+ /** PriceCompetitivenessProductView productTypeL5 */
1487
+ productTypeL5?: (string|null);
1488
+
1489
+ /** PriceCompetitivenessProductView price */
1490
+ price?: (google.shopping.type.IPrice|null);
1491
+
1492
+ /** PriceCompetitivenessProductView benchmarkPrice */
1493
+ benchmarkPrice?: (google.shopping.type.IPrice|null);
1494
+ }
1495
+
1496
+ /** Represents a PriceCompetitivenessProductView. */
1497
+ class PriceCompetitivenessProductView implements IPriceCompetitivenessProductView {
1498
+
1499
+ /**
1500
+ * Constructs a new PriceCompetitivenessProductView.
1501
+ * @param [properties] Properties to set
1502
+ */
1503
+ constructor(properties?: google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView);
1504
+
1505
+ /** PriceCompetitivenessProductView reportCountryCode. */
1506
+ public reportCountryCode?: (string|null);
1507
+
1508
+ /** PriceCompetitivenessProductView id. */
1509
+ public id?: (string|null);
1510
+
1511
+ /** PriceCompetitivenessProductView offerId. */
1512
+ public offerId?: (string|null);
1513
+
1514
+ /** PriceCompetitivenessProductView title. */
1515
+ public title?: (string|null);
1516
+
1517
+ /** PriceCompetitivenessProductView brand. */
1518
+ public brand?: (string|null);
1519
+
1520
+ /** PriceCompetitivenessProductView categoryL1. */
1521
+ public categoryL1?: (string|null);
1522
+
1523
+ /** PriceCompetitivenessProductView categoryL2. */
1524
+ public categoryL2?: (string|null);
1525
+
1526
+ /** PriceCompetitivenessProductView categoryL3. */
1527
+ public categoryL3?: (string|null);
1528
+
1529
+ /** PriceCompetitivenessProductView categoryL4. */
1530
+ public categoryL4?: (string|null);
1531
+
1532
+ /** PriceCompetitivenessProductView categoryL5. */
1533
+ public categoryL5?: (string|null);
1534
+
1535
+ /** PriceCompetitivenessProductView productTypeL1. */
1536
+ public productTypeL1?: (string|null);
1537
+
1538
+ /** PriceCompetitivenessProductView productTypeL2. */
1539
+ public productTypeL2?: (string|null);
1540
+
1541
+ /** PriceCompetitivenessProductView productTypeL3. */
1542
+ public productTypeL3?: (string|null);
1543
+
1544
+ /** PriceCompetitivenessProductView productTypeL4. */
1545
+ public productTypeL4?: (string|null);
1546
+
1547
+ /** PriceCompetitivenessProductView productTypeL5. */
1548
+ public productTypeL5?: (string|null);
1549
+
1550
+ /** PriceCompetitivenessProductView price. */
1551
+ public price?: (google.shopping.type.IPrice|null);
1552
+
1553
+ /** PriceCompetitivenessProductView benchmarkPrice. */
1554
+ public benchmarkPrice?: (google.shopping.type.IPrice|null);
1555
+
1556
+ /**
1557
+ * Creates a new PriceCompetitivenessProductView instance using the specified properties.
1558
+ * @param [properties] Properties to set
1559
+ * @returns PriceCompetitivenessProductView instance
1560
+ */
1561
+ public static create(properties?: google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView): google.shopping.merchant.reports.v1.PriceCompetitivenessProductView;
1562
+
1563
+ /**
1564
+ * Encodes the specified PriceCompetitivenessProductView message. Does not implicitly {@link google.shopping.merchant.reports.v1.PriceCompetitivenessProductView.verify|verify} messages.
1565
+ * @param message PriceCompetitivenessProductView message or plain object to encode
1566
+ * @param [writer] Writer to encode to
1567
+ * @returns Writer
1568
+ */
1569
+ public static encode(message: google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView, writer?: $protobuf.Writer): $protobuf.Writer;
1570
+
1571
+ /**
1572
+ * Encodes the specified PriceCompetitivenessProductView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.PriceCompetitivenessProductView.verify|verify} messages.
1573
+ * @param message PriceCompetitivenessProductView message or plain object to encode
1574
+ * @param [writer] Writer to encode to
1575
+ * @returns Writer
1576
+ */
1577
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IPriceCompetitivenessProductView, writer?: $protobuf.Writer): $protobuf.Writer;
1578
+
1579
+ /**
1580
+ * Decodes a PriceCompetitivenessProductView message from the specified reader or buffer.
1581
+ * @param reader Reader or buffer to decode from
1582
+ * @param [length] Message length if known beforehand
1583
+ * @returns PriceCompetitivenessProductView
1584
+ * @throws {Error} If the payload is not a reader or valid buffer
1585
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1586
+ */
1587
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.PriceCompetitivenessProductView;
1588
+
1589
+ /**
1590
+ * Decodes a PriceCompetitivenessProductView message from the specified reader or buffer, length delimited.
1591
+ * @param reader Reader or buffer to decode from
1592
+ * @returns PriceCompetitivenessProductView
1593
+ * @throws {Error} If the payload is not a reader or valid buffer
1594
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1595
+ */
1596
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.PriceCompetitivenessProductView;
1597
+
1598
+ /**
1599
+ * Verifies a PriceCompetitivenessProductView message.
1600
+ * @param message Plain object to verify
1601
+ * @returns `null` if valid, otherwise the reason why it is not
1602
+ */
1603
+ public static verify(message: { [k: string]: any }): (string|null);
1604
+
1605
+ /**
1606
+ * Creates a PriceCompetitivenessProductView message from a plain object. Also converts values to their respective internal types.
1607
+ * @param object Plain object
1608
+ * @returns PriceCompetitivenessProductView
1609
+ */
1610
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.PriceCompetitivenessProductView;
1611
+
1612
+ /**
1613
+ * Creates a plain object from a PriceCompetitivenessProductView message. Also converts values to other types if specified.
1614
+ * @param message PriceCompetitivenessProductView
1615
+ * @param [options] Conversion options
1616
+ * @returns Plain object
1617
+ */
1618
+ public static toObject(message: google.shopping.merchant.reports.v1.PriceCompetitivenessProductView, options?: $protobuf.IConversionOptions): { [k: string]: any };
1619
+
1620
+ /**
1621
+ * Converts this PriceCompetitivenessProductView to JSON.
1622
+ * @returns JSON object
1623
+ */
1624
+ public toJSON(): { [k: string]: any };
1625
+
1626
+ /**
1627
+ * Gets the default type url for PriceCompetitivenessProductView
1628
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1629
+ * @returns The default type url
1630
+ */
1631
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1632
+ }
1633
+
1634
+ /** Properties of a PriceInsightsProductView. */
1635
+ interface IPriceInsightsProductView {
1636
+
1637
+ /** PriceInsightsProductView id */
1638
+ id?: (string|null);
1639
+
1640
+ /** PriceInsightsProductView offerId */
1641
+ offerId?: (string|null);
1642
+
1643
+ /** PriceInsightsProductView title */
1644
+ title?: (string|null);
1645
+
1646
+ /** PriceInsightsProductView brand */
1647
+ brand?: (string|null);
1648
+
1649
+ /** PriceInsightsProductView categoryL1 */
1650
+ categoryL1?: (string|null);
1651
+
1652
+ /** PriceInsightsProductView categoryL2 */
1653
+ categoryL2?: (string|null);
1654
+
1655
+ /** PriceInsightsProductView categoryL3 */
1656
+ categoryL3?: (string|null);
1657
+
1658
+ /** PriceInsightsProductView categoryL4 */
1659
+ categoryL4?: (string|null);
1660
+
1661
+ /** PriceInsightsProductView categoryL5 */
1662
+ categoryL5?: (string|null);
1663
+
1664
+ /** PriceInsightsProductView productTypeL1 */
1665
+ productTypeL1?: (string|null);
1666
+
1667
+ /** PriceInsightsProductView productTypeL2 */
1668
+ productTypeL2?: (string|null);
1669
+
1670
+ /** PriceInsightsProductView productTypeL3 */
1671
+ productTypeL3?: (string|null);
1672
+
1673
+ /** PriceInsightsProductView productTypeL4 */
1674
+ productTypeL4?: (string|null);
1675
+
1676
+ /** PriceInsightsProductView productTypeL5 */
1677
+ productTypeL5?: (string|null);
1678
+
1679
+ /** PriceInsightsProductView price */
1680
+ price?: (google.shopping.type.IPrice|null);
1681
+
1682
+ /** PriceInsightsProductView suggestedPrice */
1683
+ suggestedPrice?: (google.shopping.type.IPrice|null);
1684
+
1685
+ /** PriceInsightsProductView predictedImpressionsChangeFraction */
1686
+ predictedImpressionsChangeFraction?: (number|null);
1687
+
1688
+ /** PriceInsightsProductView predictedClicksChangeFraction */
1689
+ predictedClicksChangeFraction?: (number|null);
1690
+
1691
+ /** PriceInsightsProductView predictedConversionsChangeFraction */
1692
+ predictedConversionsChangeFraction?: (number|null);
1693
+
1694
+ /** PriceInsightsProductView effectiveness */
1695
+ effectiveness?: (google.shopping.merchant.reports.v1.PriceInsightsProductView.Effectiveness|keyof typeof google.shopping.merchant.reports.v1.PriceInsightsProductView.Effectiveness|null);
1696
+ }
1697
+
1698
+ /** Represents a PriceInsightsProductView. */
1699
+ class PriceInsightsProductView implements IPriceInsightsProductView {
1700
+
1701
+ /**
1702
+ * Constructs a new PriceInsightsProductView.
1703
+ * @param [properties] Properties to set
1704
+ */
1705
+ constructor(properties?: google.shopping.merchant.reports.v1.IPriceInsightsProductView);
1706
+
1707
+ /** PriceInsightsProductView id. */
1708
+ public id?: (string|null);
1709
+
1710
+ /** PriceInsightsProductView offerId. */
1711
+ public offerId?: (string|null);
1712
+
1713
+ /** PriceInsightsProductView title. */
1714
+ public title?: (string|null);
1715
+
1716
+ /** PriceInsightsProductView brand. */
1717
+ public brand?: (string|null);
1718
+
1719
+ /** PriceInsightsProductView categoryL1. */
1720
+ public categoryL1?: (string|null);
1721
+
1722
+ /** PriceInsightsProductView categoryL2. */
1723
+ public categoryL2?: (string|null);
1724
+
1725
+ /** PriceInsightsProductView categoryL3. */
1726
+ public categoryL3?: (string|null);
1727
+
1728
+ /** PriceInsightsProductView categoryL4. */
1729
+ public categoryL4?: (string|null);
1730
+
1731
+ /** PriceInsightsProductView categoryL5. */
1732
+ public categoryL5?: (string|null);
1733
+
1734
+ /** PriceInsightsProductView productTypeL1. */
1735
+ public productTypeL1?: (string|null);
1736
+
1737
+ /** PriceInsightsProductView productTypeL2. */
1738
+ public productTypeL2?: (string|null);
1739
+
1740
+ /** PriceInsightsProductView productTypeL3. */
1741
+ public productTypeL3?: (string|null);
1742
+
1743
+ /** PriceInsightsProductView productTypeL4. */
1744
+ public productTypeL4?: (string|null);
1745
+
1746
+ /** PriceInsightsProductView productTypeL5. */
1747
+ public productTypeL5?: (string|null);
1748
+
1749
+ /** PriceInsightsProductView price. */
1750
+ public price?: (google.shopping.type.IPrice|null);
1751
+
1752
+ /** PriceInsightsProductView suggestedPrice. */
1753
+ public suggestedPrice?: (google.shopping.type.IPrice|null);
1754
+
1755
+ /** PriceInsightsProductView predictedImpressionsChangeFraction. */
1756
+ public predictedImpressionsChangeFraction?: (number|null);
1757
+
1758
+ /** PriceInsightsProductView predictedClicksChangeFraction. */
1759
+ public predictedClicksChangeFraction?: (number|null);
1760
+
1761
+ /** PriceInsightsProductView predictedConversionsChangeFraction. */
1762
+ public predictedConversionsChangeFraction?: (number|null);
1763
+
1764
+ /** PriceInsightsProductView effectiveness. */
1765
+ public effectiveness: (google.shopping.merchant.reports.v1.PriceInsightsProductView.Effectiveness|keyof typeof google.shopping.merchant.reports.v1.PriceInsightsProductView.Effectiveness);
1766
+
1767
+ /**
1768
+ * Creates a new PriceInsightsProductView instance using the specified properties.
1769
+ * @param [properties] Properties to set
1770
+ * @returns PriceInsightsProductView instance
1771
+ */
1772
+ public static create(properties?: google.shopping.merchant.reports.v1.IPriceInsightsProductView): google.shopping.merchant.reports.v1.PriceInsightsProductView;
1773
+
1774
+ /**
1775
+ * Encodes the specified PriceInsightsProductView message. Does not implicitly {@link google.shopping.merchant.reports.v1.PriceInsightsProductView.verify|verify} messages.
1776
+ * @param message PriceInsightsProductView message or plain object to encode
1777
+ * @param [writer] Writer to encode to
1778
+ * @returns Writer
1779
+ */
1780
+ public static encode(message: google.shopping.merchant.reports.v1.IPriceInsightsProductView, writer?: $protobuf.Writer): $protobuf.Writer;
1781
+
1782
+ /**
1783
+ * Encodes the specified PriceInsightsProductView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.PriceInsightsProductView.verify|verify} messages.
1784
+ * @param message PriceInsightsProductView message or plain object to encode
1785
+ * @param [writer] Writer to encode to
1786
+ * @returns Writer
1787
+ */
1788
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IPriceInsightsProductView, writer?: $protobuf.Writer): $protobuf.Writer;
1789
+
1790
+ /**
1791
+ * Decodes a PriceInsightsProductView message from the specified reader or buffer.
1792
+ * @param reader Reader or buffer to decode from
1793
+ * @param [length] Message length if known beforehand
1794
+ * @returns PriceInsightsProductView
1795
+ * @throws {Error} If the payload is not a reader or valid buffer
1796
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1797
+ */
1798
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.PriceInsightsProductView;
1799
+
1800
+ /**
1801
+ * Decodes a PriceInsightsProductView message from the specified reader or buffer, length delimited.
1802
+ * @param reader Reader or buffer to decode from
1803
+ * @returns PriceInsightsProductView
1804
+ * @throws {Error} If the payload is not a reader or valid buffer
1805
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1806
+ */
1807
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.PriceInsightsProductView;
1808
+
1809
+ /**
1810
+ * Verifies a PriceInsightsProductView message.
1811
+ * @param message Plain object to verify
1812
+ * @returns `null` if valid, otherwise the reason why it is not
1813
+ */
1814
+ public static verify(message: { [k: string]: any }): (string|null);
1815
+
1816
+ /**
1817
+ * Creates a PriceInsightsProductView message from a plain object. Also converts values to their respective internal types.
1818
+ * @param object Plain object
1819
+ * @returns PriceInsightsProductView
1820
+ */
1821
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.PriceInsightsProductView;
1822
+
1823
+ /**
1824
+ * Creates a plain object from a PriceInsightsProductView message. Also converts values to other types if specified.
1825
+ * @param message PriceInsightsProductView
1826
+ * @param [options] Conversion options
1827
+ * @returns Plain object
1828
+ */
1829
+ public static toObject(message: google.shopping.merchant.reports.v1.PriceInsightsProductView, options?: $protobuf.IConversionOptions): { [k: string]: any };
1830
+
1831
+ /**
1832
+ * Converts this PriceInsightsProductView to JSON.
1833
+ * @returns JSON object
1834
+ */
1835
+ public toJSON(): { [k: string]: any };
1836
+
1837
+ /**
1838
+ * Gets the default type url for PriceInsightsProductView
1839
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1840
+ * @returns The default type url
1841
+ */
1842
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1843
+ }
1844
+
1845
+ namespace PriceInsightsProductView {
1846
+
1847
+ /** Effectiveness enum. */
1848
+ enum Effectiveness {
1849
+ EFFECTIVENESS_UNSPECIFIED = 0,
1850
+ LOW = 1,
1851
+ MEDIUM = 2,
1852
+ HIGH = 3
1853
+ }
1854
+ }
1855
+
1856
+ /** Properties of a BestSellersProductClusterView. */
1857
+ interface IBestSellersProductClusterView {
1858
+
1859
+ /** BestSellersProductClusterView reportDate */
1860
+ reportDate?: (google.type.IDate|null);
1861
+
1862
+ /** BestSellersProductClusterView reportGranularity */
1863
+ reportGranularity?: (google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|keyof typeof google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|null);
1864
+
1865
+ /** BestSellersProductClusterView reportCountryCode */
1866
+ reportCountryCode?: (string|null);
1867
+
1868
+ /** BestSellersProductClusterView reportCategoryId */
1869
+ reportCategoryId?: (number|Long|string|null);
1870
+
1871
+ /** BestSellersProductClusterView title */
1872
+ title?: (string|null);
1873
+
1874
+ /** BestSellersProductClusterView brand */
1875
+ brand?: (string|null);
1876
+
1877
+ /** BestSellersProductClusterView categoryL1 */
1878
+ categoryL1?: (string|null);
1879
+
1880
+ /** BestSellersProductClusterView categoryL2 */
1881
+ categoryL2?: (string|null);
1882
+
1883
+ /** BestSellersProductClusterView categoryL3 */
1884
+ categoryL3?: (string|null);
1885
+
1886
+ /** BestSellersProductClusterView categoryL4 */
1887
+ categoryL4?: (string|null);
1888
+
1889
+ /** BestSellersProductClusterView categoryL5 */
1890
+ categoryL5?: (string|null);
1891
+
1892
+ /** BestSellersProductClusterView variantGtins */
1893
+ variantGtins?: (string[]|null);
1894
+
1895
+ /** BestSellersProductClusterView inventoryStatus */
1896
+ inventoryStatus?: (google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|keyof typeof google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|null);
1897
+
1898
+ /** BestSellersProductClusterView brandInventoryStatus */
1899
+ brandInventoryStatus?: (google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|keyof typeof google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|null);
1900
+
1901
+ /** BestSellersProductClusterView rank */
1902
+ rank?: (number|Long|string|null);
1903
+
1904
+ /** BestSellersProductClusterView previousRank */
1905
+ previousRank?: (number|Long|string|null);
1906
+
1907
+ /** BestSellersProductClusterView relativeDemand */
1908
+ relativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
1909
+
1910
+ /** BestSellersProductClusterView previousRelativeDemand */
1911
+ previousRelativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
1912
+
1913
+ /** BestSellersProductClusterView relativeDemandChange */
1914
+ relativeDemandChange?: (google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|null);
1915
+ }
1916
+
1917
+ /** Represents a BestSellersProductClusterView. */
1918
+ class BestSellersProductClusterView implements IBestSellersProductClusterView {
1919
+
1920
+ /**
1921
+ * Constructs a new BestSellersProductClusterView.
1922
+ * @param [properties] Properties to set
1923
+ */
1924
+ constructor(properties?: google.shopping.merchant.reports.v1.IBestSellersProductClusterView);
1925
+
1926
+ /** BestSellersProductClusterView reportDate. */
1927
+ public reportDate?: (google.type.IDate|null);
1928
+
1929
+ /** BestSellersProductClusterView reportGranularity. */
1930
+ public reportGranularity?: (google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|keyof typeof google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|null);
1931
+
1932
+ /** BestSellersProductClusterView reportCountryCode. */
1933
+ public reportCountryCode?: (string|null);
1934
+
1935
+ /** BestSellersProductClusterView reportCategoryId. */
1936
+ public reportCategoryId?: (number|Long|string|null);
1937
+
1938
+ /** BestSellersProductClusterView title. */
1939
+ public title?: (string|null);
1940
+
1941
+ /** BestSellersProductClusterView brand. */
1942
+ public brand?: (string|null);
1943
+
1944
+ /** BestSellersProductClusterView categoryL1. */
1945
+ public categoryL1?: (string|null);
1946
+
1947
+ /** BestSellersProductClusterView categoryL2. */
1948
+ public categoryL2?: (string|null);
1949
+
1950
+ /** BestSellersProductClusterView categoryL3. */
1951
+ public categoryL3?: (string|null);
1952
+
1953
+ /** BestSellersProductClusterView categoryL4. */
1954
+ public categoryL4?: (string|null);
1955
+
1956
+ /** BestSellersProductClusterView categoryL5. */
1957
+ public categoryL5?: (string|null);
1958
+
1959
+ /** BestSellersProductClusterView variantGtins. */
1960
+ public variantGtins: string[];
1961
+
1962
+ /** BestSellersProductClusterView inventoryStatus. */
1963
+ public inventoryStatus?: (google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|keyof typeof google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|null);
1964
+
1965
+ /** BestSellersProductClusterView brandInventoryStatus. */
1966
+ public brandInventoryStatus?: (google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|keyof typeof google.shopping.merchant.reports.v1.BestSellersProductClusterView.InventoryStatus|null);
1967
+
1968
+ /** BestSellersProductClusterView rank. */
1969
+ public rank?: (number|Long|string|null);
1970
+
1971
+ /** BestSellersProductClusterView previousRank. */
1972
+ public previousRank?: (number|Long|string|null);
1973
+
1974
+ /** BestSellersProductClusterView relativeDemand. */
1975
+ public relativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
1976
+
1977
+ /** BestSellersProductClusterView previousRelativeDemand. */
1978
+ public previousRelativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
1979
+
1980
+ /** BestSellersProductClusterView relativeDemandChange. */
1981
+ public relativeDemandChange?: (google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|null);
1982
+
1983
+ /**
1984
+ * Creates a new BestSellersProductClusterView instance using the specified properties.
1985
+ * @param [properties] Properties to set
1986
+ * @returns BestSellersProductClusterView instance
1987
+ */
1988
+ public static create(properties?: google.shopping.merchant.reports.v1.IBestSellersProductClusterView): google.shopping.merchant.reports.v1.BestSellersProductClusterView;
1989
+
1990
+ /**
1991
+ * Encodes the specified BestSellersProductClusterView message. Does not implicitly {@link google.shopping.merchant.reports.v1.BestSellersProductClusterView.verify|verify} messages.
1992
+ * @param message BestSellersProductClusterView message or plain object to encode
1993
+ * @param [writer] Writer to encode to
1994
+ * @returns Writer
1995
+ */
1996
+ public static encode(message: google.shopping.merchant.reports.v1.IBestSellersProductClusterView, writer?: $protobuf.Writer): $protobuf.Writer;
1997
+
1998
+ /**
1999
+ * Encodes the specified BestSellersProductClusterView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.BestSellersProductClusterView.verify|verify} messages.
2000
+ * @param message BestSellersProductClusterView message or plain object to encode
2001
+ * @param [writer] Writer to encode to
2002
+ * @returns Writer
2003
+ */
2004
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IBestSellersProductClusterView, writer?: $protobuf.Writer): $protobuf.Writer;
2005
+
2006
+ /**
2007
+ * Decodes a BestSellersProductClusterView message from the specified reader or buffer.
2008
+ * @param reader Reader or buffer to decode from
2009
+ * @param [length] Message length if known beforehand
2010
+ * @returns BestSellersProductClusterView
2011
+ * @throws {Error} If the payload is not a reader or valid buffer
2012
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2013
+ */
2014
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.BestSellersProductClusterView;
2015
+
2016
+ /**
2017
+ * Decodes a BestSellersProductClusterView message from the specified reader or buffer, length delimited.
2018
+ * @param reader Reader or buffer to decode from
2019
+ * @returns BestSellersProductClusterView
2020
+ * @throws {Error} If the payload is not a reader or valid buffer
2021
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2022
+ */
2023
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.BestSellersProductClusterView;
2024
+
2025
+ /**
2026
+ * Verifies a BestSellersProductClusterView message.
2027
+ * @param message Plain object to verify
2028
+ * @returns `null` if valid, otherwise the reason why it is not
2029
+ */
2030
+ public static verify(message: { [k: string]: any }): (string|null);
2031
+
2032
+ /**
2033
+ * Creates a BestSellersProductClusterView message from a plain object. Also converts values to their respective internal types.
2034
+ * @param object Plain object
2035
+ * @returns BestSellersProductClusterView
2036
+ */
2037
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.BestSellersProductClusterView;
2038
+
2039
+ /**
2040
+ * Creates a plain object from a BestSellersProductClusterView message. Also converts values to other types if specified.
2041
+ * @param message BestSellersProductClusterView
2042
+ * @param [options] Conversion options
2043
+ * @returns Plain object
2044
+ */
2045
+ public static toObject(message: google.shopping.merchant.reports.v1.BestSellersProductClusterView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2046
+
2047
+ /**
2048
+ * Converts this BestSellersProductClusterView to JSON.
2049
+ * @returns JSON object
2050
+ */
2051
+ public toJSON(): { [k: string]: any };
2052
+
2053
+ /**
2054
+ * Gets the default type url for BestSellersProductClusterView
2055
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2056
+ * @returns The default type url
2057
+ */
2058
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2059
+ }
2060
+
2061
+ namespace BestSellersProductClusterView {
2062
+
2063
+ /** InventoryStatus enum. */
2064
+ enum InventoryStatus {
2065
+ INVENTORY_STATUS_UNSPECIFIED = 0,
2066
+ IN_STOCK = 1,
2067
+ OUT_OF_STOCK = 2,
2068
+ NOT_IN_INVENTORY = 3
2069
+ }
2070
+ }
2071
+
2072
+ /** Properties of a BestSellersBrandView. */
2073
+ interface IBestSellersBrandView {
2074
+
2075
+ /** BestSellersBrandView reportDate */
2076
+ reportDate?: (google.type.IDate|null);
2077
+
2078
+ /** BestSellersBrandView reportGranularity */
2079
+ reportGranularity?: (google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|keyof typeof google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|null);
2080
+
2081
+ /** BestSellersBrandView reportCountryCode */
2082
+ reportCountryCode?: (string|null);
2083
+
2084
+ /** BestSellersBrandView reportCategoryId */
2085
+ reportCategoryId?: (number|Long|string|null);
2086
+
2087
+ /** BestSellersBrandView brand */
2088
+ brand?: (string|null);
2089
+
2090
+ /** BestSellersBrandView rank */
2091
+ rank?: (number|Long|string|null);
2092
+
2093
+ /** BestSellersBrandView previousRank */
2094
+ previousRank?: (number|Long|string|null);
2095
+
2096
+ /** BestSellersBrandView relativeDemand */
2097
+ relativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
2098
+
2099
+ /** BestSellersBrandView previousRelativeDemand */
2100
+ previousRelativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
2101
+
2102
+ /** BestSellersBrandView relativeDemandChange */
2103
+ relativeDemandChange?: (google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|null);
2104
+ }
2105
+
2106
+ /** Represents a BestSellersBrandView. */
2107
+ class BestSellersBrandView implements IBestSellersBrandView {
2108
+
2109
+ /**
2110
+ * Constructs a new BestSellersBrandView.
2111
+ * @param [properties] Properties to set
2112
+ */
2113
+ constructor(properties?: google.shopping.merchant.reports.v1.IBestSellersBrandView);
2114
+
2115
+ /** BestSellersBrandView reportDate. */
2116
+ public reportDate?: (google.type.IDate|null);
2117
+
2118
+ /** BestSellersBrandView reportGranularity. */
2119
+ public reportGranularity?: (google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|keyof typeof google.shopping.merchant.reports.v1.ReportGranularity.ReportGranularityEnum|null);
2120
+
2121
+ /** BestSellersBrandView reportCountryCode. */
2122
+ public reportCountryCode?: (string|null);
2123
+
2124
+ /** BestSellersBrandView reportCategoryId. */
2125
+ public reportCategoryId?: (number|Long|string|null);
2126
+
2127
+ /** BestSellersBrandView brand. */
2128
+ public brand?: (string|null);
2129
+
2130
+ /** BestSellersBrandView rank. */
2131
+ public rank?: (number|Long|string|null);
2132
+
2133
+ /** BestSellersBrandView previousRank. */
2134
+ public previousRank?: (number|Long|string|null);
2135
+
2136
+ /** BestSellersBrandView relativeDemand. */
2137
+ public relativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
2138
+
2139
+ /** BestSellersBrandView previousRelativeDemand. */
2140
+ public previousRelativeDemand?: (google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemand.RelativeDemandEnum|null);
2141
+
2142
+ /** BestSellersBrandView relativeDemandChange. */
2143
+ public relativeDemandChange?: (google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|keyof typeof google.shopping.merchant.reports.v1.RelativeDemandChangeType.RelativeDemandChangeTypeEnum|null);
2144
+
2145
+ /**
2146
+ * Creates a new BestSellersBrandView instance using the specified properties.
2147
+ * @param [properties] Properties to set
2148
+ * @returns BestSellersBrandView instance
2149
+ */
2150
+ public static create(properties?: google.shopping.merchant.reports.v1.IBestSellersBrandView): google.shopping.merchant.reports.v1.BestSellersBrandView;
2151
+
2152
+ /**
2153
+ * Encodes the specified BestSellersBrandView message. Does not implicitly {@link google.shopping.merchant.reports.v1.BestSellersBrandView.verify|verify} messages.
2154
+ * @param message BestSellersBrandView message or plain object to encode
2155
+ * @param [writer] Writer to encode to
2156
+ * @returns Writer
2157
+ */
2158
+ public static encode(message: google.shopping.merchant.reports.v1.IBestSellersBrandView, writer?: $protobuf.Writer): $protobuf.Writer;
2159
+
2160
+ /**
2161
+ * Encodes the specified BestSellersBrandView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.BestSellersBrandView.verify|verify} messages.
2162
+ * @param message BestSellersBrandView message or plain object to encode
2163
+ * @param [writer] Writer to encode to
2164
+ * @returns Writer
2165
+ */
2166
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IBestSellersBrandView, writer?: $protobuf.Writer): $protobuf.Writer;
2167
+
2168
+ /**
2169
+ * Decodes a BestSellersBrandView message from the specified reader or buffer.
2170
+ * @param reader Reader or buffer to decode from
2171
+ * @param [length] Message length if known beforehand
2172
+ * @returns BestSellersBrandView
2173
+ * @throws {Error} If the payload is not a reader or valid buffer
2174
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2175
+ */
2176
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.BestSellersBrandView;
2177
+
2178
+ /**
2179
+ * Decodes a BestSellersBrandView message from the specified reader or buffer, length delimited.
2180
+ * @param reader Reader or buffer to decode from
2181
+ * @returns BestSellersBrandView
2182
+ * @throws {Error} If the payload is not a reader or valid buffer
2183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2184
+ */
2185
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.BestSellersBrandView;
2186
+
2187
+ /**
2188
+ * Verifies a BestSellersBrandView message.
2189
+ * @param message Plain object to verify
2190
+ * @returns `null` if valid, otherwise the reason why it is not
2191
+ */
2192
+ public static verify(message: { [k: string]: any }): (string|null);
2193
+
2194
+ /**
2195
+ * Creates a BestSellersBrandView message from a plain object. Also converts values to their respective internal types.
2196
+ * @param object Plain object
2197
+ * @returns BestSellersBrandView
2198
+ */
2199
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.BestSellersBrandView;
2200
+
2201
+ /**
2202
+ * Creates a plain object from a BestSellersBrandView message. Also converts values to other types if specified.
2203
+ * @param message BestSellersBrandView
2204
+ * @param [options] Conversion options
2205
+ * @returns Plain object
2206
+ */
2207
+ public static toObject(message: google.shopping.merchant.reports.v1.BestSellersBrandView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2208
+
2209
+ /**
2210
+ * Converts this BestSellersBrandView to JSON.
2211
+ * @returns JSON object
2212
+ */
2213
+ public toJSON(): { [k: string]: any };
2214
+
2215
+ /**
2216
+ * Gets the default type url for BestSellersBrandView
2217
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2218
+ * @returns The default type url
2219
+ */
2220
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2221
+ }
2222
+
2223
+ /** Properties of a NonProductPerformanceView. */
2224
+ interface INonProductPerformanceView {
2225
+
2226
+ /** NonProductPerformanceView date */
2227
+ date?: (google.type.IDate|null);
2228
+
2229
+ /** NonProductPerformanceView week */
2230
+ week?: (google.type.IDate|null);
2231
+
2232
+ /** NonProductPerformanceView clicks */
2233
+ clicks?: (number|Long|string|null);
2234
+
2235
+ /** NonProductPerformanceView impressions */
2236
+ impressions?: (number|Long|string|null);
2237
+
2238
+ /** NonProductPerformanceView clickThroughRate */
2239
+ clickThroughRate?: (number|null);
2240
+ }
2241
+
2242
+ /** Represents a NonProductPerformanceView. */
2243
+ class NonProductPerformanceView implements INonProductPerformanceView {
2244
+
2245
+ /**
2246
+ * Constructs a new NonProductPerformanceView.
2247
+ * @param [properties] Properties to set
2248
+ */
2249
+ constructor(properties?: google.shopping.merchant.reports.v1.INonProductPerformanceView);
2250
+
2251
+ /** NonProductPerformanceView date. */
2252
+ public date?: (google.type.IDate|null);
2253
+
2254
+ /** NonProductPerformanceView week. */
2255
+ public week?: (google.type.IDate|null);
2256
+
2257
+ /** NonProductPerformanceView clicks. */
2258
+ public clicks?: (number|Long|string|null);
2259
+
2260
+ /** NonProductPerformanceView impressions. */
2261
+ public impressions?: (number|Long|string|null);
2262
+
2263
+ /** NonProductPerformanceView clickThroughRate. */
2264
+ public clickThroughRate?: (number|null);
2265
+
2266
+ /**
2267
+ * Creates a new NonProductPerformanceView instance using the specified properties.
2268
+ * @param [properties] Properties to set
2269
+ * @returns NonProductPerformanceView instance
2270
+ */
2271
+ public static create(properties?: google.shopping.merchant.reports.v1.INonProductPerformanceView): google.shopping.merchant.reports.v1.NonProductPerformanceView;
2272
+
2273
+ /**
2274
+ * Encodes the specified NonProductPerformanceView message. Does not implicitly {@link google.shopping.merchant.reports.v1.NonProductPerformanceView.verify|verify} messages.
2275
+ * @param message NonProductPerformanceView message or plain object to encode
2276
+ * @param [writer] Writer to encode to
2277
+ * @returns Writer
2278
+ */
2279
+ public static encode(message: google.shopping.merchant.reports.v1.INonProductPerformanceView, writer?: $protobuf.Writer): $protobuf.Writer;
2280
+
2281
+ /**
2282
+ * Encodes the specified NonProductPerformanceView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.NonProductPerformanceView.verify|verify} messages.
2283
+ * @param message NonProductPerformanceView message or plain object to encode
2284
+ * @param [writer] Writer to encode to
2285
+ * @returns Writer
2286
+ */
2287
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.INonProductPerformanceView, writer?: $protobuf.Writer): $protobuf.Writer;
2288
+
2289
+ /**
2290
+ * Decodes a NonProductPerformanceView message from the specified reader or buffer.
2291
+ * @param reader Reader or buffer to decode from
2292
+ * @param [length] Message length if known beforehand
2293
+ * @returns NonProductPerformanceView
2294
+ * @throws {Error} If the payload is not a reader or valid buffer
2295
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2296
+ */
2297
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.NonProductPerformanceView;
2298
+
2299
+ /**
2300
+ * Decodes a NonProductPerformanceView message from the specified reader or buffer, length delimited.
2301
+ * @param reader Reader or buffer to decode from
2302
+ * @returns NonProductPerformanceView
2303
+ * @throws {Error} If the payload is not a reader or valid buffer
2304
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2305
+ */
2306
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.NonProductPerformanceView;
2307
+
2308
+ /**
2309
+ * Verifies a NonProductPerformanceView message.
2310
+ * @param message Plain object to verify
2311
+ * @returns `null` if valid, otherwise the reason why it is not
2312
+ */
2313
+ public static verify(message: { [k: string]: any }): (string|null);
2314
+
2315
+ /**
2316
+ * Creates a NonProductPerformanceView message from a plain object. Also converts values to their respective internal types.
2317
+ * @param object Plain object
2318
+ * @returns NonProductPerformanceView
2319
+ */
2320
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.NonProductPerformanceView;
2321
+
2322
+ /**
2323
+ * Creates a plain object from a NonProductPerformanceView message. Also converts values to other types if specified.
2324
+ * @param message NonProductPerformanceView
2325
+ * @param [options] Conversion options
2326
+ * @returns Plain object
2327
+ */
2328
+ public static toObject(message: google.shopping.merchant.reports.v1.NonProductPerformanceView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2329
+
2330
+ /**
2331
+ * Converts this NonProductPerformanceView to JSON.
2332
+ * @returns JSON object
2333
+ */
2334
+ public toJSON(): { [k: string]: any };
2335
+
2336
+ /**
2337
+ * Gets the default type url for NonProductPerformanceView
2338
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2339
+ * @returns The default type url
2340
+ */
2341
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2342
+ }
2343
+
2344
+ /** Properties of a CompetitiveVisibilityCompetitorView. */
2345
+ interface ICompetitiveVisibilityCompetitorView {
2346
+
2347
+ /** CompetitiveVisibilityCompetitorView date */
2348
+ date?: (google.type.IDate|null);
2349
+
2350
+ /** CompetitiveVisibilityCompetitorView domain */
2351
+ domain?: (string|null);
2352
+
2353
+ /** CompetitiveVisibilityCompetitorView isYourDomain */
2354
+ isYourDomain?: (boolean|null);
2355
+
2356
+ /** CompetitiveVisibilityCompetitorView reportCountryCode */
2357
+ reportCountryCode?: (string|null);
2358
+
2359
+ /** CompetitiveVisibilityCompetitorView reportCategoryId */
2360
+ reportCategoryId?: (number|Long|string|null);
2361
+
2362
+ /** CompetitiveVisibilityCompetitorView trafficSource */
2363
+ trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2364
+
2365
+ /** CompetitiveVisibilityCompetitorView rank */
2366
+ rank?: (number|Long|string|null);
2367
+
2368
+ /** CompetitiveVisibilityCompetitorView adsOrganicRatio */
2369
+ adsOrganicRatio?: (number|null);
2370
+
2371
+ /** CompetitiveVisibilityCompetitorView pageOverlapRate */
2372
+ pageOverlapRate?: (number|null);
2373
+
2374
+ /** CompetitiveVisibilityCompetitorView higherPositionRate */
2375
+ higherPositionRate?: (number|null);
2376
+
2377
+ /** CompetitiveVisibilityCompetitorView relativeVisibility */
2378
+ relativeVisibility?: (number|null);
2379
+ }
2380
+
2381
+ /** Represents a CompetitiveVisibilityCompetitorView. */
2382
+ class CompetitiveVisibilityCompetitorView implements ICompetitiveVisibilityCompetitorView {
2383
+
2384
+ /**
2385
+ * Constructs a new CompetitiveVisibilityCompetitorView.
2386
+ * @param [properties] Properties to set
2387
+ */
2388
+ constructor(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView);
2389
+
2390
+ /** CompetitiveVisibilityCompetitorView date. */
2391
+ public date?: (google.type.IDate|null);
2392
+
2393
+ /** CompetitiveVisibilityCompetitorView domain. */
2394
+ public domain?: (string|null);
2395
+
2396
+ /** CompetitiveVisibilityCompetitorView isYourDomain. */
2397
+ public isYourDomain?: (boolean|null);
2398
+
2399
+ /** CompetitiveVisibilityCompetitorView reportCountryCode. */
2400
+ public reportCountryCode?: (string|null);
2401
+
2402
+ /** CompetitiveVisibilityCompetitorView reportCategoryId. */
2403
+ public reportCategoryId?: (number|Long|string|null);
2404
+
2405
+ /** CompetitiveVisibilityCompetitorView trafficSource. */
2406
+ public trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2407
+
2408
+ /** CompetitiveVisibilityCompetitorView rank. */
2409
+ public rank?: (number|Long|string|null);
2410
+
2411
+ /** CompetitiveVisibilityCompetitorView adsOrganicRatio. */
2412
+ public adsOrganicRatio?: (number|null);
2413
+
2414
+ /** CompetitiveVisibilityCompetitorView pageOverlapRate. */
2415
+ public pageOverlapRate?: (number|null);
2416
+
2417
+ /** CompetitiveVisibilityCompetitorView higherPositionRate. */
2418
+ public higherPositionRate?: (number|null);
2419
+
2420
+ /** CompetitiveVisibilityCompetitorView relativeVisibility. */
2421
+ public relativeVisibility?: (number|null);
2422
+
2423
+ /**
2424
+ * Creates a new CompetitiveVisibilityCompetitorView instance using the specified properties.
2425
+ * @param [properties] Properties to set
2426
+ * @returns CompetitiveVisibilityCompetitorView instance
2427
+ */
2428
+ public static create(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView): google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView;
2429
+
2430
+ /**
2431
+ * Encodes the specified CompetitiveVisibilityCompetitorView message. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView.verify|verify} messages.
2432
+ * @param message CompetitiveVisibilityCompetitorView message or plain object to encode
2433
+ * @param [writer] Writer to encode to
2434
+ * @returns Writer
2435
+ */
2436
+ public static encode(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView, writer?: $protobuf.Writer): $protobuf.Writer;
2437
+
2438
+ /**
2439
+ * Encodes the specified CompetitiveVisibilityCompetitorView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView.verify|verify} messages.
2440
+ * @param message CompetitiveVisibilityCompetitorView message or plain object to encode
2441
+ * @param [writer] Writer to encode to
2442
+ * @returns Writer
2443
+ */
2444
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityCompetitorView, writer?: $protobuf.Writer): $protobuf.Writer;
2445
+
2446
+ /**
2447
+ * Decodes a CompetitiveVisibilityCompetitorView message from the specified reader or buffer.
2448
+ * @param reader Reader or buffer to decode from
2449
+ * @param [length] Message length if known beforehand
2450
+ * @returns CompetitiveVisibilityCompetitorView
2451
+ * @throws {Error} If the payload is not a reader or valid buffer
2452
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2453
+ */
2454
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView;
2455
+
2456
+ /**
2457
+ * Decodes a CompetitiveVisibilityCompetitorView message from the specified reader or buffer, length delimited.
2458
+ * @param reader Reader or buffer to decode from
2459
+ * @returns CompetitiveVisibilityCompetitorView
2460
+ * @throws {Error} If the payload is not a reader or valid buffer
2461
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2462
+ */
2463
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView;
2464
+
2465
+ /**
2466
+ * Verifies a CompetitiveVisibilityCompetitorView message.
2467
+ * @param message Plain object to verify
2468
+ * @returns `null` if valid, otherwise the reason why it is not
2469
+ */
2470
+ public static verify(message: { [k: string]: any }): (string|null);
2471
+
2472
+ /**
2473
+ * Creates a CompetitiveVisibilityCompetitorView message from a plain object. Also converts values to their respective internal types.
2474
+ * @param object Plain object
2475
+ * @returns CompetitiveVisibilityCompetitorView
2476
+ */
2477
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView;
2478
+
2479
+ /**
2480
+ * Creates a plain object from a CompetitiveVisibilityCompetitorView message. Also converts values to other types if specified.
2481
+ * @param message CompetitiveVisibilityCompetitorView
2482
+ * @param [options] Conversion options
2483
+ * @returns Plain object
2484
+ */
2485
+ public static toObject(message: google.shopping.merchant.reports.v1.CompetitiveVisibilityCompetitorView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2486
+
2487
+ /**
2488
+ * Converts this CompetitiveVisibilityCompetitorView to JSON.
2489
+ * @returns JSON object
2490
+ */
2491
+ public toJSON(): { [k: string]: any };
2492
+
2493
+ /**
2494
+ * Gets the default type url for CompetitiveVisibilityCompetitorView
2495
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2496
+ * @returns The default type url
2497
+ */
2498
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2499
+ }
2500
+
2501
+ /** Properties of a CompetitiveVisibilityTopMerchantView. */
2502
+ interface ICompetitiveVisibilityTopMerchantView {
2503
+
2504
+ /** CompetitiveVisibilityTopMerchantView date */
2505
+ date?: (google.type.IDate|null);
2506
+
2507
+ /** CompetitiveVisibilityTopMerchantView domain */
2508
+ domain?: (string|null);
2509
+
2510
+ /** CompetitiveVisibilityTopMerchantView isYourDomain */
2511
+ isYourDomain?: (boolean|null);
2512
+
2513
+ /** CompetitiveVisibilityTopMerchantView reportCountryCode */
2514
+ reportCountryCode?: (string|null);
2515
+
2516
+ /** CompetitiveVisibilityTopMerchantView reportCategoryId */
2517
+ reportCategoryId?: (number|Long|string|null);
2518
+
2519
+ /** CompetitiveVisibilityTopMerchantView trafficSource */
2520
+ trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2521
+
2522
+ /** CompetitiveVisibilityTopMerchantView rank */
2523
+ rank?: (number|Long|string|null);
2524
+
2525
+ /** CompetitiveVisibilityTopMerchantView adsOrganicRatio */
2526
+ adsOrganicRatio?: (number|null);
2527
+
2528
+ /** CompetitiveVisibilityTopMerchantView pageOverlapRate */
2529
+ pageOverlapRate?: (number|null);
2530
+
2531
+ /** CompetitiveVisibilityTopMerchantView higherPositionRate */
2532
+ higherPositionRate?: (number|null);
2533
+ }
2534
+
2535
+ /** Represents a CompetitiveVisibilityTopMerchantView. */
2536
+ class CompetitiveVisibilityTopMerchantView implements ICompetitiveVisibilityTopMerchantView {
2537
+
2538
+ /**
2539
+ * Constructs a new CompetitiveVisibilityTopMerchantView.
2540
+ * @param [properties] Properties to set
2541
+ */
2542
+ constructor(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView);
2543
+
2544
+ /** CompetitiveVisibilityTopMerchantView date. */
2545
+ public date?: (google.type.IDate|null);
2546
+
2547
+ /** CompetitiveVisibilityTopMerchantView domain. */
2548
+ public domain?: (string|null);
2549
+
2550
+ /** CompetitiveVisibilityTopMerchantView isYourDomain. */
2551
+ public isYourDomain?: (boolean|null);
2552
+
2553
+ /** CompetitiveVisibilityTopMerchantView reportCountryCode. */
2554
+ public reportCountryCode?: (string|null);
2555
+
2556
+ /** CompetitiveVisibilityTopMerchantView reportCategoryId. */
2557
+ public reportCategoryId?: (number|Long|string|null);
2558
+
2559
+ /** CompetitiveVisibilityTopMerchantView trafficSource. */
2560
+ public trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2561
+
2562
+ /** CompetitiveVisibilityTopMerchantView rank. */
2563
+ public rank?: (number|Long|string|null);
2564
+
2565
+ /** CompetitiveVisibilityTopMerchantView adsOrganicRatio. */
2566
+ public adsOrganicRatio?: (number|null);
2567
+
2568
+ /** CompetitiveVisibilityTopMerchantView pageOverlapRate. */
2569
+ public pageOverlapRate?: (number|null);
2570
+
2571
+ /** CompetitiveVisibilityTopMerchantView higherPositionRate. */
2572
+ public higherPositionRate?: (number|null);
2573
+
2574
+ /**
2575
+ * Creates a new CompetitiveVisibilityTopMerchantView instance using the specified properties.
2576
+ * @param [properties] Properties to set
2577
+ * @returns CompetitiveVisibilityTopMerchantView instance
2578
+ */
2579
+ public static create(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView): google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView;
2580
+
2581
+ /**
2582
+ * Encodes the specified CompetitiveVisibilityTopMerchantView message. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView.verify|verify} messages.
2583
+ * @param message CompetitiveVisibilityTopMerchantView message or plain object to encode
2584
+ * @param [writer] Writer to encode to
2585
+ * @returns Writer
2586
+ */
2587
+ public static encode(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView, writer?: $protobuf.Writer): $protobuf.Writer;
2588
+
2589
+ /**
2590
+ * Encodes the specified CompetitiveVisibilityTopMerchantView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView.verify|verify} messages.
2591
+ * @param message CompetitiveVisibilityTopMerchantView message or plain object to encode
2592
+ * @param [writer] Writer to encode to
2593
+ * @returns Writer
2594
+ */
2595
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityTopMerchantView, writer?: $protobuf.Writer): $protobuf.Writer;
2596
+
2597
+ /**
2598
+ * Decodes a CompetitiveVisibilityTopMerchantView message from the specified reader or buffer.
2599
+ * @param reader Reader or buffer to decode from
2600
+ * @param [length] Message length if known beforehand
2601
+ * @returns CompetitiveVisibilityTopMerchantView
2602
+ * @throws {Error} If the payload is not a reader or valid buffer
2603
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2604
+ */
2605
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView;
2606
+
2607
+ /**
2608
+ * Decodes a CompetitiveVisibilityTopMerchantView message from the specified reader or buffer, length delimited.
2609
+ * @param reader Reader or buffer to decode from
2610
+ * @returns CompetitiveVisibilityTopMerchantView
2611
+ * @throws {Error} If the payload is not a reader or valid buffer
2612
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2613
+ */
2614
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView;
2615
+
2616
+ /**
2617
+ * Verifies a CompetitiveVisibilityTopMerchantView message.
2618
+ * @param message Plain object to verify
2619
+ * @returns `null` if valid, otherwise the reason why it is not
2620
+ */
2621
+ public static verify(message: { [k: string]: any }): (string|null);
2622
+
2623
+ /**
2624
+ * Creates a CompetitiveVisibilityTopMerchantView message from a plain object. Also converts values to their respective internal types.
2625
+ * @param object Plain object
2626
+ * @returns CompetitiveVisibilityTopMerchantView
2627
+ */
2628
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView;
2629
+
2630
+ /**
2631
+ * Creates a plain object from a CompetitiveVisibilityTopMerchantView message. Also converts values to other types if specified.
2632
+ * @param message CompetitiveVisibilityTopMerchantView
2633
+ * @param [options] Conversion options
2634
+ * @returns Plain object
2635
+ */
2636
+ public static toObject(message: google.shopping.merchant.reports.v1.CompetitiveVisibilityTopMerchantView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2637
+
2638
+ /**
2639
+ * Converts this CompetitiveVisibilityTopMerchantView to JSON.
2640
+ * @returns JSON object
2641
+ */
2642
+ public toJSON(): { [k: string]: any };
2643
+
2644
+ /**
2645
+ * Gets the default type url for CompetitiveVisibilityTopMerchantView
2646
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2647
+ * @returns The default type url
2648
+ */
2649
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2650
+ }
2651
+
2652
+ /** Properties of a CompetitiveVisibilityBenchmarkView. */
2653
+ interface ICompetitiveVisibilityBenchmarkView {
2654
+
2655
+ /** CompetitiveVisibilityBenchmarkView date */
2656
+ date?: (google.type.IDate|null);
2657
+
2658
+ /** CompetitiveVisibilityBenchmarkView reportCountryCode */
2659
+ reportCountryCode?: (string|null);
2660
+
2661
+ /** CompetitiveVisibilityBenchmarkView reportCategoryId */
2662
+ reportCategoryId?: (number|Long|string|null);
2663
+
2664
+ /** CompetitiveVisibilityBenchmarkView trafficSource */
2665
+ trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2666
+
2667
+ /** CompetitiveVisibilityBenchmarkView yourDomainVisibilityTrend */
2668
+ yourDomainVisibilityTrend?: (number|null);
2669
+
2670
+ /** CompetitiveVisibilityBenchmarkView categoryBenchmarkVisibilityTrend */
2671
+ categoryBenchmarkVisibilityTrend?: (number|null);
2672
+ }
2673
+
2674
+ /** Represents a CompetitiveVisibilityBenchmarkView. */
2675
+ class CompetitiveVisibilityBenchmarkView implements ICompetitiveVisibilityBenchmarkView {
2676
+
2677
+ /**
2678
+ * Constructs a new CompetitiveVisibilityBenchmarkView.
2679
+ * @param [properties] Properties to set
2680
+ */
2681
+ constructor(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView);
2682
+
2683
+ /** CompetitiveVisibilityBenchmarkView date. */
2684
+ public date?: (google.type.IDate|null);
2685
+
2686
+ /** CompetitiveVisibilityBenchmarkView reportCountryCode. */
2687
+ public reportCountryCode?: (string|null);
2688
+
2689
+ /** CompetitiveVisibilityBenchmarkView reportCategoryId. */
2690
+ public reportCategoryId?: (number|Long|string|null);
2691
+
2692
+ /** CompetitiveVisibilityBenchmarkView trafficSource. */
2693
+ public trafficSource?: (google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|keyof typeof google.shopping.merchant.reports.v1.TrafficSource.TrafficSourceEnum|null);
2694
+
2695
+ /** CompetitiveVisibilityBenchmarkView yourDomainVisibilityTrend. */
2696
+ public yourDomainVisibilityTrend?: (number|null);
2697
+
2698
+ /** CompetitiveVisibilityBenchmarkView categoryBenchmarkVisibilityTrend. */
2699
+ public categoryBenchmarkVisibilityTrend?: (number|null);
2700
+
2701
+ /**
2702
+ * Creates a new CompetitiveVisibilityBenchmarkView instance using the specified properties.
2703
+ * @param [properties] Properties to set
2704
+ * @returns CompetitiveVisibilityBenchmarkView instance
2705
+ */
2706
+ public static create(properties?: google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView): google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView;
2707
+
2708
+ /**
2709
+ * Encodes the specified CompetitiveVisibilityBenchmarkView message. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView.verify|verify} messages.
2710
+ * @param message CompetitiveVisibilityBenchmarkView message or plain object to encode
2711
+ * @param [writer] Writer to encode to
2712
+ * @returns Writer
2713
+ */
2714
+ public static encode(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView, writer?: $protobuf.Writer): $protobuf.Writer;
2715
+
2716
+ /**
2717
+ * Encodes the specified CompetitiveVisibilityBenchmarkView message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView.verify|verify} messages.
2718
+ * @param message CompetitiveVisibilityBenchmarkView message or plain object to encode
2719
+ * @param [writer] Writer to encode to
2720
+ * @returns Writer
2721
+ */
2722
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ICompetitiveVisibilityBenchmarkView, writer?: $protobuf.Writer): $protobuf.Writer;
2723
+
2724
+ /**
2725
+ * Decodes a CompetitiveVisibilityBenchmarkView message from the specified reader or buffer.
2726
+ * @param reader Reader or buffer to decode from
2727
+ * @param [length] Message length if known beforehand
2728
+ * @returns CompetitiveVisibilityBenchmarkView
2729
+ * @throws {Error} If the payload is not a reader or valid buffer
2730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2731
+ */
2732
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView;
2733
+
2734
+ /**
2735
+ * Decodes a CompetitiveVisibilityBenchmarkView message from the specified reader or buffer, length delimited.
2736
+ * @param reader Reader or buffer to decode from
2737
+ * @returns CompetitiveVisibilityBenchmarkView
2738
+ * @throws {Error} If the payload is not a reader or valid buffer
2739
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2740
+ */
2741
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView;
2742
+
2743
+ /**
2744
+ * Verifies a CompetitiveVisibilityBenchmarkView message.
2745
+ * @param message Plain object to verify
2746
+ * @returns `null` if valid, otherwise the reason why it is not
2747
+ */
2748
+ public static verify(message: { [k: string]: any }): (string|null);
2749
+
2750
+ /**
2751
+ * Creates a CompetitiveVisibilityBenchmarkView message from a plain object. Also converts values to their respective internal types.
2752
+ * @param object Plain object
2753
+ * @returns CompetitiveVisibilityBenchmarkView
2754
+ */
2755
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView;
2756
+
2757
+ /**
2758
+ * Creates a plain object from a CompetitiveVisibilityBenchmarkView message. Also converts values to other types if specified.
2759
+ * @param message CompetitiveVisibilityBenchmarkView
2760
+ * @param [options] Conversion options
2761
+ * @returns Plain object
2762
+ */
2763
+ public static toObject(message: google.shopping.merchant.reports.v1.CompetitiveVisibilityBenchmarkView, options?: $protobuf.IConversionOptions): { [k: string]: any };
2764
+
2765
+ /**
2766
+ * Converts this CompetitiveVisibilityBenchmarkView to JSON.
2767
+ * @returns JSON object
2768
+ */
2769
+ public toJSON(): { [k: string]: any };
2770
+
2771
+ /**
2772
+ * Gets the default type url for CompetitiveVisibilityBenchmarkView
2773
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2774
+ * @returns The default type url
2775
+ */
2776
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2777
+ }
2778
+
2779
+ /** Properties of a MarketingMethod. */
2780
+ interface IMarketingMethod {
2781
+ }
2782
+
2783
+ /** Represents a MarketingMethod. */
2784
+ class MarketingMethod implements IMarketingMethod {
2785
+
2786
+ /**
2787
+ * Constructs a new MarketingMethod.
2788
+ * @param [properties] Properties to set
2789
+ */
2790
+ constructor(properties?: google.shopping.merchant.reports.v1.IMarketingMethod);
2791
+
2792
+ /**
2793
+ * Creates a new MarketingMethod instance using the specified properties.
2794
+ * @param [properties] Properties to set
2795
+ * @returns MarketingMethod instance
2796
+ */
2797
+ public static create(properties?: google.shopping.merchant.reports.v1.IMarketingMethod): google.shopping.merchant.reports.v1.MarketingMethod;
2798
+
2799
+ /**
2800
+ * Encodes the specified MarketingMethod message. Does not implicitly {@link google.shopping.merchant.reports.v1.MarketingMethod.verify|verify} messages.
2801
+ * @param message MarketingMethod message or plain object to encode
2802
+ * @param [writer] Writer to encode to
2803
+ * @returns Writer
2804
+ */
2805
+ public static encode(message: google.shopping.merchant.reports.v1.IMarketingMethod, writer?: $protobuf.Writer): $protobuf.Writer;
2806
+
2807
+ /**
2808
+ * Encodes the specified MarketingMethod message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.MarketingMethod.verify|verify} messages.
2809
+ * @param message MarketingMethod message or plain object to encode
2810
+ * @param [writer] Writer to encode to
2811
+ * @returns Writer
2812
+ */
2813
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IMarketingMethod, writer?: $protobuf.Writer): $protobuf.Writer;
2814
+
2815
+ /**
2816
+ * Decodes a MarketingMethod message from the specified reader or buffer.
2817
+ * @param reader Reader or buffer to decode from
2818
+ * @param [length] Message length if known beforehand
2819
+ * @returns MarketingMethod
2820
+ * @throws {Error} If the payload is not a reader or valid buffer
2821
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2822
+ */
2823
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.MarketingMethod;
2824
+
2825
+ /**
2826
+ * Decodes a MarketingMethod message from the specified reader or buffer, length delimited.
2827
+ * @param reader Reader or buffer to decode from
2828
+ * @returns MarketingMethod
2829
+ * @throws {Error} If the payload is not a reader or valid buffer
2830
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2831
+ */
2832
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.MarketingMethod;
2833
+
2834
+ /**
2835
+ * Verifies a MarketingMethod message.
2836
+ * @param message Plain object to verify
2837
+ * @returns `null` if valid, otherwise the reason why it is not
2838
+ */
2839
+ public static verify(message: { [k: string]: any }): (string|null);
2840
+
2841
+ /**
2842
+ * Creates a MarketingMethod message from a plain object. Also converts values to their respective internal types.
2843
+ * @param object Plain object
2844
+ * @returns MarketingMethod
2845
+ */
2846
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.MarketingMethod;
2847
+
2848
+ /**
2849
+ * Creates a plain object from a MarketingMethod message. Also converts values to other types if specified.
2850
+ * @param message MarketingMethod
2851
+ * @param [options] Conversion options
2852
+ * @returns Plain object
2853
+ */
2854
+ public static toObject(message: google.shopping.merchant.reports.v1.MarketingMethod, options?: $protobuf.IConversionOptions): { [k: string]: any };
2855
+
2856
+ /**
2857
+ * Converts this MarketingMethod to JSON.
2858
+ * @returns JSON object
2859
+ */
2860
+ public toJSON(): { [k: string]: any };
2861
+
2862
+ /**
2863
+ * Gets the default type url for MarketingMethod
2864
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2865
+ * @returns The default type url
2866
+ */
2867
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2868
+ }
2869
+
2870
+ namespace MarketingMethod {
2871
+
2872
+ /** MarketingMethodEnum enum. */
2873
+ enum MarketingMethodEnum {
2874
+ MARKETING_METHOD_ENUM_UNSPECIFIED = 0,
2875
+ ORGANIC = 1,
2876
+ ADS = 2
2877
+ }
2878
+ }
2879
+
2880
+ /** Properties of a ReportGranularity. */
2881
+ interface IReportGranularity {
2882
+ }
2883
+
2884
+ /** Represents a ReportGranularity. */
2885
+ class ReportGranularity implements IReportGranularity {
2886
+
2887
+ /**
2888
+ * Constructs a new ReportGranularity.
2889
+ * @param [properties] Properties to set
2890
+ */
2891
+ constructor(properties?: google.shopping.merchant.reports.v1.IReportGranularity);
2892
+
2893
+ /**
2894
+ * Creates a new ReportGranularity instance using the specified properties.
2895
+ * @param [properties] Properties to set
2896
+ * @returns ReportGranularity instance
2897
+ */
2898
+ public static create(properties?: google.shopping.merchant.reports.v1.IReportGranularity): google.shopping.merchant.reports.v1.ReportGranularity;
2899
+
2900
+ /**
2901
+ * Encodes the specified ReportGranularity message. Does not implicitly {@link google.shopping.merchant.reports.v1.ReportGranularity.verify|verify} messages.
2902
+ * @param message ReportGranularity message or plain object to encode
2903
+ * @param [writer] Writer to encode to
2904
+ * @returns Writer
2905
+ */
2906
+ public static encode(message: google.shopping.merchant.reports.v1.IReportGranularity, writer?: $protobuf.Writer): $protobuf.Writer;
2907
+
2908
+ /**
2909
+ * Encodes the specified ReportGranularity message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.ReportGranularity.verify|verify} messages.
2910
+ * @param message ReportGranularity message or plain object to encode
2911
+ * @param [writer] Writer to encode to
2912
+ * @returns Writer
2913
+ */
2914
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IReportGranularity, writer?: $protobuf.Writer): $protobuf.Writer;
2915
+
2916
+ /**
2917
+ * Decodes a ReportGranularity message from the specified reader or buffer.
2918
+ * @param reader Reader or buffer to decode from
2919
+ * @param [length] Message length if known beforehand
2920
+ * @returns ReportGranularity
2921
+ * @throws {Error} If the payload is not a reader or valid buffer
2922
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2923
+ */
2924
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.ReportGranularity;
2925
+
2926
+ /**
2927
+ * Decodes a ReportGranularity message from the specified reader or buffer, length delimited.
2928
+ * @param reader Reader or buffer to decode from
2929
+ * @returns ReportGranularity
2930
+ * @throws {Error} If the payload is not a reader or valid buffer
2931
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2932
+ */
2933
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.ReportGranularity;
2934
+
2935
+ /**
2936
+ * Verifies a ReportGranularity message.
2937
+ * @param message Plain object to verify
2938
+ * @returns `null` if valid, otherwise the reason why it is not
2939
+ */
2940
+ public static verify(message: { [k: string]: any }): (string|null);
2941
+
2942
+ /**
2943
+ * Creates a ReportGranularity message from a plain object. Also converts values to their respective internal types.
2944
+ * @param object Plain object
2945
+ * @returns ReportGranularity
2946
+ */
2947
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.ReportGranularity;
2948
+
2949
+ /**
2950
+ * Creates a plain object from a ReportGranularity message. Also converts values to other types if specified.
2951
+ * @param message ReportGranularity
2952
+ * @param [options] Conversion options
2953
+ * @returns Plain object
2954
+ */
2955
+ public static toObject(message: google.shopping.merchant.reports.v1.ReportGranularity, options?: $protobuf.IConversionOptions): { [k: string]: any };
2956
+
2957
+ /**
2958
+ * Converts this ReportGranularity to JSON.
2959
+ * @returns JSON object
2960
+ */
2961
+ public toJSON(): { [k: string]: any };
2962
+
2963
+ /**
2964
+ * Gets the default type url for ReportGranularity
2965
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2966
+ * @returns The default type url
2967
+ */
2968
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2969
+ }
2970
+
2971
+ namespace ReportGranularity {
2972
+
2973
+ /** ReportGranularityEnum enum. */
2974
+ enum ReportGranularityEnum {
2975
+ REPORT_GRANULARITY_ENUM_UNSPECIFIED = 0,
2976
+ WEEKLY = 1,
2977
+ MONTHLY = 2
2978
+ }
2979
+ }
2980
+
2981
+ /** Properties of a RelativeDemand. */
2982
+ interface IRelativeDemand {
2983
+ }
2984
+
2985
+ /** Represents a RelativeDemand. */
2986
+ class RelativeDemand implements IRelativeDemand {
2987
+
2988
+ /**
2989
+ * Constructs a new RelativeDemand.
2990
+ * @param [properties] Properties to set
2991
+ */
2992
+ constructor(properties?: google.shopping.merchant.reports.v1.IRelativeDemand);
2993
+
2994
+ /**
2995
+ * Creates a new RelativeDemand instance using the specified properties.
2996
+ * @param [properties] Properties to set
2997
+ * @returns RelativeDemand instance
2998
+ */
2999
+ public static create(properties?: google.shopping.merchant.reports.v1.IRelativeDemand): google.shopping.merchant.reports.v1.RelativeDemand;
3000
+
3001
+ /**
3002
+ * Encodes the specified RelativeDemand message. Does not implicitly {@link google.shopping.merchant.reports.v1.RelativeDemand.verify|verify} messages.
3003
+ * @param message RelativeDemand message or plain object to encode
3004
+ * @param [writer] Writer to encode to
3005
+ * @returns Writer
3006
+ */
3007
+ public static encode(message: google.shopping.merchant.reports.v1.IRelativeDemand, writer?: $protobuf.Writer): $protobuf.Writer;
3008
+
3009
+ /**
3010
+ * Encodes the specified RelativeDemand message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.RelativeDemand.verify|verify} messages.
3011
+ * @param message RelativeDemand message or plain object to encode
3012
+ * @param [writer] Writer to encode to
3013
+ * @returns Writer
3014
+ */
3015
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IRelativeDemand, writer?: $protobuf.Writer): $protobuf.Writer;
3016
+
3017
+ /**
3018
+ * Decodes a RelativeDemand message from the specified reader or buffer.
3019
+ * @param reader Reader or buffer to decode from
3020
+ * @param [length] Message length if known beforehand
3021
+ * @returns RelativeDemand
3022
+ * @throws {Error} If the payload is not a reader or valid buffer
3023
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3024
+ */
3025
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.RelativeDemand;
3026
+
3027
+ /**
3028
+ * Decodes a RelativeDemand message from the specified reader or buffer, length delimited.
3029
+ * @param reader Reader or buffer to decode from
3030
+ * @returns RelativeDemand
3031
+ * @throws {Error} If the payload is not a reader or valid buffer
3032
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3033
+ */
3034
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.RelativeDemand;
3035
+
3036
+ /**
3037
+ * Verifies a RelativeDemand message.
3038
+ * @param message Plain object to verify
3039
+ * @returns `null` if valid, otherwise the reason why it is not
3040
+ */
3041
+ public static verify(message: { [k: string]: any }): (string|null);
3042
+
3043
+ /**
3044
+ * Creates a RelativeDemand message from a plain object. Also converts values to their respective internal types.
3045
+ * @param object Plain object
3046
+ * @returns RelativeDemand
3047
+ */
3048
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.RelativeDemand;
3049
+
3050
+ /**
3051
+ * Creates a plain object from a RelativeDemand message. Also converts values to other types if specified.
3052
+ * @param message RelativeDemand
3053
+ * @param [options] Conversion options
3054
+ * @returns Plain object
3055
+ */
3056
+ public static toObject(message: google.shopping.merchant.reports.v1.RelativeDemand, options?: $protobuf.IConversionOptions): { [k: string]: any };
3057
+
3058
+ /**
3059
+ * Converts this RelativeDemand to JSON.
3060
+ * @returns JSON object
3061
+ */
3062
+ public toJSON(): { [k: string]: any };
3063
+
3064
+ /**
3065
+ * Gets the default type url for RelativeDemand
3066
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3067
+ * @returns The default type url
3068
+ */
3069
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3070
+ }
3071
+
3072
+ namespace RelativeDemand {
3073
+
3074
+ /** RelativeDemandEnum enum. */
3075
+ enum RelativeDemandEnum {
3076
+ RELATIVE_DEMAND_ENUM_UNSPECIFIED = 0,
3077
+ VERY_LOW = 10,
3078
+ LOW = 20,
3079
+ MEDIUM = 30,
3080
+ HIGH = 40,
3081
+ VERY_HIGH = 50
3082
+ }
3083
+ }
3084
+
3085
+ /** Properties of a RelativeDemandChangeType. */
3086
+ interface IRelativeDemandChangeType {
3087
+ }
3088
+
3089
+ /** Represents a RelativeDemandChangeType. */
3090
+ class RelativeDemandChangeType implements IRelativeDemandChangeType {
3091
+
3092
+ /**
3093
+ * Constructs a new RelativeDemandChangeType.
3094
+ * @param [properties] Properties to set
3095
+ */
3096
+ constructor(properties?: google.shopping.merchant.reports.v1.IRelativeDemandChangeType);
3097
+
3098
+ /**
3099
+ * Creates a new RelativeDemandChangeType instance using the specified properties.
3100
+ * @param [properties] Properties to set
3101
+ * @returns RelativeDemandChangeType instance
3102
+ */
3103
+ public static create(properties?: google.shopping.merchant.reports.v1.IRelativeDemandChangeType): google.shopping.merchant.reports.v1.RelativeDemandChangeType;
3104
+
3105
+ /**
3106
+ * Encodes the specified RelativeDemandChangeType message. Does not implicitly {@link google.shopping.merchant.reports.v1.RelativeDemandChangeType.verify|verify} messages.
3107
+ * @param message RelativeDemandChangeType message or plain object to encode
3108
+ * @param [writer] Writer to encode to
3109
+ * @returns Writer
3110
+ */
3111
+ public static encode(message: google.shopping.merchant.reports.v1.IRelativeDemandChangeType, writer?: $protobuf.Writer): $protobuf.Writer;
3112
+
3113
+ /**
3114
+ * Encodes the specified RelativeDemandChangeType message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.RelativeDemandChangeType.verify|verify} messages.
3115
+ * @param message RelativeDemandChangeType message or plain object to encode
3116
+ * @param [writer] Writer to encode to
3117
+ * @returns Writer
3118
+ */
3119
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.IRelativeDemandChangeType, writer?: $protobuf.Writer): $protobuf.Writer;
3120
+
3121
+ /**
3122
+ * Decodes a RelativeDemandChangeType message from the specified reader or buffer.
3123
+ * @param reader Reader or buffer to decode from
3124
+ * @param [length] Message length if known beforehand
3125
+ * @returns RelativeDemandChangeType
3126
+ * @throws {Error} If the payload is not a reader or valid buffer
3127
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3128
+ */
3129
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.RelativeDemandChangeType;
3130
+
3131
+ /**
3132
+ * Decodes a RelativeDemandChangeType message from the specified reader or buffer, length delimited.
3133
+ * @param reader Reader or buffer to decode from
3134
+ * @returns RelativeDemandChangeType
3135
+ * @throws {Error} If the payload is not a reader or valid buffer
3136
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3137
+ */
3138
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.RelativeDemandChangeType;
3139
+
3140
+ /**
3141
+ * Verifies a RelativeDemandChangeType message.
3142
+ * @param message Plain object to verify
3143
+ * @returns `null` if valid, otherwise the reason why it is not
3144
+ */
3145
+ public static verify(message: { [k: string]: any }): (string|null);
3146
+
3147
+ /**
3148
+ * Creates a RelativeDemandChangeType message from a plain object. Also converts values to their respective internal types.
3149
+ * @param object Plain object
3150
+ * @returns RelativeDemandChangeType
3151
+ */
3152
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.RelativeDemandChangeType;
3153
+
3154
+ /**
3155
+ * Creates a plain object from a RelativeDemandChangeType message. Also converts values to other types if specified.
3156
+ * @param message RelativeDemandChangeType
3157
+ * @param [options] Conversion options
3158
+ * @returns Plain object
3159
+ */
3160
+ public static toObject(message: google.shopping.merchant.reports.v1.RelativeDemandChangeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
3161
+
3162
+ /**
3163
+ * Converts this RelativeDemandChangeType to JSON.
3164
+ * @returns JSON object
3165
+ */
3166
+ public toJSON(): { [k: string]: any };
3167
+
3168
+ /**
3169
+ * Gets the default type url for RelativeDemandChangeType
3170
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3171
+ * @returns The default type url
3172
+ */
3173
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3174
+ }
3175
+
3176
+ namespace RelativeDemandChangeType {
3177
+
3178
+ /** RelativeDemandChangeTypeEnum enum. */
3179
+ enum RelativeDemandChangeTypeEnum {
3180
+ RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED = 0,
3181
+ SINKER = 1,
3182
+ FLAT = 2,
3183
+ RISER = 3
3184
+ }
3185
+ }
3186
+
3187
+ /** Properties of a TrafficSource. */
3188
+ interface ITrafficSource {
3189
+ }
3190
+
3191
+ /** Represents a TrafficSource. */
3192
+ class TrafficSource implements ITrafficSource {
3193
+
3194
+ /**
3195
+ * Constructs a new TrafficSource.
3196
+ * @param [properties] Properties to set
3197
+ */
3198
+ constructor(properties?: google.shopping.merchant.reports.v1.ITrafficSource);
3199
+
3200
+ /**
3201
+ * Creates a new TrafficSource instance using the specified properties.
3202
+ * @param [properties] Properties to set
3203
+ * @returns TrafficSource instance
3204
+ */
3205
+ public static create(properties?: google.shopping.merchant.reports.v1.ITrafficSource): google.shopping.merchant.reports.v1.TrafficSource;
3206
+
3207
+ /**
3208
+ * Encodes the specified TrafficSource message. Does not implicitly {@link google.shopping.merchant.reports.v1.TrafficSource.verify|verify} messages.
3209
+ * @param message TrafficSource message or plain object to encode
3210
+ * @param [writer] Writer to encode to
3211
+ * @returns Writer
3212
+ */
3213
+ public static encode(message: google.shopping.merchant.reports.v1.ITrafficSource, writer?: $protobuf.Writer): $protobuf.Writer;
3214
+
3215
+ /**
3216
+ * Encodes the specified TrafficSource message, length delimited. Does not implicitly {@link google.shopping.merchant.reports.v1.TrafficSource.verify|verify} messages.
3217
+ * @param message TrafficSource message or plain object to encode
3218
+ * @param [writer] Writer to encode to
3219
+ * @returns Writer
3220
+ */
3221
+ public static encodeDelimited(message: google.shopping.merchant.reports.v1.ITrafficSource, writer?: $protobuf.Writer): $protobuf.Writer;
3222
+
3223
+ /**
3224
+ * Decodes a TrafficSource message from the specified reader or buffer.
3225
+ * @param reader Reader or buffer to decode from
3226
+ * @param [length] Message length if known beforehand
3227
+ * @returns TrafficSource
3228
+ * @throws {Error} If the payload is not a reader or valid buffer
3229
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3230
+ */
3231
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.shopping.merchant.reports.v1.TrafficSource;
3232
+
3233
+ /**
3234
+ * Decodes a TrafficSource message from the specified reader or buffer, length delimited.
3235
+ * @param reader Reader or buffer to decode from
3236
+ * @returns TrafficSource
3237
+ * @throws {Error} If the payload is not a reader or valid buffer
3238
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3239
+ */
3240
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.shopping.merchant.reports.v1.TrafficSource;
3241
+
3242
+ /**
3243
+ * Verifies a TrafficSource message.
3244
+ * @param message Plain object to verify
3245
+ * @returns `null` if valid, otherwise the reason why it is not
3246
+ */
3247
+ public static verify(message: { [k: string]: any }): (string|null);
3248
+
3249
+ /**
3250
+ * Creates a TrafficSource message from a plain object. Also converts values to their respective internal types.
3251
+ * @param object Plain object
3252
+ * @returns TrafficSource
3253
+ */
3254
+ public static fromObject(object: { [k: string]: any }): google.shopping.merchant.reports.v1.TrafficSource;
3255
+
3256
+ /**
3257
+ * Creates a plain object from a TrafficSource message. Also converts values to other types if specified.
3258
+ * @param message TrafficSource
3259
+ * @param [options] Conversion options
3260
+ * @returns Plain object
3261
+ */
3262
+ public static toObject(message: google.shopping.merchant.reports.v1.TrafficSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
3263
+
3264
+ /**
3265
+ * Converts this TrafficSource to JSON.
3266
+ * @returns JSON object
3267
+ */
3268
+ public toJSON(): { [k: string]: any };
3269
+
3270
+ /**
3271
+ * Gets the default type url for TrafficSource
3272
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3273
+ * @returns The default type url
3274
+ */
3275
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3276
+ }
3277
+
3278
+ namespace TrafficSource {
3279
+
3280
+ /** TrafficSourceEnum enum. */
3281
+ enum TrafficSourceEnum {
3282
+ TRAFFIC_SOURCE_ENUM_UNSPECIFIED = 0,
3283
+ ORGANIC = 1,
3284
+ ADS = 2,
3285
+ ALL = 3
3286
+ }
3287
+ }
3288
+ }
3289
+
29
3290
  /** Namespace v1alpha. */
30
3291
  namespace v1alpha {
31
3292
 
@@ -3484,6 +6745,9 @@ export namespace google {
3484
6745
 
3485
6746
  /** YoutubeContentPerformanceView netSales */
3486
6747
  netSales?: (google.shopping.type.IPrice|null);
6748
+
6749
+ /** YoutubeContentPerformanceView taggedProductIds */
6750
+ taggedProductIds?: (string[]|null);
3487
6751
  }
3488
6752
 
3489
6753
  /** Represents a YoutubeContentPerformanceView. */
@@ -3528,6 +6792,9 @@ export namespace google {
3528
6792
  /** YoutubeContentPerformanceView netSales. */
3529
6793
  public netSales?: (google.shopping.type.IPrice|null);
3530
6794
 
6795
+ /** YoutubeContentPerformanceView taggedProductIds. */
6796
+ public taggedProductIds: string[];
6797
+
3531
6798
  /**
3532
6799
  * Creates a new YoutubeContentPerformanceView instance using the specified properties.
3533
6800
  * @param [properties] Properties to set
@@ -3641,6 +6908,12 @@ export namespace google {
3641
6908
 
3642
6909
  /** YoutubeProductPerformanceView netSales */
3643
6910
  netSales?: (google.shopping.type.IPrice|null);
6911
+
6912
+ /** YoutubeProductPerformanceView taggedCreatorCount */
6913
+ taggedCreatorCount?: (number|Long|string|null);
6914
+
6915
+ /** YoutubeProductPerformanceView taggedVideoCount */
6916
+ taggedVideoCount?: (number|Long|string|null);
3644
6917
  }
3645
6918
 
3646
6919
  /** Represents a YoutubeProductPerformanceView. */
@@ -3685,6 +6958,12 @@ export namespace google {
3685
6958
  /** YoutubeProductPerformanceView netSales. */
3686
6959
  public netSales?: (google.shopping.type.IPrice|null);
3687
6960
 
6961
+ /** YoutubeProductPerformanceView taggedCreatorCount. */
6962
+ public taggedCreatorCount?: (number|Long|string|null);
6963
+
6964
+ /** YoutubeProductPerformanceView taggedVideoCount. */
6965
+ public taggedVideoCount?: (number|Long|string|null);
6966
+
3688
6967
  /**
3689
6968
  * Creates a new YoutubeProductPerformanceView instance using the specified properties.
3690
6969
  * @param [properties] Properties to set