1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a single product<br>
<br>
Args:<br>
taxonomy: string, Merchant taxonomy<br>
recommendations_useGcsConfig: boolean, This parameter is currently ignored<br>
accountId: integer, Merchant center account id (required)<br>
plusOne_enabled: boolean, Whether to return +1 button code<br>
plusOne_options: string, +1 button rendering specification<br>
recommendations_include: string, Recommendation specification<br>
source: string, Query source (required)<br>
location: string, Location used to determine tax and shipping<br>
productId: string, Id of product (required)<br>
productIdType: string, Type of productId (required)<br>
recommendations_enabled: boolean, Whether to return recommendation information<br>
categories_enabled: boolean, Whether to return category information<br>
attributeFilter: string, Comma separated list of attributes to return<br>
categories_useGcsConfig: boolean, This parameter is currently ignored<br>
thumbnails: string, Thumbnail specification<br>
categories_include: string, Category specification<br>
plusOne_useGcsConfig: boolean, Whether to use +1 button styles configured in the GCS account<br>
<br>
Returns:<br>
An object of the form<br>
<br>
{<br>
"selfLink": "A String", # Self link of product.<br>
"kind": "shopping#product", # The kind of item, always shopping#product.<br>
"product": { # Product.<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
"requestId": "A String", # Unique identifier for this request.<br>
"recommendations": [ # Recommendations for product.<br>
{<br>
"recommendationList": [ # List of recommendations.<br>
{<br>
"product": { # Recommended product.<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
},<br>
],<br>
"type": "A String", # Type of recommendation list (for offer-based recommendations, one of: all, purchaseToPurchase, visitToVisit, visitToPurchase, relatedItems; for category-based recommendations, one of: all, categoryMostVisited, categoryBestSeller).<br>
},<br>
],<br>
"debug": { # Google internal.<br>
"searchRequest": "A String", # Google internal.<br>
"rdcResponse": "A String", # Google internal.<br>
"facetsRequest": "A String", # Google internal.<br>
"searchResponse": "A String", # Google internal.<br>
"elapsedMillis": "A String", # Google internal.<br>
"facetsResponse": "A String", # Google internal.<br>
"backendTimes": [ # Google internal<br>
{<br>
"serverMillis": "A String", # Google internal<br>
"hostName": "A String", # Google internal<br>
"name": "A String", # Google internal<br>
"elapsedMillis": "A String", # Google internal<br>
},<br>
],<br>
},<br>
"id": "A String", # Id of product.<br>
"categories": [ # List of categories for product.<br>
{<br>
"url": "A String", # URL of category.<br>
"shortName": "A String", # Short name of category.<br>
"parents": [ # Ids of the parents of the category.<br>
"A String",<br>
],<br>
"id": "A String", # Id of category.<br>
},<br>
],<br>
}</tt></dd></dl>
<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a list of products and content modules<br>
<br>
Args:<br>
facets_enabled: boolean, Whether to return facet information<br>
rankBy: string, Ranking specification<br>
taxonomy: string, Taxonomy name<br>
promotions_enabled: boolean, Whether to return promotion information<br>
channels: string, Channels specification<br>
currency: string, Currency restriction (ISO 4217)<br>
startIndex: integer, Index (1-based) of first product to return<br>
availability: string, Comma separated list of availabilities (outOfStock, limited, inStock, backOrder, preOrder, onDisplayToOrder) to return<br>
crowdBy: string, Crowding specification<br>
spelling_enabled: boolean, Whether to return spelling suggestions<br>
categoryRecommendations_category: string, Category for which to retrieve recommendations<br>
source: string, Query source (required)<br>
categories_useGcsConfig: boolean, This parameter is currently ignored<br>
categoryRecommendations_enabled: boolean, Whether to return category recommendation information<br>
spelling_useGcsConfig: boolean, This parameter is currently ignored<br>
plusOne_enabled: boolean, Whether to return +1 button code<br>
useCase: string, One of CommerceSearchUseCase, ShoppingApiUseCase<br>
location: string, Location used to determine tax and shipping<br>
maxVariants: integer, Maximum number of variant results to return per result<br>
relatedQueries_enabled: boolean, Whether to return related queries<br>
facets_useGcsConfig: boolean, Whether to return facet information as configured in the GCS account<br>
categoryRecommendations_useGcsConfig: boolean, This parameter is currently ignored<br>
boostBy: string, Boosting specification<br>
safe: boolean, Whether safe search is enabled. Default: true<br>
maxResults: integer, Maximum number of results to return<br>
categories_enabled: boolean, Whether to return category information<br>
attributeFilter: string, Comma separated list of attributes to return<br>
categoryRecommendations_include: string, Category recommendation specification<br>
plusOne_options: string, +1 button rendering specification<br>
facets_include: string, Facets to include (applies when useGcsConfig == false)<br>
thumbnails: string, Image thumbnails specification<br>
language: string, Language restriction (BCP 47)<br>
facets_discover: string, Facets to discover<br>
categories_include: string, Category specification<br>
redirects_enabled: boolean, Whether to return redirect information<br>
restrictBy: string, Restriction specification<br>
q: string, Search query<br>
redirects_useGcsConfig: boolean, Whether to return redirect information as configured in the GCS account<br>
plusOne_useGcsConfig: boolean, Whether to use +1 button styles configured in the GCS account<br>
relatedQueries_useGcsConfig: boolean, This parameter is currently ignored<br>
promotions_useGcsConfig: boolean, Whether to return promotion information as configured in the GCS account<br>
country: string, Country restriction (ISO 3166)<br>
<br>
Returns:<br>
An object of the form<br>
<br>
{<br>
"promotions": [ # List of promotions.<br>
{<br>
"product": { # Product of promotion (omitted if type is not product).<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
"description": "A String", # Description of promotion (omitted if type is not standard).<br>
"imageLink": "A String", # Link to promotion image (omitted if type is not standard).<br>
"destLink": "A String", # Link to promotion (omitted if type is not standard).<br>
"customHtml": "A String", # Custom HTML of promotion (omitted if type is not custom).<br>
"link": "A String", # Link to promotion without scheme. DEPRECATED. WILL BE REMOVED SOON. USE destLink.<br>
"customFields": [ # List of custom fields of promotion.<br>
{<br>
"name": "A String", # Name of field.<br>
"value": "A String", # Value of field.<br>
},<br>
],<br>
"type": "A String", # Type of promotion (one of: standard, product, custom).<br>
"name": "A String", # Name of promotion (omitted if type is not standard).<br>
},<br>
],<br>
"selfLink": "A String", # Self link of feed.<br>
"kind": "shopping#products", # The fixed string "shopping#products". The kind of feed returned.<br>
"stores": [ # List of returned stores.<br>
{<br>
"storeCode": "A String", # Merchant-supplied store code.<br>
"name": "A String", # Name of merchant.<br>
"storeName": "A String", # Name of store.<br>
"storeId": "A String", # Id of store.<br>
"telephone": "A String", # Telephone number of store.<br>
"location": "A String", # Location of store.<br>
"address": "A String", # Address of store.<br>
},<br>
],<br>
"currentItemCount": 42, # Current item count.<br>
"items": [ # List of returned products.<br>
{<br>
"selfLink": "A String", # Self link of product.<br>
"kind": "shopping#product", # The kind of item, always shopping#product.<br>
"product": { # Product.<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
"requestId": "A String", # Unique identifier for this request.<br>
"recommendations": [ # Recommendations for product.<br>
{<br>
"recommendationList": [ # List of recommendations.<br>
{<br>
"product": { # Recommended product.<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
},<br>
],<br>
"type": "A String", # Type of recommendation list (for offer-based recommendations, one of: all, purchaseToPurchase, visitToVisit, visitToPurchase, relatedItems; for category-based recommendations, one of: all, categoryMostVisited, categoryBestSeller).<br>
},<br>
],<br>
"debug": { # Google internal.<br>
"searchRequest": "A String", # Google internal.<br>
"rdcResponse": "A String", # Google internal.<br>
"facetsRequest": "A String", # Google internal.<br>
"searchResponse": "A String", # Google internal.<br>
"elapsedMillis": "A String", # Google internal.<br>
"facetsResponse": "A String", # Google internal.<br>
"backendTimes": [ # Google internal<br>
{<br>
"serverMillis": "A String", # Google internal<br>
"hostName": "A String", # Google internal<br>
"name": "A String", # Google internal<br>
"elapsedMillis": "A String", # Google internal<br>
},<br>
],<br>
},<br>
"id": "A String", # Id of product.<br>
"categories": [ # List of categories for product.<br>
{<br>
"url": "A String", # URL of category.<br>
"shortName": "A String", # Short name of category.<br>
"parents": [ # Ids of the parents of the category.<br>
"A String",<br>
],<br>
"id": "A String", # Id of category.<br>
},<br>
],<br>
},<br>
],<br>
"facets": [ # List of facets.<br>
{<br>
"count": 42, # Number of products matching the query that have a value for the facet's property or attribute.<br>
"displayName": "A String", # Display name of facet.<br>
"name": "A String", # Name of the facet's attribute (omitted for property facets).<br>
"buckets": [ # List of Buckets within facet.<br>
{<br>
"count": 42, # Number of products matching the query that have a value for the facet's property or attribute that matches the bucket.<br>
"minExclusive": True or False, # Whether the lower bound of the bucket is exclusive (omitted for value buckets or if the range has no lower bound).<br>
"min": "", # Lower bound of the bucket (omitted for value buckets or if the range has no lower bound).<br>
"max": "", # Upper bound of the bucket (omitted for value buckets or if the range has no upper bound).<br>
"value": "", # Value of the bucket (omitted for range buckets).<br>
"maxExclusive": True or False, # Whether the upper bound of the bucket is exclusive (omitted for value buckets or if the range has no upper bound).<br>
},<br>
],<br>
"property": "A String", # Property of facet (omitted for attribute facets).<br>
"type": "A String", # Type of facet's attribute (omitted for property facets, one of: text, bool, int, float).<br>
"unit": "A String", # Unit of the facet's property or attribute (omitted if the facet's property or attribute has no unit).<br>
},<br>
],<br>
"itemsPerPage": 42, # Number of items per page of results.<br>
"redirects": [ # Redirects.<br>
"A String",<br>
],<br>
"nextLink": "A String", # Next link of feed.<br>
"relatedQueries": [ # Related queries.<br>
"A String",<br>
],<br>
"totalItems": 42, # Total number of search results.<br>
"startIndex": 42, # 1-based index of the first item in the search results.<br>
"etag": "A String", # Etag of feed.<br>
"requestId": "A String", # Unique identifier for this request.<br>
"categoryRecommendations": [ # Recommendations for category.<br>
{<br>
"recommendationList": [ # List of recommendations.<br>
{<br>
"product": { # Recommended product.<br>
"queryMatched": True or False, # Whether this product matched the user query. Only set for the variant offers (if any) attached to a product offer.<br>
"gtin": "A String", # The first GTIN of the product. Deprecated in favor of "gtins".<br>
"images": [ # Images of product.<br>
{<br>
"link": "A String", # Link to product image.<br>
"thumbnails": [ # Thumbnails of product image.<br>
{<br>
"content": "A String", # Content of thumbnail (only available for the first thumbnail of the top results if SAYT is enabled).<br>
"width": 42, # Width of thumbnail (omitted if not specified in the request).<br>
"link": "A String", # Link to thumbnail.<br>
"height": 42, # Height of thumbnail (omitted if not specified in the request).<br>
},<br>
],<br>
},<br>
],<br>
"inventories": [ # Inventories of product.<br>
{<br>
"distance": 3.14, # Distance of product inventory.<br>
"price": 3.14, # Price of product inventory.<br>
"storeId": "A String", # Store ID of product inventory.<br>
"tax": 3.14, # Tax of product inventory.<br>
"shipping": 3.14, # Shipping cost of product inventory.<br>
"currency": "A String", # Currency of product inventory (an ISO 4217 alphabetic code).<br>
"distanceUnit": "A String", # Distance unit of product inventory.<br>
"availability": "A String", # Availability of product inventory.<br>
"channel": "A String", # Channel of product inventory (one of: online, local).<br>
},<br>
],<br>
"author": { # Author of product.<br>
"name": "A String", # Name of product author.<br>
"accountId": "A String", # Account id of product author.<br>
},<br>
"condition": "A String", # Condition of product (one of: new, refurbished, used).<br>
"providedId": "A String", # Merchant-provided id of product (available only with a cx source).<br>
"internal8": [ # Google Internal.<br>
"A String",<br>
],<br>
"description": "A String", # Description of product.<br>
"gtins": [ # List of all the product's GTINs (in GTIN-14 format).<br>
"A String",<br>
],<br>
"internal1": [ # Google Internal.<br>
"A String",<br>
],<br>
"brand": "A String", # Brand of product.<br>
"internal3": "A String", # Google Internal.<br>
"internal4": [ # Google Internal.<br>
{<br>
"node": 42, # Google Internal.<br>
"confidence": 3.14, # Google Internal.<br>
},<br>
],<br>
"internal6": "A String", # Google Internal.<br>
"internal7": True or False, # Google Internal.<br>
"link": "A String", # Link to product.<br>
"mpns": [ # List of all the product's MPNs.<br>
"A String",<br>
],<br>
"attributes": [ # Attributes of product (available only with a cx source).<br>
{<br>
"type": "A String", # Type of product attribute (one of: text, bool, int, float, dateRange, url).<br>
"value": "", # Value of product attribute.<br>
"displayName": "A String", # Display Name of prodct attribute.<br>
"name": "A String", # Name of product attribute.<br>
"unit": "A String", # Unit of product attribute.<br>
},<br>
],<br>
"totalMatchingVariants": 42, # The number of variant offers returned that matched the query.<br>
"variants": [ # A list of variant offers associated with this product.<br>
{<br>
"variant": # Object with schema name: ShoppingModelProductJsonV1 # The detailed offer data for a particular variant offer.<br>
},<br>
],<br>
"modificationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted modification time and date of product.<br>
"categories": [ # Categories of product according to the selected taxonomy, omitted if no taxonomy is selected.<br>
"A String",<br>
],<br>
"language": "A String", # BCP 47 language tag of language of product.<br>
"country": "A String", # ISO 3166 code of target country of product.<br>
"title": "A String", # Title of product.<br>
"creationTime": "A String", # <a href="http://www.rfc-editor.org/rfc/rfc3339.txt">RFC 3339</a> formatted creation time and date of product.<br>
"internal14": 3.14, # Google Internal.<br>
"internal12": "A String", # Google Internal.<br>
"internal13": 3.14, # Google Internal.<br>
"internal10": [ # Google Internal.<br>
"A String",<br>
],<br>
"plusOne": "A String", # Code to add to the page to render the +1 content.<br>
"googleId": "A String", # Google id of product.<br>
"internal15": 3.14, # Google Internal.<br>
},<br>
},<br>
],<br>
"type": "A String", # Type of recommendation list (for offer-based recommendations, one of: all, purchaseToPurchase, visitToVisit, visitToPurchase, relatedItems; for category-based recommendations, one of: all, categoryMostVisited, categoryBestSeller).<br>
},<br>
],<br>
"debug": { # Google internal.<br>
"searchRequest": "A String", # Google internal.<br>
"rdcResponse": "A String", # Google internal.<br>
"facetsRequest": "A String", # Google internal.<br>
"searchResponse": "A String", # Google internal.<br>
"elapsedMillis": "A String", # Google internal.<br>
"facetsResponse": "A String", # Google internal.<br>
"backendTimes": [ # Google internal<br>
{<br>
"serverMillis": "A String", # Google internal<br>
"hostName": "A String", # Google internal<br>
"name": "A String", # Google internal<br>
"elapsedMillis": "A String", # Google internal<br>
},<br>
],<br>
},<br>
"spelling": { # Spelling.<br>
"suggestion": "A String", # Suggestion for spelling.<br>
},<br>
"previousLink": "A String", # Previous link of feed.<br>
"id": "tag:google.com,2010:shopping/products", # Id of feed.<br>
"categories": [ # List of categories.<br>
{<br>
"url": "A String", # URL of category.<br>
"shortName": "A String", # Short name of category.<br>
"parents": [ # Ids of the parents of the category.<br>
"A String",<br>
],<br>
"id": "A String", # Id of category.<br>
},<br>
],<br>
}</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>
|