সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বণিক কেন্দ্র ক্যোয়ারী ল্যাঙ্গুয়েজ আপনাকে একটি কাস্টম বা আপেক্ষিক তারিখ ব্যাপ্তি ব্যবহার করে একটি তারিখ ব্যাপ্তি নির্দিষ্ট করতে দেয়৷ মেট্রিক্সের জন্য সমস্ত অনুরোধে অবশ্যই WHERE ক্লজে segments.date এর জন্য একটি শর্ত অন্তর্ভুক্ত করতে হবে যাতে আপনি যে সময়কাল থেকে আপনার কর্মক্ষমতা ডেটা পুনরুদ্ধার করতে চান তা নির্দেশ করে৷
কাস্টম তারিখ ব্যাপ্তি
আপনি ISO 8601 (YYYY-MM-DD) বিন্যাসে তারিখ উল্লেখ করতে পারেন:
আপনি তারিখের স্ট্রিংগুলিকে একক উদ্ধৃতি ( ' ) বা দ্বিগুণ উদ্ধৃতি ( " ) দিয়ে সংজ্ঞায়িত করতে পারেন। তবে, আপনাকে অবশ্যই সামঞ্জস্যপূর্ণ হতে হবে; উদাহরণস্বরূপ: "2021-01-01' একটি বৈধ তারিখ স্ট্রিং নয়৷
আপেক্ষিক তারিখ ব্যাপ্তি
কাস্টম তারিখ ব্যাপ্তি ছাড়াও, আপনি BETWEEN এবং AND এর পরিবর্তে DURING ব্যবহার করে একটি আপেক্ষিক তারিখ ব্যাপ্তি যেমন LAST_30_DAYS বা THIS_MONTH নির্দিষ্ট করতে পারেন:
[[["সহজে বোঝা যায়","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-08-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and represents the future of the platform.\u003c/p\u003e\n"],["\u003cp\u003eAll Merchant Center Query Language requests for metrics require a \u003ccode\u003esegments.date\u003c/code\u003e condition in the \u003ccode\u003eWHERE\u003c/code\u003e clause to specify the desired time period for performance data retrieval.\u003c/p\u003e\n"],["\u003cp\u003eDate ranges can be specified using custom ISO 8601 formatted dates or relative date ranges like \u003ccode\u003eLAST_30_DAYS\u003c/code\u003e using \u003ccode\u003eDURING\u003c/code\u003e in the \u003ccode\u003eWHERE\u003c/code\u003e clause.\u003c/p\u003e\n"]]],["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"],null,["# Date ranges\n\nThe Merchant Center Query Language lets you specify a date range using a custom\nor relative date range. **All requests for metrics must include a condition for\n`segments.date` in the`WHERE` clause** to indicate the time period from which\nyou want to retrieve your performance data.\n\nCustom date range\n-----------------\n\nYou can specify dates in ISO 8601(YYYY-MM-DD) format: \n\n segments.date BETWEEN '2021-01-01' AND '2021-01-31'\n\nOR: \n\n segments.date \u003e= '2021-01-01' AND segments.date \u003c= '2021-01-31'\n\nYou can define date strings with either single quotes (`'`) or double quotes\n(`\"`). However, you must be consistent; for example: `\"2021-01-01'` is not a\nvalid date string.\n\nRelative date range\n-------------------\n\nIn addition to custom date ranges, you can specify a relative date range such\nas `LAST_30_DAYS` or `THIS_MONTH` by using `DURING` instead of `BETWEEN` and\n`AND`: \n\n WHERE segments.date DURING LAST_30_DAYS\n\nCheck out the\n[Merchant Center Query Language grammar](/shopping-content/guides/reports/query-language/grammar)\nfor the list of available relative date ranges."]]