با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
زبان پرس و جو Merchant Center به شما امکان می دهد با استفاده از یک محدوده تاریخ سفارشی یا نسبی یک محدوده تاریخ را مشخص کنید. همه درخواستهای معیارها باید شامل شرط segments.date در عبارت WHERE باشند تا دوره زمانی را که میخواهید دادههای عملکرد خود را از آن بازیابی کنید، نشان دهد.
محدوده تاریخ سفارشی
می توانید تاریخ ها را در قالب ISO 8601 (YYYY-MM-DD) مشخص کنید:
segments.date BETWEEN '2021-01-01' AND '2021-01-31'
یا:
segments.date >= '2021-01-01' AND segments.date <= '2021-01-31'
شما میتوانید رشتههای تاریخ را با گیومههای تکی ( ' ) یا دو گیومه ( " ) تعریف کنید. با این حال، باید ثابت باشید؛ برای مثال: "2021-01-01' یک رشته تاریخ معتبر نیست.
محدوده تاریخ نسبی
علاوه بر محدودههای تاریخ سفارشی، میتوانید با استفاده از DURING به جای BETWEEN و AND ، یک محدوده تاریخ نسبی مانند LAST_30_DAYS یا THIS_MONTH را مشخص کنید:
تاریخ آخرین بهروزرسانی 2024-11-13 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2024-11-13 بهوقت ساعت هماهنگ جهانی."],[[["The Merchant API is the new version of the Content API for Shopping and represents the future of the platform."],["All Merchant Center Query Language requests for metrics require a `segments.date` condition in the `WHERE` clause to specify the desired time period for performance data retrieval."],["Date ranges can be specified using custom ISO 8601 formatted dates or relative date ranges like `LAST_30_DAYS` using `DURING` in the `WHERE` clause."]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. All requests for performance metrics require a `segments.date` condition in the `WHERE` clause. Dates can be specified in ISO 8601 format within a custom range using `BETWEEN` or `\u003e=` and `\u003c=`. Alternatively, relative date ranges like `LAST_30_DAYS` can be specified with `DURING`. For a list of available date ranges, the grammar documentation should be consulted.\n"]]