# Enum ReportDefinition.DateRange.RelativeDateRange (0.52.0)

0.52.0 (latest) 0.50.0 0.47.0 0.46.0 0.44.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public enum ReportDefinition.DateRange.RelativeDateRange extends Enum<ReportDefinition.DateRange.RelativeDateRange> implements ProtocolMessageEnum

Options for relative date ranges.

Protobuf enum `google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `ALL_AVAILABLE` | From 3 years before the report is run, to the day before the report is run, inclusive. `ALL_AVAILABLE = 21;` |
| `ALL_AVAILABLE_VALUE` | From 3 years before the report is run, to the day before the report is run, inclusive. `ALL_AVAILABLE = 21;` |
| `LAST_12_MONTHS` | The entire previous 6 calendar months preceding the calendar month the report is run. `LAST_12_MONTHS = 20;` |
| `LAST_12_MONTHS_VALUE` | The entire previous 6 calendar months preceding the calendar month the report is run. `LAST_12_MONTHS = 20;` |
| `LAST_180_DAYS` | The 180 days preceding the day the report is run. `LAST_180_DAYS = 15;` |
| `LAST_180_DAYS_VALUE` | The 180 days preceding the day the report is run. `LAST_180_DAYS = 15;` |
| `LAST_30_DAYS` | The 30 days preceding the day the report is run. `LAST_30_DAYS = 12;` |
| `LAST_30_DAYS_VALUE` | The 30 days preceding the day the report is run. `LAST_30_DAYS = 12;` |
| `LAST_360_DAYS` | The 360 days preceding the day the report is run. `LAST_360_DAYS = 16;` |
| `LAST_360_DAYS_VALUE` | The 360 days preceding the day the report is run. `LAST_360_DAYS = 16;` |
| `LAST_365_DAYS` | The 365 days preceding the day the report is run. `LAST_365_DAYS = 17;` |
| `LAST_365_DAYS_VALUE` | The 365 days preceding the day the report is run. `LAST_365_DAYS = 17;` |
| `LAST_3_MONTHS` | The entire previous 3 calendar months preceding the calendar month the report is run. `LAST_3_MONTHS = 18;` |
| `LAST_3_MONTHS_VALUE` | The entire previous 3 calendar months preceding the calendar month the report is run. `LAST_3_MONTHS = 18;` |
| `LAST_60_DAYS` | The 60 days preceding the day the report is run. `LAST_60_DAYS = 13;` |
| `LAST_60_DAYS_VALUE` | The 60 days preceding the day the report is run. `LAST_60_DAYS = 13;` |
| `LAST_6_MONTHS` | The entire previous 6 calendar months preceding the calendar month the report is run. `LAST_6_MONTHS = 19;` |
| `LAST_6_MONTHS_VALUE` | The entire previous 6 calendar months preceding the calendar month the report is run. `LAST_6_MONTHS = 19;` |
| `LAST_7_DAYS` | The 7 days preceding the day the report is run. `LAST_7_DAYS = 11;` |
| `LAST_7_DAYS_VALUE` | The 7 days preceding the day the report is run. `LAST_7_DAYS = 11;` |
| `LAST_90_DAYS` | The 90 days preceding the day the report is run. `LAST_90_DAYS = 14;` |
| `LAST_90_DAYS_VALUE` | The 90 days preceding the day the report is run. `LAST_90_DAYS = 14;` |
| `LAST_93_DAYS` | The 93 days preceding the day the report is run. `LAST_93_DAYS = 38;` |
| `LAST_93_DAYS_VALUE` | The 93 days preceding the day the report is run. `LAST_93_DAYS = 38;` |
| `LAST_MONTH` | The entire previous calendar month preceding the calendar month the report is run. `LAST_MONTH = 8;` |
| `LAST_MONTH_VALUE` | The entire previous calendar month preceding the calendar month the report is run. `LAST_MONTH = 8;` |
| `LAST_QUARTER` | The entire previous calendar quarter preceding the calendar quarter the report is run. `LAST_QUARTER = 9;` |
| `LAST_QUARTER_VALUE` | The entire previous calendar quarter preceding the calendar quarter the report is run. `LAST_QUARTER = 9;` |
| `LAST_WEEK` | The entire previous calendar week, Monday to Sunday (inclusive), preceding the calendar week the report is run. `LAST_WEEK = 7;` |
| `LAST_WEEK_STARTING_SUNDAY` | The entire previous calendar week, Sunday to Saturday (inclusive), preceding the calendar week the report is run. `LAST_WEEK_STARTING_SUNDAY = 39;` |
| `LAST_WEEK_STARTING_SUNDAY_VALUE` | The entire previous calendar week, Sunday to Saturday (inclusive), preceding the calendar week the report is run. `LAST_WEEK_STARTING_SUNDAY = 39;` |
| `LAST_WEEK_VALUE` | The entire previous calendar week, Monday to Sunday (inclusive), preceding the calendar week the report is run. `LAST_WEEK = 7;` |
| `LAST_YEAR` | The entire previous calendar year preceding the calendar year the report is run. `LAST_YEAR = 10;` |
| `LAST_YEAR_VALUE` | The entire previous calendar year preceding the calendar year the report is run. `LAST_YEAR = 10;` |
| `NEXT_12_MONTHS` | The entire 12 calendar months following the calendar month the report is run. `NEXT_12_MONTHS = 34;` |
| `NEXT_12_MONTHS_VALUE` | The entire 12 calendar months following the calendar month the report is run. `NEXT_12_MONTHS = 34;` |
| `NEXT_3_MONTHS` | The entire 3 calendar months following the calendar month the report is run. `NEXT_3_MONTHS = 33;` |
| `NEXT_3_MONTHS_VALUE` | The entire 3 calendar months following the calendar month the report is run. `NEXT_3_MONTHS = 33;` |
| `NEXT_90_DAYS` | The 90 days following the day the report is run. `NEXT_90_DAYS = 31;` |
| `NEXT_90_DAYS_VALUE` | The 90 days following the day the report is run. `NEXT_90_DAYS = 31;` |
| `NEXT_MONTH` | The entire calendar month following the calendar month the report is run. `NEXT_MONTH = 32;` |
| `NEXT_MONTH_VALUE` | The entire calendar month following the calendar month the report is run. `NEXT_MONTH = 32;` |
| `NEXT_QUARTER` | The entire calendar quarter following the calendar quarter the report is run. `NEXT_QUARTER = 36;` |
| `NEXT_QUARTER_VALUE` | The entire calendar quarter following the calendar quarter the report is run. `NEXT_QUARTER = 36;` |
| `NEXT_WEEK` | The entire calendar week, Monday to Sunday (inclusive), following the calendar week the report is run. `NEXT_WEEK = 35;` |
| `NEXT_WEEK_VALUE` | The entire calendar week, Monday to Sunday (inclusive), following the calendar week the report is run. `NEXT_WEEK = 35;` |
| `PREVIOUS_PERIOD` | Only valid when used in the comparison_date_range field. The complete period preceding the date period provided in date_range. In the case where date_range is a FixedDateRange of N days, this will be a period of N days where the end date is the date preceding the start date of the date_range. In the case where date_range is a RelativeDateRange, this will be a period of the same timeframe preceding the date_range. In the case where the date_range does not capture the full period because a report is run in the middle of that period, this will still be the full preceding period. For example, if date_range is THIS_WEEK, but the report is run on a Wednesday, THIS_WEEK will be Monday - Wednesday, but PREVIOUS_PERIOD will be Monday - Sunday. `PREVIOUS_PERIOD = 22;` |
| `PREVIOUS_PERIOD_VALUE` | Only valid when used in the comparison_date_range field. The complete period preceding the date period provided in date_range. In the case where date_range is a FixedDateRange of N days, this will be a period of N days where the end date is the date preceding the start date of the date_range. In the case where date_range is a RelativeDateRange, this will be a period of the same timeframe preceding the date_range. In the case where the date_range does not capture the full period because a report is run in the middle of that period, this will still be the full preceding period. For example, if date_range is THIS_WEEK, but the report is run on a Wednesday, THIS_WEEK will be Monday - Wednesday, but PREVIOUS_PERIOD will be Monday - Sunday. `PREVIOUS_PERIOD = 22;` |
| `RELATIVE_DATE_RANGE_UNSPECIFIED` | Default value. This value is unused. `RELATIVE_DATE_RANGE_UNSPECIFIED = 0;` |
| `RELATIVE_DATE_RANGE_UNSPECIFIED_VALUE` | Default value. This value is unused. `RELATIVE_DATE_RANGE_UNSPECIFIED = 0;` |
| `SAME_PERIOD_PREVIOUS_YEAR` | Only valid when used in the comparison_date_range field. The period starting 1 year prior to the date period provided in date_range. In the case where date_range is a FixedDateRange, this will be a date range starting 1 year prior to the date_range start date and ending 1 year prior to the date_range end date. In the case where date_range is a RelativeDateRange, this will be a period of the same timeframe exactly 1 year prior to the date_range. In the case where the date_range does not capture the full period because a report is run in the middle of that period, this will still be the full period 1 year prior. For example, if date range is THIS_WEEK, but the report is run on a Wednesday, THIS_WEEK will be Monday - Wednesday, but SAME_PERIOD_PREVIOUS_YEAR will be Monday - Sunday. `SAME_PERIOD_PREVIOUS_YEAR = 24;` |
| `SAME_PERIOD_PREVIOUS_YEAR_VALUE` | Only valid when used in the comparison_date_range field. The period starting 1 year prior to the date period provided in date_range. In the case where date_range is a FixedDateRange, this will be a date range starting 1 year prior to the date_range start date and ending 1 year prior to the date_range end date. In the case where date_range is a RelativeDateRange, this will be a period of the same timeframe exactly 1 year prior to the date_range. In the case where the date_range does not capture the full period because a report is run in the middle of that period, this will still be the full period 1 year prior. For example, if date range is THIS_WEEK, but the report is run on a Wednesday, THIS_WEEK will be Monday - Wednesday, but SAME_PERIOD_PREVIOUS_YEAR will be Monday - Sunday. `SAME_PERIOD_PREVIOUS_YEAR = 24;` |
| `THIS_MONTH` | The full month in which this report is run. Could include dates in the future. `THIS_MONTH = 4;` |
| `THIS_MONTH_TO_DATE` | From the beginning of the calendar month in which the report is run, to up to and including the day the report is run. `THIS_MONTH_TO_DATE = 26;` |
| `THIS_MONTH_TO_DATE_VALUE` | From the beginning of the calendar month in which the report is run, to up to and including the day the report is run. `THIS_MONTH_TO_DATE = 26;` |
| `THIS_MONTH_TO_YESTERDAY` | From the beginning of the calendar month in which the report is run, up to and including the day before the report is run. `THIS_MONTH_TO_YESTERDAY = 41;` |
| `THIS_MONTH_TO_YESTERDAY_VALUE` | From the beginning of the calendar month in which the report is run, up to and including the day before the report is run. `THIS_MONTH_TO_YESTERDAY = 41;` |
| `THIS_MONTH_VALUE` | The full month in which this report is run. Could include dates in the future. `THIS_MONTH = 4;` |
| `THIS_QUARTER` | The full quarter in which this report is run. Could include dates in the future. `THIS_QUARTER = 5;` |
| `THIS_QUARTER_TO_DATE` | From the beginning of the calendar quarter in which the report is run, up to and including the day the report is run. `THIS_QUARTER_TO_DATE = 27;` |
| `THIS_QUARTER_TO_DATE_VALUE` | From the beginning of the calendar quarter in which the report is run, up to and including the day the report is run. `THIS_QUARTER_TO_DATE = 27;` |
| `THIS_QUARTER_TO_YESTERDAY` | From the beginning of the calendar quarter in which the report is run, up to and including the day before the report is run. `THIS_QUARTER_TO_YESTERDAY = 42;` |
| `THIS_QUARTER_TO_YESTERDAY_VALUE` | From the beginning of the calendar quarter in which the report is run, up to and including the day before the report is run. `THIS_QUARTER_TO_YESTERDAY = 42;` |
| `THIS_QUARTER_VALUE` | The full quarter in which this report is run. Could include dates in the future. `THIS_QUARTER = 5;` |
| `THIS_WEEK` | The full week in which this report is run. Could include dates in the future. `THIS_WEEK = 3;` |
| `THIS_WEEK_TO_DATE` | From the beginning of the calendar week in which the up to and including the day the report is run. `THIS_WEEK_TO_DATE = 29;` |
| `THIS_WEEK_TO_DATE_VALUE` | From the beginning of the calendar week in which the up to and including the day the report is run. `THIS_WEEK_TO_DATE = 29;` |
| `THIS_WEEK_TO_YESTERDAY` | From the beginning of the calendar week in which the report is run, up to and including the day before the report is run. `THIS_WEEK_TO_YESTERDAY = 40;` |
| `THIS_WEEK_TO_YESTERDAY_VALUE` | From the beginning of the calendar week in which the report is run, up to and including the day before the report is run. `THIS_WEEK_TO_YESTERDAY = 40;` |
| `THIS_WEEK_VALUE` | The full week in which this report is run. Could include dates in the future. `THIS_WEEK = 3;` |
| `THIS_YEAR` | The full year in which this report is run. Could include dates in the future. `THIS_YEAR = 6;` |
| `THIS_YEAR_TO_DATE` | From the beginning of the calendar year in which the report is run, to up to and including the day the report is run. `THIS_YEAR_TO_DATE = 28;` |
| `THIS_YEAR_TO_DATE_VALUE` | From the beginning of the calendar year in which the report is run, to up to and including the day the report is run. `THIS_YEAR_TO_DATE = 28;` |
| `THIS_YEAR_TO_YESTERDAY` | From the beginning of the calendar year in which the report is run, to up to and including the day before the report is run. `THIS_YEAR_TO_YESTERDAY = 43;` |
| `THIS_YEAR_TO_YESTERDAY_VALUE` | From the beginning of the calendar year in which the report is run, to up to and including the day before the report is run. `THIS_YEAR_TO_YESTERDAY = 43;` |
| `THIS_YEAR_VALUE` | The full year in which this report is run. Could include dates in the future. `THIS_YEAR = 6;` |
| `TODAY` | The date the report is run. `TODAY = 1;` |
| `TODAY_VALUE` | The date the report is run. `TODAY = 1;` |
| `TOMORROW` | The date a day after the date that the report is run. `TOMORROW = 30;` |
| `TOMORROW_VALUE` | The date a day after the date that the report is run. `TOMORROW = 30;` |
| `TO_END_OF_NEXT_MONTH` | From the date a day after the date that the report is run, to the end of the calendar month following the calendar month the report is run. `TO_END_OF_NEXT_MONTH = 37;` |
| `TO_END_OF_NEXT_MONTH_VALUE` | From the date a day after the date that the report is run, to the end of the calendar month following the calendar month the report is run. `TO_END_OF_NEXT_MONTH = 37;` |
| `UNRECOGNIZED` |   |
| `YESTERDAY` | The date a day before the date that the report is run. `YESTERDAY = 2;` |
| `YESTERDAY_VALUE` | The date a day before the date that the report is run. `YESTERDAY = 2;` |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/ad-manager/latest/com.google.ads.admanager.v1.ReportDefinition.DateRange.RelativeDateRange#com_google_ads_admanager_v1_ReportDefinition_DateRange_RelativeDateRange_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |