AI-generated Key Takeaways
-
Triggers a data retrieval process for a specific datafeed within your Merchant Center account, ideally for infrequent use (once per day).
-
Utilizes an HTTP POST request to initiate the fetch operation, targeting a specific datafeed identified by merchant ID and datafeed ID.
-
Requires authorization using OAuth scopes, specifically
https://www.googleapis.com/auth/content
, for secure access and data integrity. -
The response, upon successful execution, confirms the operation with a JSON structure containing the resource kind identifier.
-
For frequent product data updates, Google recommends leveraging the Products service as a more efficient alternative.
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 |
The ID of the account that manages the datafeed. This account cannot be a multi-client account. |
datafeedId |
The ID of the datafeed to be fetched. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string } |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string " |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.