Skip to main content

Google Shopping Connector

Google Shopping Manage products, inventory, and orders in Google Merchant Center.

Connections

OAuth2

OAuth2 Connection

To connect to Google Shopping (Content API for Shopping), create an OAuth 2.0 application in the Google Cloud Console and configure the required scopes.

For more information about Google's OAuth 2.0 implementation, refer to the Google Identity Platform documentation.

Prerequisites

  • A Google Cloud account with access to the Google API Console
  • A Google Cloud project (create one if needed)
  • Billing enabled on the project (required for some API features)

Setup Steps

  1. Navigate to the Google API Console and select or create a project.
  2. Enable the Content API for Shopping:
    • Navigate to APIs & Services > Library
    • Search for "Content API for Shopping"
    • Select the API and click Enable
  3. Configure the OAuth consent screen:
    • Navigate to APIs & Services > OAuth consent screen
    • Select the appropriate user type (Internal for organization-only access or External for public access)
    • Fill in the required fields:
      • App name: Enter the application or company name
      • User support email: Provide a support contact email
      • Developer contact information: Add contact details
    • Click Save and Continue
  4. Add OAuth scopes:
    • Click Add or Remove Scopes
    • Search for "Content API for Shopping"
    • Select the following scope:
      • https://www.googleapis.com/auth/content - View and manage data for Google Shopping
    • Click Update and then Save and Continue
  5. Create OAuth 2.0 credentials:
    • Navigate to APIs & Services > Credentials
    • Click Create Credentials and select OAuth client ID
    • Under Application type, select Web application
    • Enter a name for the OAuth client
    • Under Authorized redirect URIs, click Add URI and enter: https://oauth2.integrations.acme.com/callback
    • Click Create
  6. Copy the generated Client ID and Client Secret - these values will be used to configure the connection.

To retrieve the Client ID and Secret later, navigate to APIs & Services > Credentials and select the OAuth 2.0 client from the OAuth 2.0 Client IDs section.

Configure the Connection

  • Enter the Client ID and Client Secret from the OAuth 2.0 client

  • For Scopes, use the following value:

    https://www.googleapis.com/auth/content
Publishing the OAuth Consent Screen

For production use with external users, the OAuth consent screen must be verified and published by Google. During development and testing, the app can remain in "Testing" mode with a limited number of test users. Refer to Google's OAuth consent screen documentation for publishing requirements.

Testing with Limited Users

While the app is in "Testing" mode, only users added to the test users list can authenticate. Add test users in the OAuth consent screen configuration under Test users.

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesSpace delimited listing of scopes. https://developers.google.com/identity/protocols/oauth2/scopes#contenthttps://www.googleapis.com/auth/content
Client IDThe Google Content app's Client Identifier.
Client SecretThe Google Content app's Client Secret.

Triggers

Pub/Sub Webhook

Receive push notifications from Google Cloud Pub/Sub for Merchant Center events such as order status changes. Requires a Pub/Sub topic registered with the Content API and a push subscription configured to forward messages to this endpoint.

Actions

Batch Local Inventory

Updates local inventory for multiple products or regions in a single request.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Entries for Batch RequestArray of batch entry objects for updating local inventory (in-store product availability and pricing) across multiple stores or products. Each entry must include batchId, merchantId, method, storeCode, and inventory data. See batch request documentation for structure details.

Batch Product

Retrieves, inserts, and deletes multiple products in a single request.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Entries for Batch RequestArray of batch entry objects for performing multiple product operations (get, insert, update, delete) in a single API call. Each entry must include batchId, merchantId, method, and relevant product data. See batch request documentation for structure details.

Batch Regional Inventory

Updates regional inventory for multiple products or regions in a single request.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Entries for Batch RequestArray of batch entry objects for updating regional inventory (availability and pricing for specific geographic regions). Each entry must include batchId, merchantId, method, regionId, and inventory data. See batch request documentation for structure details.

Cancel Order (Deprecated)

Cancels all line items in an order, making a full refund. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Order IdThe Google-generated order ID. Found in the Merchant Center Orders dashboard or returned when listing orders. This ID is used to retrieve, update, or manage specific order details.
Operation IdThe ID of the operation. Unique across all operations for a given order.
ReasonThe reason for the cancellation.
Reason TextThe explanation of the reason.

Create Account

Creates a Merchant Center sub-account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
NameDisplay name for the account.
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
Website UrlThe merchant's website.
Adult ContentWhen true, indicates the merchant sells adult content.false
Seller IdClient-specific, locally-unique, internal ID for the child account.
UserUsers with access to the account. Every account (except for subaccounts) must have at least one admin user.
Youtube Channel LinksLinked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
Google My Business LinkThe Business Profile which is linked or in the process of being linked with the Merchant Center account.
Business InformationThe business information of the account.
Automatic ImprovementsThe automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
Ads LinksLinked Ads accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the Ads interface or through the Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
Css IdID of the CSS (Comparison Shopping Service) that the account belongs to. CSS is a program allowing third-party shopping comparison services to display product listings. Only applicable for CSS-managed accounts.
Label IdsManually created label IDs that are assigned to the account by CSS.
Account ManagementSpecifies whether account management is manual or automatic.
Automatic Label IdsAutomatically created label IDs that are assigned to the account by CSS Center.
Conversion SettingsSettings for conversion tracking.

Create Order Return (Deprecated)

Create return in your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Order IdThe Google-generated order ID. Found in the Merchant Center Orders dashboard or returned when listing orders. This ID is used to retrieve, update, or manage specific order details.
Operation IdThe ID of the operation. Unique across all operations for a given order.
Line ItemsThe list of line items to return.
Return Method TypeThe way of the package being returned.

Create Product

Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Feed IdThe Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.
Offer IdA unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted.
Content LanguageThe two-letter ISO 639-1 language code for the item.
Target CountryThe CLDR territory code for the item's country of sale.
External Seller IdRequired for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.
ChannelThe sales channel for this product. 'online' for products sold through your website with shipping, 'local' for products available at physical store locations for local pickup or in-store purchase. Part of the product ID format.
Feed LabelFeed label for the item. Either targetCountry or feedLabel is required. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
TitleTitle of the product. Should be descriptive and include key attributes like brand, product type, and distinguishing features. Maximum 150 characters recommended for optimal display in search results.
DescriptionDetailed description of the product including materials, features, care instructions, and benefits. Should provide comprehensive information to help customers make purchasing decisions. Maximum 5,000 characters.
LinkURL directly linking to your item's page on your website.
Image LinkURL of an image of the item.
Additional Image LinksAdditional URLs of images of the item.
Lifestyle Image LinksAdditional URLs of lifestyle images of the item. Used to explicitly identify images that showcase your item in a real-world context.
Expiration DateDate on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.
AdultWhen true, indicates the item is targeted towards adults.false
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
BrandBrand name of the product manufacturer or designer. Required for products with GTIN unless the product is custom-made or a media item (books, movies, music). Maximum 70 characters.
ColorPrimary color of the product. Use standardized color names (e.g., 'Blue', 'Navy Blue', 'Red') for consistency. For variants with multiple colors, create separate products with the same itemGroupId. Maximum 100 characters.
Google Product CategoryGoogle's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
GTINGlobal Trade Item Number (GTIN) of the item.
Item Group IdShared identifier for all variants of the same product.
MaterialPrimary material composition of the product (e.g., Cotton, Polyester, Leather, Wood). Particularly important for apparel, home goods, and furniture. Can include multiple materials separated by slashes (e.g., 'Cotton/Polyester'). Maximum 200 characters.
MPNManufacturer Part Number (MPN) of the item.
PatternVisual pattern or print design on the product (e.g., Solid, Striped, Polka Dots, Plaid, Floral). Most relevant for apparel, home textiles, and decorative items. Maximum 100 characters.
PricePrice of the product as an object with 'value' (as string) and 'currency' (ISO 4217 code). This is the regular price before any discounts. Required for online products unless they are out of stock.
Sale PriceDiscounted sale price as an object with 'value' (as string) and 'currency' (ISO 4217 code). Must be lower than the regular price. Use with salePriceEffectiveDate to specify when the sale is active.
Sale Price Effective DateDate range during which the item is on sale
Product HeightThe height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product LengthThe length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product WidthThe width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product WeightThe weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
ShippingArray of product-specific shipping rules that override account-level settings. Each rule can specify price, country, region, service class, and handling/transit times. Use this to define unique shipping costs for oversized items, expedited shipping, or region-specific rates.
Shipping WeightWeight of the item for shipping.
SizesSize of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value
TaxesArray of product-specific tax rules that override account-level settings. Each rule defines the tax rate, applicable country/region, whether to tax shipping, and location identifiers. Use this for products with unique tax requirements (e.g., reduced rates for essential goods).
Custom AttributesA list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, { 'name': 'size type', 'value': 'regular' }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).
Identifier ExistsWhen true, indicates that an identifier (GTIN, MPN, or brand) exists for the product. Set to false for custom or handmade products.false
InstallmentNumber and amount of installments to pay for an item.
MultipackThe number of identical products in a merchant-defined multipack.
Custom Label 0Custom Label 0 for custom grouping of items in a Shopping campaign.
Custom Label 1Custom Label 1 for custom grouping of items in a Shopping campaign.
Custom Label 2Custom Label 2 for custom grouping of items in a Shopping campaign.
Custom Label 3Custom Label 3 for custom grouping of items in a Shopping campaign.
Custom Label 4Custom Label 4 for custom grouping of items in a Shopping campaign.
Is BundleWhen true, indicates the item is a merchant-defined bundle (a custom grouping of different products sold for a single price).false
Mobile LinkURL for the mobile-optimized version of your item's landing page.
Availability DateThe day a pre-ordered product becomes available for delivery, in ISO 8601 format.
Shipping LabelThe shipping label of the product, used to group product in account-level shipping rules.
Unit Pricing MeasureThe measure and dimension of an item.
Unit Pricing Base MeasureThe preference of the denominator of the unit price.
Shipping LengthLength of the item for shipping.
Shipping WidthWidth of the item for shipping.
Shipping HeightHeight of the item for shipping.
Display Ads IdAn identifier for an item for dynamic remarketing campaigns.
Display Ads Similar IdsAdvertiser-specified recommendations.
Display Ads TitleTitle of an item for dynamic remarketing campaigns.
Display Ads LinkURL directly to your item's landing page for dynamic remarketing campaigns.
Display Ads ValueOffer margin for dynamic remarketing campaigns.
Sell On Google QuantityThe quantity of the product that is available for selling on Google. Supported only for online products.
Promotion IdsThe unique ID of a promotion.
Max Handling TimeMaximal product handling time (in business days).
Min Handling TimeMinimal product handling time (in business days).
Cost Of Goods SoldCost of goods sold. Used for gross profit reporting.
SourceThe source of the offer, that is, how the offer was created.
Included DestinationsThe list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.
Excluded DestinationsThe list of destinations to exclude for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
Ads GroupingUsed to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
Ads LabelsSimilar to adsGrouping, but only works on CPC.
Ads RedirectAllows advertisers to override the item URL when the product is shown within the context of Product Ads.
Product TypesCategories of the item (formatted as in product data specification).
Age GroupTarget age group of the item.
AvailabilityCurrent availability status of the product. Valid values: 'in stock' (available for immediate purchase), 'out of stock' (temporarily unavailable), 'preorder' (available for advance orders), 'backorder' (can be ordered but delayed delivery).
ConditionPhysical condition of the product. Valid values: 'new' (brand new, unopened), 'refurbished' (professionally restored to working condition), 'used' (previously owned or opened). Required for all products.
GenderTarget gender of the item.
Size SystemSystem in which the size is specified. Recommended for apparel items.
Size TypeThe cut of the item. Recommended for apparel items.
Additional Size TypeAdditional cut of the item. Used together with sizeType to represent combined size types for apparel items.
Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Min Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Max Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Tax CategoryThe tax category of the product.
Transit Time LabelThe transit time label of the product, used to group product in account-level transit time tables.
Shopping Ads Excluded Countriesproducts.list of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.
Pickup MethodThe pick up option for the item.
Pickup SlaItem store pickup timeline.
Link TemplateURL template for merchant hosted local storefront.
Mobile Link TemplateURL template for merchant hosted local storefront optimized for mobile devices.
Product DetailsTechnical specification or additional product details.
Product HighlightsBullet points describing the most relevant highlights of a product.
Subscription CostNumber of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
Canonical LinkURL for the canonical version of your item's landing page.
PausePublication of this item should be temporarily paused.

Delete Account

Deletes a Merchant Center sub-account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Account IdThe Merchant Center account ID. For single merchant accounts, this is the same as merchantId. For multi-client accounts, this represents a specific sub-account ID. Found in Merchant Center settings.

Delete Product

Deletes a product from your Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Product IdThe REST ID of the product in format channel:contentLanguage:targetCountry:offerId (e.g., online:en:US:1234567890). This is automatically generated when a product is created and must be used for updates, deletes, and retrievals.
Feed IdThe Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.

Get Account

Retrieves a Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Account IdThe Merchant Center account ID. For single merchant accounts, this is the same as merchantId. For multi-client accounts, this represents a specific sub-account ID. Found in Merchant Center settings.
ViewControls which fields will be populated. Acceptable values are: 'merchant' and 'css'. The default value is 'merchant'.

Get Order (Deprecated)

Retrieves an order from your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Order IdThe Google-generated order ID. Found in the Merchant Center Orders dashboard or returned when listing orders. This ID is used to retrieve, update, or manage specific order details.

Get Order Return (Deprecated)

Retrieves an order return from your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Return IdGoogle-generated merchant order return ID. Found in Merchant Center under Orders > Returns or returned when listing order returns. Used to retrieve, update, or process return details.

Get Product

Retrieves a product from your Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Product IdThe REST ID of the product in format channel:contentLanguage:targetCountry:offerId (e.g., online:en:US:1234567890). This is automatically generated when a product is created and must be used for updates, deletes, and retrievals.

Get PubSub Notification Settings

Retrieves a Merchant Center account's pubsub notification settings.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

List Accounts

Lists the sub-accounts in your Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Max ResultsThe maximum number of accounts to return in the response, used for paging.
Page TokenThe token returned by the previous request's nextPageToken field. Used to retrieve the next page of results when pagination is required. Leave empty for the first request.
ViewControls which fields will be populated. Acceptable values are: 'merchant' and 'css'. The default value is 'merchant'.
LabelIf view is set to 'css', only return accounts that are assigned label with given ID.
NameIf set, only the accounts with the given name (case sensitive) will be returned.
Fetch AllWhen true, fetches all pages of results using pagination.false

List Orders (Deprecated)

Lists the orders in your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Max ResultsThe maximum number of accounts to return in the response, used for paging.
Page TokenThe token returned by the previous request's nextPageToken field. Used to retrieve the next page of results when pagination is required. Leave empty for the first request.
StatusesObtains orders that match any of the specified statuses. Note: 'active' is a shortcut for pendingShipment and partiallyShipped; 'completed' is a shortcut for shipped, delivered, returned, and canceled.
Placed Date StartObtains orders placed after this date (inclusively), in ISO 8601 format.
Placed Date EndObtains orders placed before this date (inclusively), in ISO 8601 format.
Order ByOrder results by placement date in descending or ascending order.
AcknowledgedWhen true, filters for orders that have been acknowledged. When false, filters for orders that have not been acknowledged.false
Fetch AllWhen true, fetches all pages of results using pagination.false

List Orders Returns (Deprecated)

Lists order returns in your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Max ResultsThe maximum number of accounts to return in the response, used for paging.
Order ByOrder results by placement date in descending or ascending order.
Created Start DateObtains order returns created after this date (inclusively), in ISO 8601 format.
Created End DateObtains order returns created before this date (inclusively), in ISO 8601 format.
Page TokenThe token returned by the previous request's nextPageToken field. Used to retrieve the next page of results when pagination is required. Leave empty for the first request.
Shipment TypesObtains order returns that match any shipment type provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment types.
Shipment StatusObtains order returns that match any shipment status provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment statuses.
Shipment StatesObtains order returns that match any shipment state provided in this parameter. When this parameter is not provided, order returns are obtained regardless of their shipment states.
AcknowledgedWhen true, filters for orders that have been acknowledged. When false, filters for orders that have not been acknowledged.false
Google Order IdsObtains order returns with the specified order ids. If this parameter is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus, shipmentState and acknowledged parameters must be not set. Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the obtained results will include all order returns that either match the specified order id or the specified tracking number.
Shipping Tracking NumbersObtains order returns with the specified tracking numbers. If this parameter is provided, createdStartDate, createdEndDate, shipmentType, shipmentStatus, shipmentState and acknowledged parameters must be not set. Note: if googleOrderId and shipmentTrackingNumber parameters are provided, the obtained results will include all order returns that either match the specified order id or the specified tracking number.
Fetch AllWhen true, fetches all pages of results using pagination.false

List Products

Lists the products in your Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Max ResultsThe maximum number of accounts to return in the response, used for paging.
Page TokenThe token returned by the previous request's nextPageToken field. Used to retrieve the next page of results when pagination is required. Leave empty for the first request.
Fetch AllWhen true, fetches all pages of results using pagination.false

Process Order Return (Deprecated)

Processes return in your Merchant Center account. This action is deprecated as Google is retiring the Orders endpoints in the Content API.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Return IdGoogle-generated merchant order return ID. Found in Merchant Center under Orders > Returns or returned when listing order returns. Used to retrieve, update, or process return details.
Operation IdThe ID of the operation. Unique across all operations for a given order.
Return ItemsThe list of items to return.
Full Charge Return Shipping CostWhen true, the customer will be charged for return shipping costs.false
Refund Shipping FeeRefunds for original shipping fee.

Raw Request

Send raw HTTP request to Google Content Shopping

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
API VersionThe API version to use. This is used to construct the base URL for the request.v2.1
URLInput the path only (/{merchantId}/accounts), The base URL is already included (https://shoppingcontent.googleapis.com/content/{version}). For example, to connect to https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/accounts, only /{merchantId}/accounts is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Update Account

Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Account IdThe Merchant Center account ID. For single merchant accounts, this is the same as merchantId. For multi-client accounts, this represents a specific sub-account ID. Found in Merchant Center settings.
NameDisplay name for the account.
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
Website UrlThe merchant's website.
Adult ContentWhen true, indicates the merchant sells adult content.false
Seller IdClient-specific, locally-unique, internal ID for the child account.
UserUsers with access to the account. Every account (except for subaccounts) must have at least one admin user.
Youtube Channel LinksLinked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
Google My Business LinkThe Business Profile which is linked or in the process of being linked with the Merchant Center account.
Business InformationThe business information of the account.
Automatic ImprovementsThe automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
Ads LinksLinked Ads accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the Ads interface or through the Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
Css IdID of the CSS (Comparison Shopping Service) that the account belongs to. CSS is a program allowing third-party shopping comparison services to display product listings. Only applicable for CSS-managed accounts.
Label IdsManually created label IDs that are assigned to the account by CSS.
Account ManagementSpecifies whether account management is manual or automatic.
Automatic Label IdsAutomatically created label IDs that are assigned to the account by CSS Center.
Conversion SettingsSettings for conversion tracking.

Update Product

Updates an existing product in your Merchant Center account. Only updates attributes provided in the request.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Product IdThe REST ID of the product in format channel:contentLanguage:targetCountry:offerId (e.g., online:en:US:1234567890). This is automatically generated when a product is created and must be used for updates, deletes, and retrievals.
Offer IdA unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted.
Content LanguageThe two-letter ISO 639-1 language code for the item.
Target CountryThe CLDR territory code for the item's country of sale.
External Seller IdRequired for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.
ChannelThe sales channel for this product. 'online' for products sold through your website with shipping, 'local' for products available at physical store locations for local pickup or in-store purchase. Part of the product ID format.
Feed LabelFeed label for the item. Either targetCountry or feedLabel is required. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
TitleTitle of the product. Should be descriptive and include key attributes like brand, product type, and distinguishing features. Maximum 150 characters recommended for optimal display in search results.
DescriptionDetailed description of the product including materials, features, care instructions, and benefits. Should provide comprehensive information to help customers make purchasing decisions. Maximum 5,000 characters.
LinkURL directly linking to your item's page on your website.
Image LinkURL of an image of the item.
Additional Image LinksAdditional URLs of images of the item.
Lifestyle Image LinksAdditional URLs of lifestyle images of the item. Used to explicitly identify images that showcase your item in a real-world context.
Expiration DateDate on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.
AdultWhen true, indicates the item is targeted towards adults.false
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
BrandBrand name of the product manufacturer or designer. Required for products with GTIN unless the product is custom-made or a media item (books, movies, music). Maximum 70 characters.
ColorPrimary color of the product. Use standardized color names (e.g., 'Blue', 'Navy Blue', 'Red') for consistency. For variants with multiple colors, create separate products with the same itemGroupId. Maximum 100 characters.
Google Product CategoryGoogle's category of the item (see Google product taxonomy). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.
GTINGlobal Trade Item Number (GTIN) of the item.
Item Group IdShared identifier for all variants of the same product.
MaterialPrimary material composition of the product (e.g., Cotton, Polyester, Leather, Wood). Particularly important for apparel, home goods, and furniture. Can include multiple materials separated by slashes (e.g., 'Cotton/Polyester'). Maximum 200 characters.
MPNManufacturer Part Number (MPN) of the item.
PatternVisual pattern or print design on the product (e.g., Solid, Striped, Polka Dots, Plaid, Floral). Most relevant for apparel, home textiles, and decorative items. Maximum 100 characters.
PricePrice of the product as an object with 'value' (as string) and 'currency' (ISO 4217 code). This is the regular price before any discounts. Required for online products unless they are out of stock.
Sale PriceDiscounted sale price as an object with 'value' (as string) and 'currency' (ISO 4217 code). Must be lower than the regular price. Use with salePriceEffectiveDate to specify when the sale is active.
Sale Price Effective DateDate range during which the item is on sale
Product HeightThe height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product LengthThe length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product WidthThe width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive).
Product WeightThe weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive).
ShippingArray of product-specific shipping rules that override account-level settings. Each rule can specify price, country, region, service class, and handling/transit times. Use this to define unique shipping costs for oversized items, expedited shipping, or region-specific rates.
Shipping WeightWeight of the item for shipping.
SizesSize of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same itemGroupId value
TaxesArray of product-specific tax rules that override account-level settings. Each rule defines the tax rate, applicable country/region, whether to tax shipping, and location identifiers. Use this for products with unique tax requirements (e.g., reduced rates for essential goods).
Custom AttributesA list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, { 'name': 'size type', 'value': 'regular' }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).
Identifier ExistsWhen true, indicates that an identifier (GTIN, MPN, or brand) exists for the product. Set to false for custom or handmade products.false
InstallmentNumber and amount of installments to pay for an item.
MultipackThe number of identical products in a merchant-defined multipack.
Custom Label 0Custom Label 0 for custom grouping of items in a Shopping campaign.
Custom Label 1Custom Label 1 for custom grouping of items in a Shopping campaign.
Custom Label 2Custom Label 2 for custom grouping of items in a Shopping campaign.
Custom Label 3Custom Label 3 for custom grouping of items in a Shopping campaign.
Custom Label 4Custom Label 4 for custom grouping of items in a Shopping campaign.
Is BundleWhen true, indicates the item is a merchant-defined bundle (a custom grouping of different products sold for a single price).false
Mobile LinkURL for the mobile-optimized version of your item's landing page.
Availability DateThe day a pre-ordered product becomes available for delivery, in ISO 8601 format.
Shipping LabelThe shipping label of the product, used to group product in account-level shipping rules.
Unit Pricing MeasureThe measure and dimension of an item.
Unit Pricing Base MeasureThe preference of the denominator of the unit price.
Shipping LengthLength of the item for shipping.
Shipping WidthWidth of the item for shipping.
Shipping HeightHeight of the item for shipping.
Display Ads IdAn identifier for an item for dynamic remarketing campaigns.
Display Ads Similar IdsAdvertiser-specified recommendations.
Display Ads TitleTitle of an item for dynamic remarketing campaigns.
Display Ads LinkURL directly to your item's landing page for dynamic remarketing campaigns.
Display Ads ValueOffer margin for dynamic remarketing campaigns.
Sell On Google QuantityThe quantity of the product that is available for selling on Google. Supported only for online products.
Promotion IdsThe unique ID of a promotion.
Max Handling TimeMaximal product handling time (in business days).
Min Handling TimeMinimal product handling time (in business days).
Cost Of Goods SoldCost of goods sold. Used for gross profit reporting.
SourceThe source of the offer, that is, how the offer was created.
Included DestinationsThe list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in excludedDestinations.
Excluded DestinationsThe list of destinations to exclude for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
Ads GroupingUsed to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
Ads LabelsSimilar to adsGrouping, but only works on CPC.
Ads RedirectAllows advertisers to override the item URL when the product is shown within the context of Product Ads.
Product TypesCategories of the item (formatted as in product data specification).
Age GroupTarget age group of the item.
AvailabilityCurrent availability status of the product. Valid values: 'in stock' (available for immediate purchase), 'out of stock' (temporarily unavailable), 'preorder' (available for advance orders), 'backorder' (can be ordered but delayed delivery).
ConditionPhysical condition of the product. Valid values: 'new' (brand new, unopened), 'refurbished' (professionally restored to working condition), 'used' (previously owned or opened). Required for all products.
GenderTarget gender of the item.
Size SystemSystem in which the size is specified. Recommended for apparel items.
Size TypeThe cut of the item. Recommended for apparel items.
Additional Size TypeAdditional cut of the item. Used together with sizeType to represent combined size types for apparel items.
Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Min Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Max Energy Efficiency ClassThe energy efficiency class as defined in EU directive 2010/30/EU.
Tax CategoryThe tax category of the product.
Transit Time LabelThe transit time label of the product, used to group product in account-level transit time tables.
Shopping Ads Excluded Countriesproducts.list of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.
Pickup MethodThe pick up option for the item.
Pickup SlaItem store pickup timeline.
Link TemplateURL template for merchant hosted local storefront.
Mobile Link TemplateURL template for merchant hosted local storefront optimized for mobile devices.
Product DetailsTechnical specification or additional product details.
Product HighlightsBullet points describing the most relevant highlights of a product.
Subscription CostNumber of periods (months or years) and amount of payment per period for an item with an associated subscription contract.
Canonical LinkURL for the canonical version of your item's landing page.
PausePublication of this item should be temporarily paused.
Update MaskComma-separated list of product attributes to update. Attributes in the mask without values will be deleted. Only top-level attributes can be updated.

Update Product Local Inventory

Updates the local inventory of a product in your Merchant Center account.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Product IdThe REST ID of the product in format channel:contentLanguage:targetCountry:offerId (e.g., online:en:US:1234567890). This is automatically generated when a product is created and must be used for updates, deletes, and retrievals.
Store CodeStore code that identifies a specific physical retail location. This code is defined when configuring stores in Merchant Center under Settings > Business information > Store codes. Used for local inventory management.
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
PricePrice of the product as an object with 'value' (as string) and 'currency' (ISO 4217 code). This is the regular price before any discounts. Required for online products unless they are out of stock.
Sale PriceDiscounted sale price as an object with 'value' (as string) and 'currency' (ISO 4217 code). Must be lower than the regular price. Use with salePriceEffectiveDate to specify when the sale is active.
Sale Price Effective DateDate range during which the item is on sale
AvailabilityCurrent availability status of the product. Valid values: 'in stock' (available for immediate purchase), 'out of stock' (temporarily unavailable), 'preorder' (available for advance orders), 'backorder' (can be ordered but delayed delivery).
QuantityQuantity of the product. Must be nonnegative.
Pickup MethodThe pick up option for the item.
Pickup SlaItem store pickup timeline.
Instore Product LocationIn-store product location.
Custom AttributesA list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, { 'name': 'size type', 'value': 'regular' }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).

Update Product Regional Inventory

Updates the regional inventory of a product in your Merchant Center account. If a regional inventory with the same region ID already exists, this method updates that entry.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
Product IdThe REST ID of the product in format channel:contentLanguage:targetCountry:offerId (e.g., online:en:US:1234567890). This is automatically generated when a product is created and must be used for updates, deletes, and retrievals.
Region IdThe numeric ID identifying a specific geographic region defined in Merchant Center. Regions are configured under Settings > Shipping and returns and can represent custom geographic areas for regional inventory and pricing.
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
PricePrice of the product as an object with 'value' (as string) and 'currency' (ISO 4217 code). This is the regular price before any discounts. Required for online products unless they are out of stock.
Sale PriceDiscounted sale price as an object with 'value' (as string) and 'currency' (ISO 4217 code). Must be lower than the regular price. Use with salePriceEffectiveDate to specify when the sale is active.
Sale Price Effective DateDate range during which the item is on sale
AvailabilityCurrent availability status of the product. Valid values: 'in stock' (available for immediate purchase), 'out of stock' (temporarily unavailable), 'preorder' (available for advance orders), 'backorder' (can be ordered but delayed delivery).
Custom AttributesA list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, { 'name': 'size type', 'value': 'regular' }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).

Update PubSub Notification

Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't be provided as part of the request.

InputCommentsDefault
ConnectionThe Google Content Shopping connection to use.
Merchant IdThe ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
KindIdentifies what kind of resource this is. Value: the fixed string 'content#account'.
Cloud Topic NameCloud pub/sub topic to which notifications are sent (read-only).
Registered EventsList of event types.