From 137047fc968393df76eec45d54f6807138636e1a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 24 May 2023 18:27:04 +0000 Subject: [PATCH] feat(content): update the api #### content:v2.1 The following keys were added: - resources.customers.methods.create (Total Keys: 12) - schemas.CloudExportAdditionalProperties (Total Keys: 17) - schemas.Customer (Total Keys: 7) - schemas.Distance (Total Keys: 5) - schemas.Product.properties.cloudExportAdditionalProperties (Total Keys: 2) - schemas.Product.properties.disclosureDate.type (Total Keys: 1) - schemas.ProductViewItemIssueItemIssueType.properties.code.type (Total Keys: 1) - schemas.Service.properties.storeConfig.$ref (Total Keys: 1) - schemas.ServiceStoreConfig (Total Keys: 18) --- docs/dyn/content_v2_1.customers.html | 121 ++++++++++ docs/dyn/content_v2_1.html | 5 + docs/dyn/content_v2_1.products.html | 152 ++++++++++++ docs/dyn/content_v2_1.productstatuses.html | 6 +- docs/dyn/content_v2_1.quotas.html | 2 +- docs/dyn/content_v2_1.recommendations.html | 2 +- docs/dyn/content_v2_1.reports.html | 1 + docs/dyn/content_v2_1.shippingsettings.html | 126 +++++++++- .../documents/content.v2.1.json | 218 +++++++++++++++++- 9 files changed, 609 insertions(+), 24 deletions(-) create mode 100644 docs/dyn/content_v2_1.customers.html diff --git a/docs/dyn/content_v2_1.customers.html b/docs/dyn/content_v2_1.customers.html new file mode 100644 index 00000000000..6a678965b1d --- /dev/null +++ b/docs/dyn/content_v2_1.customers.html @@ -0,0 +1,121 @@ + + + +

Content API for Shopping . customers

+

Instance Methods

+

+ close()

+

Close httplib2 connections.

+

+ create(merchantId, body=None, x__xgafv=None)

+

Allows uploading one customer information entry. Adding a customer with loyalty data enables the customer to see personalized loyalty annotations on search. Uploading a previously existing customer will overwrite the old entry.

+

Method Details

+
+ close() +
Close httplib2 connections.
+
+ +
+ create(merchantId, body=None, x__xgafv=None) +
Allows uploading one customer information entry. Adding a customer with loyalty data enables the customer to see personalized loyalty annotations on search. Uploading a previously existing customer will overwrite the old entry.
+
+Args:
+  merchantId: string, Required. The ID of the account that owns the customer information. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # The object representing a customer to update data for. Includes a customer identifier (such as email address) and any associated metadata to add. LoyaltyData triggers adding customer data for the purpose of loyalty personalization.
+  "emailAddress": "A String", # The customer's email address. No extra string processing needed.
+  "loyaltyData": { # The loyalty data of the customer. # Loyalty data associated with the customer.
+    "loyaltyTier": "A String", # The tier information for the given user. Can be an empty string.
+  },
+}
+
+  x__xgafv: string, V1 error format.
+    Allowed values
+      1 - v1 error format
+      2 - v2 error format
+
+Returns:
+  An object of the form:
+
+    { # The object representing a customer to update data for. Includes a customer identifier (such as email address) and any associated metadata to add. LoyaltyData triggers adding customer data for the purpose of loyalty personalization.
+  "emailAddress": "A String", # The customer's email address. No extra string processing needed.
+  "loyaltyData": { # The loyalty data of the customer. # Loyalty data associated with the customer.
+    "loyaltyTier": "A String", # The tier information for the given user. Can be an empty string.
+  },
+}
+
+ + \ No newline at end of file diff --git a/docs/dyn/content_v2_1.html b/docs/dyn/content_v2_1.html index fab69f5921f..db3bff9c33e 100644 --- a/docs/dyn/content_v2_1.html +++ b/docs/dyn/content_v2_1.html @@ -114,6 +114,11 @@

Instance Methods

Returns the csses Resource.

+

+ customers() +

+

Returns the customers Resource.

+

datafeeds()

diff --git a/docs/dyn/content_v2_1.products.html b/docs/dyn/content_v2_1.products.html index 8600ef49e5e..5e6c83efe55 100644 --- a/docs/dyn/content_v2_1.products.html +++ b/docs/dyn/content_v2_1.products.html @@ -136,6 +136,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -158,6 +176,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -379,6 +398,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -401,6 +438,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -628,6 +666,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -650,6 +706,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -852,6 +909,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -874,6 +949,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -1075,6 +1151,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -1097,6 +1191,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -1310,6 +1405,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -1332,6 +1445,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -1551,6 +1665,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -1573,6 +1705,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. @@ -1774,6 +1907,24 @@

Method Details

"brand": "A String", # Brand of the item. "canonicalLink": "A String", # URL for the canonical version of your item's landing page. "channel": "A String", # Required. The item's channel (online or local). Acceptable values are: - "`local`" - "`online`" + "cloudExportAdditionalProperties": [ # Extra fields to export to the Cloud Retail program. + { # Product property for the Cloud Retail API. For example, properties for a TV product could be "Screen-Resolution" or "Screen-Size". + "boolValue": True or False, # Boolean value of the given property. For example for a TV product, "True" or "False" if the screen is UHD. + "floatValue": [ # Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + 3.14, + ], + "intValue": [ # Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. + "A String", + ], + "maxValue": 3.14, # Maximum float value of the given property. For example for a TV product 100.00. + "minValue": 3.14, # Minimum float value of the given property. For example for a TV product 1.00. + "propertyName": "A String", # Name of the given property. For example, "Screen-Resolution" for a TV product. Maximum string size is 256 characters. + "textValue": [ # Text value of the given property. For example, "8K(UHD)" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters. + "A String", + ], + "unitCode": "A String", # Unit of the given property. For example, "Pixels" for a TV product. Maximum string size is 256 bytes. + }, + ], "color": "A String", # Color of the item. "condition": "A String", # Condition or state of the item. "contentLanguage": "A String", # Required. The two-letter ISO 639-1 language code for the item. @@ -1796,6 +1947,7 @@

Method Details

"customLabel3": "A String", # Custom label 3 for custom grouping of items in a Shopping campaign. "customLabel4": "A String", # Custom label 4 for custom grouping of items in a Shopping campaign. "description": "A String", # Description of the item. + "disclosureDate": "A String", # The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information. "displayAdsId": "A String", # An identifier for an item for dynamic remarketing campaigns. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. "displayAdsSimilarIds": [ # Advertiser-specified recommendations. diff --git a/docs/dyn/content_v2_1.productstatuses.html b/docs/dyn/content_v2_1.productstatuses.html index dd784e17479..6cd4040cc32 100644 --- a/docs/dyn/content_v2_1.productstatuses.html +++ b/docs/dyn/content_v2_1.productstatuses.html @@ -161,7 +161,7 @@

Method Details

"pendingCountries": [ # List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. "A String", ], - "status": "A String", # Destination approval status in `targetCountry` of the offer. + "status": "A String", # Deprecated. Destination approval status in `targetCountry` of the offer. }, ], "googleExpirationDate": "A String", # Date on which the item expires in Google Shopping, in ISO 8601 format. @@ -222,7 +222,7 @@

Method Details

"pendingCountries": [ # List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. "A String", ], - "status": "A String", # Destination approval status in `targetCountry` of the offer. + "status": "A String", # Deprecated. Destination approval status in `targetCountry` of the offer. }, ], "googleExpirationDate": "A String", # Date on which the item expires in Google Shopping, in ISO 8601 format. @@ -284,7 +284,7 @@

Method Details

"pendingCountries": [ # List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. "A String", ], - "status": "A String", # Destination approval status in `targetCountry` of the offer. + "status": "A String", # Deprecated. Destination approval status in `targetCountry` of the offer. }, ], "googleExpirationDate": "A String", # Date on which the item expires in Google Shopping, in ISO 8601 format. diff --git a/docs/dyn/content_v2_1.quotas.html b/docs/dyn/content_v2_1.quotas.html index 276bcde6b4b..c7624a97651 100644 --- a/docs/dyn/content_v2_1.quotas.html +++ b/docs/dyn/content_v2_1.quotas.html @@ -107,7 +107,7 @@

Method Details

{ # Response message for the ListMethodQuotas method. "methodQuotas": [ # The current quota usage and limits per each method. - { # The quota information per method in the Content API. Includes only methods with current usage greater than zero for your account. + { # The quota information per method in the Content API. "method": "A String", # The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method. "quotaLimit": "A String", # The current quota limit per day, meaning the maximum number of calls for the method. "quotaUsage": "A String", # The current quota usage, meaning the number of calls already made to the method. diff --git a/docs/dyn/content_v2_1.recommendations.html b/docs/dyn/content_v2_1.recommendations.html index f0686b5beef..ccddea0f419 100644 --- a/docs/dyn/content_v2_1.recommendations.html +++ b/docs/dyn/content_v2_1.recommendations.html @@ -95,7 +95,7 @@

Method Details

Args: merchantId: string, Required. The ID of the account to fetch recommendations for. (required) - allowedTag: string, Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types. User can specify zero or more tags in this field to indicate what group of recommendations they want to receive. Current list of supported tags: - TREND (repeated) + allowedTag: string, Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types belong to. User can specify zero or more tags in this field to indicate what categories of recommendations they want to receive. Current list of supported tags: - TREND (repeated) languageCode: string, Optional. Language code of the client. If not set, the result will be in default language (English). This language code affects all fields prefixed with "localized". This should be set to ISO 639-1 country code. List of currently verified supported language code: en, fr, cs, da, de, es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, id, hi x__xgafv: string, V1 error format. Allowed values diff --git a/docs/dyn/content_v2_1.reports.html b/docs/dyn/content_v2_1.reports.html index b1a0a21749e..801370c2294 100644 --- a/docs/dyn/content_v2_1.reports.html +++ b/docs/dyn/content_v2_1.reports.html @@ -215,6 +215,7 @@

Method Details

{ # Item issue associated with the product. "issueType": { # Type of the item issue. # Item issue type. "canonicalAttribute": "A String", # Canonical attribute name for attribute-specific issues. + "code": "A String", # Error code of the issue. }, "resolution": "A String", # Item issue resolution. "severity": { # Severity of an issue per destination in a region, and aggregated severity. # Item issue severity. diff --git a/docs/dyn/content_v2_1.shippingsettings.html b/docs/dyn/content_v2_1.shippingsettings.html index b1f8d97d7f5..af3d5502fc9 100644 --- a/docs/dyn/content_v2_1.shippingsettings.html +++ b/docs/dyn/content_v2_1.shippingsettings.html @@ -142,7 +142,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -403,7 +403,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. @@ -477,7 +494,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -738,7 +755,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. @@ -805,7 +839,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -1066,7 +1100,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. @@ -1220,7 +1271,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -1481,7 +1532,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. @@ -1555,7 +1623,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -1816,7 +1884,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. @@ -1871,7 +1956,7 @@

Method Details

"currency": "A String", # The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. "deliveryCountry": "A String", # The CLDR territory code of the country to which the service applies. Required. "deliveryTime": { # Time spent in various aspects from order to the delivery of the product. Required. - "cutoffTime": { # Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST. + "cutoffTime": { # Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig. "hour": 42, # Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required. "minute": 42, # Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required. "timezone": "A String", # Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List of identifiers. Required. @@ -2132,7 +2217,24 @@

Method Details

], }, ], - "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" + "shipmentType": "A String", # Type of locations this service ships orders to. Acceptable values are: - "`delivery`" - "`pickup`" - "`local_delivery`" + "storeConfig": { # Stores that provide local delivery. Only valid with local delivery fulfillment. # A list of stores your products are delivered from. This is only available for the local delivery shipment type. + "cutoffConfig": { # Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive. # Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown. + "localCutoffTime": { # Time in hours and minutes in the local timezone when local delivery ends. # Time in hours and minutes in the local timezone when local delivery ends. + "hour": "A String", # Hour local delivery orders must be placed by to process the same day. + "minute": "A String", # Minute local delivery orders must be placed by to process the same day. + }, + "storeCloseOffsetHours": "A String", # Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute). + }, + "serviceRadius": { # Distance represented by an integer and unit. # Maximum delivery radius. Only needed for local delivery fulfillment type. + "unit": "A String", # The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`. + "value": "A String", # The distance represented as a number. + }, + "storeCodes": [ # A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown. + "A String", + ], + "storeServiceType": "A String", # Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores` + }, }, ], "warehouses": [ # Optional. A list of warehouses which can be referred to in `services`. diff --git a/googleapiclient/discovery_cache/documents/content.v2.1.json b/googleapiclient/discovery_cache/documents/content.v2.1.json index 9c6d3e76699..45b2b51177d 100644 --- a/googleapiclient/discovery_cache/documents/content.v2.1.json +++ b/googleapiclient/discovery_cache/documents/content.v2.1.json @@ -1822,6 +1822,38 @@ } } }, + "customers": { + "methods": { + "create": { + "description": "Allows uploading one customer information entry. Adding a customer with loyalty data enables the customer to see personalized loyalty annotations on search. Uploading a previously existing customer will overwrite the old entry.", + "flatPath": "{merchantId}/customers", + "httpMethod": "POST", + "id": "content.customers.create", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account that owns the customer information.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/customers", + "request": { + "$ref": "Customer" + }, + "response": { + "$ref": "Customer" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "datafeeds": { "methods": { "custombatch": { @@ -4837,7 +4869,7 @@ ], "parameters": { "allowedTag": { - "description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types. User can specify zero or more tags in this field to indicate what group of recommendations they want to receive. Current list of supported tags: - TREND", + "description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types belong to. User can specify zero or more tags in this field to indicate what categories of recommendations they want to receive. Current list of supported tags: - TREND", "location": "query", "repeated": true, "type": "string" @@ -6225,7 +6257,7 @@ } } }, - "revision": "20230328", + "revision": "20230517", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -7477,7 +7509,7 @@ "Cross-channel Last Click model.", "Ads-preferred Last Click model.", "Cross-channel Data Driven model.", - "Cross-channel Frist Click model.", + "Cross-channel First Click model.", "Cross-channel Linear model.", "Cross-channel Position Based model.", "Cross-channel Time Decay model." @@ -7816,6 +7848,58 @@ }, "type": "object" }, + "CloudExportAdditionalProperties": { + "description": "Product property for the Cloud Retail API. For example, properties for a TV product could be \"Screen-Resolution\" or \"Screen-Size\".", + "id": "CloudExportAdditionalProperties", + "properties": { + "boolValue": { + "description": "Boolean value of the given property. For example for a TV product, \"True\" or \"False\" if the screen is UHD.", + "type": "boolean" + }, + "floatValue": { + "description": "Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + }, + "intValue": { + "description": "Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "maxValue": { + "description": "Maximum float value of the given property. For example for a TV product 100.00.", + "format": "float", + "type": "number" + }, + "minValue": { + "description": "Minimum float value of the given property. For example for a TV product 1.00.", + "format": "float", + "type": "number" + }, + "propertyName": { + "description": "Name of the given property. For example, \"Screen-Resolution\" for a TV product. Maximum string size is 256 characters.", + "type": "string" + }, + "textValue": { + "description": "Text value of the given property. For example, \"8K(UHD)\" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "unitCode": { + "description": "Unit of the given property. For example, \"Pixels\" for a TV product. Maximum string size is 256 bytes.", + "type": "string" + } + }, + "type": "object" + }, "Collection": { "description": "The collection message.", "id": "Collection", @@ -8126,6 +8210,32 @@ }, "type": "object" }, + "Customer": { + "description": "The object representing a customer to update data for. Includes a customer identifier (such as email address) and any associated metadata to add. LoyaltyData triggers adding customer data for the purpose of loyalty personalization.", + "id": "Customer", + "properties": { + "emailAddress": { + "description": "The customer's email address. No extra string processing needed.", + "type": "string" + }, + "loyaltyData": { + "$ref": "CustomerLoyaltyData", + "description": "Loyalty data associated with the customer." + } + }, + "type": "object" + }, + "CustomerLoyaltyData": { + "description": "The loyalty data of the customer.", + "id": "CustomerLoyaltyData", + "properties": { + "loyaltyTier": { + "description": "The tier information for the given user. Can be an empty string.", + "type": "string" + } + }, + "type": "object" + }, "CustomerReturnReason": { "id": "CustomerReturnReason", "properties": { @@ -8747,7 +8857,7 @@ "properties": { "cutoffTime": { "$ref": "CutoffTime", - "description": "Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST." + "description": "Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig." }, "handlingBusinessDayConfig": { "$ref": "BusinessDayConfig", @@ -8798,6 +8908,22 @@ }, "type": "object" }, + "Distance": { + "description": "Distance represented by an integer and unit.", + "id": "Distance", + "properties": { + "unit": { + "description": "The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`.", + "type": "string" + }, + "value": { + "description": "The distance represented as a number.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "ECommercePlatformLinkInfo": { "description": "Additional information required for E_COMMERCE_PLATFORM link type.", "id": "ECommercePlatformLinkInfo", @@ -10154,7 +10280,7 @@ "type": "object" }, "MethodQuota": { - "description": "The quota information per method in the Content API. Includes only methods with current usage greater than zero for your account.", + "description": "The quota information per method in the Content API.", "id": "MethodQuota", "properties": { "method": { @@ -13268,6 +13394,13 @@ "description": "Required. The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ", "type": "string" }, + "cloudExportAdditionalProperties": { + "description": "Extra fields to export to the Cloud Retail program.", + "items": { + "$ref": "CloudExportAdditionalProperties" + }, + "type": "array" + }, "color": { "description": "Color of the item.", "type": "string" @@ -13315,6 +13448,10 @@ "description": "Description of the item.", "type": "string" }, + "disclosureDate": { + "description": "The date time when an offer becomes visible in search results across Google\u2019s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date]( https://support.google.com/merchants/answer/13034208) for more information.", + "type": "string" + }, "displayAdsId": { "description": "An identifier for an item for dynamic remarketing campaigns.", "type": "string" @@ -13998,7 +14135,7 @@ "type": "array" }, "status": { - "description": "Destination approval status in `targetCountry` of the offer.", + "description": "Deprecated. Destination approval status in `targetCountry` of the offer.", "type": "string" } }, @@ -14368,6 +14505,10 @@ "canonicalAttribute": { "description": "Canonical attribute name for attribute-specific issues.", "type": "string" + }, + "code": { + "description": "Error code of the issue.", + "type": "string" } }, "type": "object" @@ -16753,7 +16894,70 @@ "type": "array" }, "shipmentType": { - "description": "Type of locations this service ships orders to. Acceptable values are: - \"`delivery`\" - \"`pickup`\" ", + "description": "Type of locations this service ships orders to. Acceptable values are: - \"`delivery`\" - \"`pickup`\" - \"`local_delivery`\" ", + "type": "string" + }, + "storeConfig": { + "$ref": "ServiceStoreConfig", + "description": "A list of stores your products are delivered from. This is only available for the local delivery shipment type." + } + }, + "type": "object" + }, + "ServiceStoreConfig": { + "description": "Stores that provide local delivery. Only valid with local delivery fulfillment.", + "id": "ServiceStoreConfig", + "properties": { + "cutoffConfig": { + "$ref": "ServiceStoreConfigCutoffConfig", + "description": "Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown." + }, + "serviceRadius": { + "$ref": "Distance", + "description": "Maximum delivery radius. Only needed for local delivery fulfillment type." + }, + "storeCodes": { + "description": "A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown.", + "items": { + "type": "string" + }, + "type": "array" + }, + "storeServiceType": { + "description": "Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores`", + "type": "string" + } + }, + "type": "object" + }, + "ServiceStoreConfigCutoffConfig": { + "description": "Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive.", + "id": "ServiceStoreConfigCutoffConfig", + "properties": { + "localCutoffTime": { + "$ref": "ServiceStoreConfigCutoffConfigLocalCutoffTime", + "description": "Time in hours and minutes in the local timezone when local delivery ends." + }, + "storeCloseOffsetHours": { + "description": "Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute).", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ServiceStoreConfigCutoffConfigLocalCutoffTime": { + "description": "Time in hours and minutes in the local timezone when local delivery ends.", + "id": "ServiceStoreConfigCutoffConfigLocalCutoffTime", + "properties": { + "hour": { + "description": "Hour local delivery orders must be placed by to process the same day.", + "format": "int64", + "type": "string" + }, + "minute": { + "description": "Minute local delivery orders must be placed by to process the same day.", + "format": "int64", "type": "string" } },