Search Ads 360 Reporting API का नया वर्शन अब उपलब्ध है. आने वाले समय में किए जाने वाले बदलावों और रिलीज़ के बारे में अप-टू-डेट रहने के लिए,
searchads-api-announcements Google ग्रुप में शामिल हों.
तारीख सीमाएं
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Search Ads 360 क्वेरी लैंग्वेज की मदद से, तारीख की सीमा दो तरीकों से तय की जा सकती है:
तारीख की कस्टम सीमा
तारीख की पहले से तय सीमा
कस्टम तारीख सीमा
तारीखों को ISO 8601(YYYY-MM-DD
) फ़ॉर्मैट में दिया जा सकता है:
segments.date BETWEEN '2019-01-01' AND '2019-01-31'
segments.date >= '2019-01-01' AND segments.date <= '2019-01-31'
समयावधि
तारीख वाले कुछ फ़ील्ड, पहले से तय की गई समयावधि के बारे में बताते हैं. जैसे:
segments.week
segments.month
segments.quarter
इन सेगमेंट को फ़िल्टर करते समय, =
ऑपरेटर का इस्तेमाल उस तारीख के साथ किया जा सकता है जो समयावधि का पहला दिन है. अगर आपने v9 में कोई ऐसी तारीख दी है जो किसी अवधि का पहला दिन नहीं है, तो आपको MISALIGNED_DATE_FOR_FILTER
गड़बड़ी का मैसेज दिखेगा.
उदाहरण के लिए, साल 2021 में मई का महीना तय करने के लिए, आपको उस महीने के पहले दिन की जानकारी देते हुए, इस शर्त का इस्तेमाल करना होगा:
segments.month = '2021-05-01'
तारीख की पहले से तय सीमा
तारीख की पहले से तय मान्य सीमाओं की सूची यहां दी गई है:
तारीख की सीमा |
रिपोर्ट इनके लिए जनरेट की जाती हैं... |
TODAY |
सिर्फ़ आज के लिए. |
YESTERDAY |
सिर्फ़ कल के लिए. |
LAST_7_DAYS |
पिछले सात दिन, जिसमें आज का दिन शामिल नहीं है. |
LAST_BUSINESS_WEEK |
पिछले कामकाजी हफ़्ते के सोमवार से शुक्रवार तक के पांच कामकाजी दिन. |
THIS_MONTH |
मौजूदा महीने के सभी दिन. |
LAST_MONTH |
पिछले महीने के सभी दिन. |
LAST_14_DAYS |
आज को छोड़कर, पिछले 14 दिन. |
LAST_30_DAYS |
पिछले 30 दिन, जिसमें आज का डेटा शामिल नहीं है. |
THIS_WEEK_SUN_TODAY |
पिछले रविवार से लेकर मौजूदा दिन के बीच की अवधि. |
THIS_WEEK_MON_TODAY |
पिछले सोमवार से लेकर मौजूदा दिन तक की अवधि. |
LAST_WEEK_SUN_SAT |
पिछले रविवार से शुरू होने वाली सात दिनों की अवधि. |
LAST_WEEK_MON_SUN |
पिछले सोमवार से शुरू होने वाला सात दिन का पीरियड. |
उदाहरण:
segments.date DURING LAST_30_DAYS
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-29 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Search Ads 360 Query Language allows specifying date ranges using either custom dates or predefined date ranges.\u003c/p\u003e\n"],["\u003cp\u003eCustom date ranges can be defined using ISO 8601 format and operators like \u003ccode\u003eBETWEEN\u003c/code\u003e, \u003ccode\u003e>=\u003c/code\u003e, and \u003ccode\u003e<=\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTime period segments such as week, month, and quarter require filtering with the first day of the period using the \u003ccode\u003e=\u003c/code\u003e operator.\u003c/p\u003e\n"],["\u003cp\u003ePredefined date ranges offer shortcuts for common periods like \u003ccode\u003eTODAY\u003c/code\u003e, \u003ccode\u003eLAST_7_DAYS\u003c/code\u003e, \u003ccode\u003eLAST_MONTH\u003c/code\u003e, and others, simplifying query construction.\u003c/p\u003e\n"],["\u003cp\u003eSpecifying a date that is not the first day of a period for segments like \u003ccode\u003esegments.month\u003c/code\u003e will result in a \u003ccode\u003eMISALIGNED_DATE_FOR_FILTER\u003c/code\u003e error.\u003c/p\u003e\n"]]],["The Search Ads 360 Query Language uses custom or predefined date ranges. Custom ranges utilize ISO 8601 format (YYYY-MM-DD) for specific dates (e.g., `segments.date BETWEEN '2019-01-01' AND '2019-01-31'`). For segments like `week`, `month`, or `quarter`, filters must use the first day of the period. Predefined ranges, such as `TODAY`, `LAST_7_DAYS`, or `LAST_MONTH`, offer shortcuts (e.g., `segments.date DURING LAST_30_DAYS`).\n"],null,["# Date Ranges\n\nThe Search Ads 360 Query Language lets you specify the date range in two ways:\n\n- custom date range\n\n- predefined date range\n\nCustom date range\n-----------------\n\nYou can specify dates in ISO 8601(`YYYY-MM-DD`) format: \n\n segments.date BETWEEN '2019-01-01' AND '2019-01-31'\n\n segments.date \u003e= '2019-01-01' AND segments.date \u003c= '2019-01-31'\n\n### Time periods\n\nSome date fields refer to a predefined period of time, specifically:\n\n- `segments.week`\n- `segments.month`\n- `segments.quarter`\n\nWhen filtering on these segments, you can use the `=` operator with the date\nthat is the first day of the time period. Starting in v9, if you specify a date\nthat is not the first day of a period, a `MISALIGNED_DATE_FOR_FILTER` error is\nreturned.\n\nFor example, to specify the month of May in the year 2021, you would use the\nfollowing condition, specifying the first day of that month: \n\n segments.month = '2021-05-01'\n\nPredefined date range\n---------------------\n\nThe list of valid predefined date ranges is as follows:\n\n| Date range | Reports are generated for... |\n|-----------------------|--------------------------------------------------------------------------------|\n| `TODAY` | Today only. |\n| `YESTERDAY` | Yesterday only. |\n| `LAST_7_DAYS` | The last 7 days not including today. |\n| `LAST_BUSINESS_WEEK` | The 5 day business week, Monday through Friday, of the previous business week. |\n| `THIS_MONTH` | All days in the current month. |\n| `LAST_MONTH` | All days in the previous month. |\n| `LAST_14_DAYS` | The last 14 days not including today. |\n| `LAST_30_DAYS` | The last 30 days not including today. |\n| `THIS_WEEK_SUN_TODAY` | The period between the previous Sunday and the current day. |\n| `THIS_WEEK_MON_TODAY` | The period between the previous Monday and the current day. |\n| `LAST_WEEK_SUN_SAT` | The 7-day period starting with the previous Sunday. |\n| `LAST_WEEK_MON_SUN` | The 7-day period starting with the previous Monday. |\n\nExample: \n\n segments.date DURING LAST_30_DAYS"]]