Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the Products service to update your product data.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow
Path parameters
Parameters
merchantId
string
The ID of the account that manages the datafeed. This account cannot be a multi-client account.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["\u003cp\u003eTriggers a data retrieval process for a specific datafeed within your Merchant Center account, ideally for infrequent use (once per day).\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP POST request to initiate the fetch operation, targeting a specific datafeed identified by merchant ID and datafeed ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization using OAuth scopes, specifically \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e, for secure access and data integrity.\u003c/p\u003e\n"],["\u003cp\u003eThe response, upon successful execution, confirms the operation with a JSON structure containing the resource kind identifier.\u003c/p\u003e\n"],["\u003cp\u003eFor frequent product data updates, Google recommends leveraging the Products service as a more efficient alternative.\u003c/p\u003e\n"]]],["This document details how to initiate a datafeed fetch in a Merchant Center account using a POST request to `https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow`. It requires the `merchantId` and `datafeedId` as path parameters. The request body should be empty. A successful response returns a JSON object with a \"kind\" field set to \"`content#datafeedsFetchNowResponse`.\" Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope. It's recommended to use the Products service for frequent updates instead of this method.\n"],null,["# Method: datafeeds.fetchnow\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DatafeedsFetchNowResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nInvokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the [Products service](https://developers.google.com/shopping-content/reference/rest/v2.1/products) to update your product data.\n\n### HTTP request\n\n`POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow`\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------|\n| `merchantId` | `string` The ID of the account that manages the datafeed. This account cannot be a multi-client account. |\n| `datafeedId` | `string` The [ID](/shopping-content/v2/reference/v2.1/datafeeds#id) of the datafeed to be fetched. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------|\n| ``` { \"kind\": string } ``` |\n\n| Fields ||\n|--------|-------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsFetchNowResponse`\". |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]