Skip to content

Commit 931e728

Browse files
feat: [ShoppingMerchantProducts] Added the product_id_base64_url_encoded field to InsertProductInputRequest, DeleteProductInputRequest, and GetProductRequest. This allows for product IDs containing special characters to be correctly handled when unpadded base64url-encoded (#8729)
* feat: Added the `product_id_base64_url_encoded` field to `InsertProductInputRequest`, `DeleteProductInputRequest`, and `GetProductRequest`. This allows for product IDs containing special characters to be correctly handled when unpadded base64url-encoded feat: Added `handling_cutoff_time` and `handling_cutoff_timezone` fields to the `Shipping` message within `Attributes` feat: Added C#, PHP, and Ruby namespace options to ProductInputs, Products, and ProductsCommon proto files for improved client library generation docs: Updated comments for several fields, including product name formats, data source creation, destination field descriptions (now also referred to as Marketing Methods), and the default page size for `ListProductsRequest` PiperOrigin-RevId: 830818171 Source-Link: googleapis/googleapis@20581e0 Source-Link: googleapis/googleapis-gen@0fb8fa3 Copy-Tag: eyJwIjoiU2hvcHBpbmdNZXJjaGFudFByb2R1Y3RzLy5Pd2xCb3QueWFtbCIsImgiOiIwZmI4ZmEzZWVhN2U2NWNhMDUyMzAyNWNmZDAzYzhiNDgyYWVmYmJiIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Added the `product_id_base64_url_encoded` field to `InsertProductInputRequest`, `DeleteProductInputRequest`, and `GetProductRequest`. This allows for product IDs containing special characters to be correctly handled when unpadded base64url-encoded feat: Added several fields to enhance shipping configurations: - `handling_cutoff_time` and `handling_cutoff_timezone` within the `Shipping` message - `ShippingBusinessDaysConfig` message to define business days for shipping - `shipping_handling_business_days` and `shipping_transit_business_days` in `ProductAttributes` - `HandlingCutoffTime` message to configure country-specific handling cutoffs - `handling_cutoff_times` array in `ProductAttributes` docs: Updated various comments, including links to data source creation guides PiperOrigin-RevId: 830818193 Source-Link: googleapis/googleapis@659ea6e Source-Link: googleapis/googleapis-gen@958d93e Copy-Tag: eyJwIjoiU2hvcHBpbmdNZXJjaGFudFByb2R1Y3RzLy5Pd2xCb3QueWFtbCIsImgiOiI5NThkOTNlYjFmODIyOWRmZmM4ZmExYjljNGQ2MWY0ZjBhMWNmNDhkIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent cedb5ac commit 931e728

30 files changed

+1397
-156
lines changed
89 Bytes
Binary file not shown.
44 Bytes
Binary file not shown.
807 Bytes
Binary file not shown.
226 Bytes
Binary file not shown.
181 Bytes
Binary file not shown.
265 Bytes
Binary file not shown.

ShoppingMerchantProducts/samples/V1/ProductInputsServiceClient/insert_product_input.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030

3131
/**
3232
* [Uploads a product input to your Merchant Center
33-
* account](/merchant/api/guides/products/overview#upload-product-input). You
33+
* account](/merchant/api/guides/products/add-manage#add_a_product). You
3434
* must have a products [data
35-
* source](/merchant/api/guides/data-sources/overview) to be able to insert a
36-
* product. The unique identifier of the data source is passed as a query
37-
* parameter in the request URL.
35+
* source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
36+
* to be able to insert a product. The unique identifier of the data source is
37+
* passed as a query parameter in the request URL.
3838
*
3939
* If a product input with the same contentLanguage, offerId, and dataSource
4040
* already exists, then the product input inserted by this method replaces
@@ -63,8 +63,8 @@
6363
* @param string $dataSource The primary or supplemental product data source name. If the
6464
* product already exists and data source provided is different, then the
6565
* product will be moved to a new data source. For more information, see
66-
* [Overview of Data sources
67-
* sub-API](/merchant/api/guides/data-sources/overview).
66+
* [Create a primary data
67+
* source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source).
6868
*
6969
* Only API data sources are supported.
7070
*

ShoppingMerchantProducts/samples/V1beta/ProductInputsServiceClient/delete_product_input.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
*
3636
* @param string $formattedName The name of the product input resource to delete.
3737
* Format: `accounts/{account}/productInputs/{product}`
38-
* where the last section `product` consists of 4 parts:
39-
* `channel~content_language~feed_label~offer_id`
38+
* where the last section `product` consists of:
39+
* `content_language~feed_label~offer_id`
4040
* example for product name is
41-
* `accounts/123/productInputs/online~en~US~sku123`. Please see
41+
* `accounts/123/productInputs/en~US~sku123`. Please see
4242
* {@see ProductInputsServiceClient::productInputName()} for help formatting this field.
4343
* @param string $dataSource The primary or supplemental data source from which the product
4444
* input should be deleted. Format:

ShoppingMerchantProducts/samples/V1beta/ProductInputsServiceClient/insert_product_input.php

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@
3030

3131
/**
3232
* [Uploads a product input to your Merchant Center
33-
* account](/merchant/api/guides/products/overview#upload-product-input). You
34-
* must have a products data source to be able to insert a product. The unique
35-
* identifier of the data source is passed as a query parameter in the request
36-
* URL.
33+
* account](/merchant/api/guides/products/add-manage#add_a_product). You
34+
* must have a products [data
35+
* source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
36+
* to be able to insert a product. The unique identifier of the data source is
37+
* passed as a query parameter in the request URL.
3738
*
38-
* If an input with the same contentLanguage, offerId, and dataSource already
39-
* exists, this method replaces that entry.
39+
* If a product input with the same contentLanguage, offerId, and dataSource
40+
* already exists, then the product input inserted by this method replaces
41+
* that entry.
4042
*
4143
* After inserting, updating, or deleting a product input, it may take several
4244
* minutes before the processed product can be retrieved.
@@ -53,16 +55,16 @@
5355
* @param string $productInputContentLanguage Immutable. The two-letter [ISO
5456
* 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
5557
* product.
56-
* @param string $productInputFeedLabel Immutable. The label that lets you categorize and identify your
57-
* products. The maximum allowed characters are 20, and the supported
58+
* @param string $productInputFeedLabel Immutable. The feed label that lets you categorize and identify
59+
* your products. The maximum allowed characters are 20, and the supported
5860
* characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must
5961
* not include any spaces. For more information, see [Using feed
6062
* labels](//support.google.com/merchants/answer/14994087).
6163
* @param string $dataSource The primary or supplemental product data source name. If the
6264
* product already exists and data source provided is different, then the
6365
* product will be moved to a new data source. For more information, see
64-
* [Overview of Data sources
65-
* sub-API](/merchant/api/guides/data-sources/overview).
66+
* [Create a primary data
67+
* source](/merchant/api/guides/data-sources/api-sources#create-primary-data-source).
6668
*
6769
* Only API data sources are supported.
6870
*

ShoppingMerchantProducts/samples/V1beta/ProductInputsServiceClient/update_product_input.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
* @param string $productInputContentLanguage Immutable. The two-letter [ISO
4444
* 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
4545
* product.
46-
* @param string $productInputFeedLabel Immutable. The label that lets you categorize and identify your
47-
* products. The maximum allowed characters are 20, and the supported
46+
* @param string $productInputFeedLabel Immutable. The feed label that lets you categorize and identify
47+
* your products. The maximum allowed characters are 20, and the supported
4848
* characters are `A-Z`, `0-9`, hyphen, and underscore. The feed label must
4949
* not include any spaces. For more information, see [Using feed
5050
* labels](//support.google.com/merchants/answer/14994087).

0 commit comments

Comments
 (0)