واکشی داده را فوراً (حتی برنامه واکشی خارج از برنامه) در یک منبع داده از حساب Merchant Center شما انجام می دهد. اگر نیاز دارید بیش از یک بار در روز با این روش تماس بگیرید، باید از سرویس محصولات برای بهروزرسانی اطلاعات محصول خود استفاده کنید. این روش فقط روی منابع داده با مجموعه ورودی فایل کار می کند.
درخواست HTTP
POST https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch
تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eFetches product data immediately from a specified Merchant Center Account data source.\u003c/p\u003e\n"],["\u003cp\u003eThis method is suitable for infrequent use (less than daily) and requires a data source with a file input.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003ePOST\u003c/code\u003e method and requires the \u003ccode\u003econtent\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response will be an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eFrequent data updates should be done via the Products service instead of this method.\u003c/p\u003e\n"]]],["This document details the process of manually fetching data from a data source in a Merchant Center Account. It uses a `POST` HTTP request to a specified URL, including a required `name` path parameter identifying the data source. The request body must be empty. A successful fetch returns an empty JSON object in the response body. This action should only occur once per day, and it requires `https://www.googleapis.com/auth/content` OAuth scope authorization. The request uses gRPC Transcoding.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nPerforms the data fetch immediately (even outside fetch schedule) on a data source from your Merchant Center Account. If you need to call this method more than once per day, you should use the Products service to update your product data instead. This method only works on data sources with a file input set.\n\nHTTP request\n\n`POST https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}:fetch`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the data source resource to fetch. Format: `accounts/{account}/dataSources/{datasource}` |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body is an empty JSON object.\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]