enum DateRangeType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents a period of time.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
TODAY
|
The current day.
|
YESTERDAY
|
The previous day.
|
LAST_WEEK
|
The last week, from monday to sunday.
|
LAST_MONTH
|
The previous month.
|
LAST_3_MONTHS
|
The last 3 full months. For example, if today is May 5, 2017, then LAST_3_MONTHS would go from
February 1 to April 30.
|
REACH_LIFETIME
|
This will report on the last 93 days for the following columns: Column.UNIQUE_REACH_IMPRESSIONS, Column.UNIQUE_REACH_FREQUENCY, and Column.UNIQUE_REACH.
|
CUSTOM_DATE
|
Specifying this value will enable the user to specify
ReportQuery.startDate and ReportQuery.endDate.
|
NEXT_DAY
|
The next day.
|
NEXT_90_DAYS
|
The next ninety days.
|
NEXT_WEEK
|
The next week, from monday to sunday.
|
NEXT_MONTH
|
The next month.
|
CURRENT_AND_NEXT_MONTH
|
Beginning of the next day until the end of the next month.
|
NEXT_QUARTER
|
The next quarter.
|
NEXT_3_MONTHS
|
The next three months.
|
NEXT_12_MONTHS
|
The next twelve months.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eDateRangeType\u003c/code\u003e in Google Ad Manager API v202408 defines a time period for reports, encompassing predefined ranges like \u003ccode\u003eLAST_MONTH\u003c/code\u003e or \u003ccode\u003eNEXT_WEEK\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for custom date ranges via \u003ccode\u003eCUSTOM_DATE\u003c/code\u003e by specifying \u003ccode\u003estartDate\u003c/code\u003e and \u003ccode\u003eendDate\u003c/code\u003e in the \u003ccode\u003eReportQuery\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSpecific options like \u003ccode\u003eREACH_LIFETIME\u003c/code\u003e focus on the last 93 days for unique reach metrics.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration helps users retrieve data for reporting based on various timeframes, providing flexibility in analyzing performance.\u003c/p\u003e\n"]]],["The `ReportService` utilizes `DateRangeType` to define time periods for reports. Available options include `TODAY`, `YESTERDAY`, `LAST_WEEK`, `LAST_MONTH`, and `LAST_3_MONTHS`. `REACH_LIFETIME` covers the last 93 days for reach-related columns. `CUSTOM_DATE` allows specifying `startDate` and `endDate`. Future date ranges include `NEXT_DAY`, `NEXT_90_DAYS`, `NEXT_WEEK`, `NEXT_MONTH`, `CURRENT_AND_NEXT_MONTH`, `NEXT_QUARTER`, `NEXT_3_MONTHS`, and `NEXT_12_MONTHS`.\n"],null,["# enum DateRangeType (v202408)\n\n**Service** \n**ReportService** **Dependencies** \n[ReportQuery](/ad-manager/api/reference/v202408/ReportService.ReportQuery) \n▼\n**DateRangeType**\n\nRepresents a period of time.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `TODAY` | The current day. |\n| `YESTERDAY` | The previous day. |\n| `LAST_WEEK` | The last week, from monday to sunday. |\n| `LAST_MONTH` | The previous month. |\n| `LAST_3_MONTHS` | The last 3 full months. For example, if today is May 5, 2017, then LAST_3_MONTHS would go from February 1 to April 30. |\n| `REACH_LIFETIME` | This will report on the last 93 days for the following columns: [Column.UNIQUE_REACH_IMPRESSIONS](/ad-manager/api/reference/v202408/ReportService.Column#UNIQUE_REACH_IMPRESSIONS), [Column.UNIQUE_REACH_FREQUENCY](/ad-manager/api/reference/v202408/ReportService.Column#UNIQUE_REACH_FREQUENCY), and [Column.UNIQUE_REACH](/ad-manager/api/reference/v202408/ReportService.Column#UNIQUE_REACH). |\n| `CUSTOM_DATE` | Specifying this value will enable the user to specify [ReportQuery.startDate](/ad-manager/api/reference/v202408/ReportService.ReportQuery#startDate) and [ReportQuery.endDate](/ad-manager/api/reference/v202408/ReportService.ReportQuery#endDate). |\n| `NEXT_DAY` | The next day. |\n| `NEXT_90_DAYS` | The next ninety days. |\n| `NEXT_WEEK` | The next week, from monday to sunday. |\n| `NEXT_MONTH` | The next month. |\n| `CURRENT_AND_NEXT_MONTH` | Beginning of the next day until the end of the next month. |\n| `NEXT_QUARTER` | The next quarter. |\n| `NEXT_3_MONTHS` | The next three months. |\n| `NEXT_12_MONTHS` | The next twelve months. |"]]