Required. The primary or supplemental product data source name. If the
product already exists and data source provided is different, then the
product will be moved to a new data source. For more information, see
Overview of Data sources
sub-API.
Only API data sources are supported.
Format: accounts/{account}/dataSources/{datasource}. For example,
accounts/123456/dataSources/104628.
Required. The primary or supplemental product data source name. If the
product already exists and data source provided is different, then the
product will be moved to a new data source. For more information, see
Overview of Data sources
sub-API.
Only API data sources are supported.
Format: accounts/{account}/dataSources/{datasource}. For example,
accounts/123456/dataSources/104628.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface InsertProductInputRequestOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1.InsertProductInputRequestOrBuilder) \n\n public interface InsertProductInputRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDataSource()\n\n public abstract String getDataSource()\n\nRequired. The primary or supplemental product data source name. If the\nproduct already exists and data source provided is different, then the\nproduct will be moved to a new data source. For more information, see\n[Overview of Data sources\nsub-API](/merchant/api/guides/data-sources/overview).\n\nOnly API data sources are supported.\n\nFormat: `accounts/{account}/dataSources/{datasource}`. For example,\n`accounts/123456/dataSources/104628`.\n\n`string data_source = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getDataSourceBytes()\n\n public abstract ByteString getDataSourceBytes()\n\nRequired. The primary or supplemental product data source name. If the\nproduct already exists and data source provided is different, then the\nproduct will be moved to a new data source. For more information, see\n[Overview of Data sources\nsub-API](/merchant/api/guides/data-sources/overview).\n\nOnly API data sources are supported.\n\nFormat: `accounts/{account}/dataSources/{datasource}`. For example,\n`accounts/123456/dataSources/104628`.\n\n`string data_source = 3 [(.google.api.field_behavior) = REQUIRED];`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The account where this product will be inserted.\nFormat: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The account where this product will be inserted.\nFormat: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getProductInput()\n\n public abstract ProductInput getProductInput()\n\nRequired. The product input to insert.\n\n`\n.google.shopping.merchant.products.v1.ProductInput product_input = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getProductInputOrBuilder()\n\n public abstract ProductInputOrBuilder getProductInputOrBuilder()\n\nRequired. The product input to insert.\n\n`\n.google.shopping.merchant.products.v1.ProductInput product_input = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasProductInput()\n\n public abstract boolean hasProductInput()\n\nRequired. The product input to insert.\n\n`\n.google.shopping.merchant.products.v1.ProductInput product_input = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]