public enum Report.DateRange.RelativeDateRange extends Enum<Report.DateRange.RelativeDateRange> implements ProtocolMessageEnum
Options for relative date ranges.
Protobuf enum google.ads.admanager.v1.Report.DateRange.RelativeDateRange
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ALL_AVAILABLE |
From 3 years before the report is run, to the day before the report is run, inclusive. |
ALL_AVAILABLE_VALUE |
From 3 years before the report is run, to the day before the report is run, inclusive. |
LAST_12_MONTHS |
The entire previous 6 calendar months preceding the calendar month the report is run. |
LAST_12_MONTHS_VALUE |
The entire previous 6 calendar months preceding the calendar month the report is run. |
LAST_180_DAYS |
The 180 days preceding the day the report is run. |
LAST_180_DAYS_VALUE |
The 180 days preceding the day the report is run. |
LAST_30_DAYS |
The 30 days preceding the day the report is run. |
LAST_30_DAYS_VALUE |
The 30 days preceding the day the report is run. |
LAST_360_DAYS |
The 360 days preceding the day the report is run. |
LAST_360_DAYS_VALUE |
The 360 days preceding the day the report is run. |
LAST_365_DAYS |
The 365 days preceding the day the report is run. |
LAST_365_DAYS_VALUE |
The 365 days preceding the day the report is run. |
LAST_3_MONTHS |
The entire previous 3 calendar months preceding the calendar month the report is run. |
LAST_3_MONTHS_VALUE |
The entire previous 3 calendar months preceding the calendar month the report is run. |
LAST_60_DAYS |
The 60 days preceding the day the report is run. |
LAST_60_DAYS_VALUE |
The 60 days preceding the day the report is run. |
LAST_6_MONTHS |
The entire previous 6 calendar months preceding the calendar month the report is run. |
LAST_6_MONTHS_VALUE |
The entire previous 6 calendar months preceding the calendar month the report is run. |
LAST_7_DAYS |
The 7 days preceding the day the report is run. |
LAST_7_DAYS_VALUE |
The 7 days preceding the day the report is run. |
LAST_90_DAYS |
The 90 days preceding the day the report is run. |
LAST_90_DAYS_VALUE |
The 90 days preceding the day the report is run. |
LAST_MONTH |
The entire previous calendar month preceding the calendar month the report is run. |
LAST_MONTH_VALUE |
The entire previous calendar month preceding the calendar month the report is run. |
LAST_QUARTER |
The entire previous calendar quarter preceding the calendar quarter the report is run. |
LAST_QUARTER_VALUE |
The entire previous calendar quarter preceding the calendar quarter the report is run. |
LAST_WEEK |
The entire previous calendar week, Monday to Sunday (inclusive), preceding the calendar week the report is run. |
LAST_WEEK_VALUE |
The entire previous calendar week, Monday to Sunday (inclusive), preceding the calendar week the report is run. |
LAST_YEAR |
The entire previous calendar year preceding the calendar year the report is run. |
LAST_YEAR_VALUE |
The entire previous calendar year preceding the calendar year the report is run. |
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 time frame 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_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 time frame 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. |
RELATIVE_DATE_RANGE_UNSPECIFIED |
Default value. This value is unused. |
RELATIVE_DATE_RANGE_UNSPECIFIED_VALUE |
Default value. This value is unused. |
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 time frame 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_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 time frame 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. |
THIS_MONTH |
The full month in which this report is run. Could include dates in the future. |
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_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_VALUE |
The full month in which this report is run. Could include dates in the future. |
THIS_QUARTER |
The full quarter in which this report is run. Could include dates in the future. |
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_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_VALUE |
The full quarter in which this report is run. Could include dates in the future. |
THIS_WEEK |
The full week in which this report is run. Could include dates in the future. |
THIS_WEEK_TO_DATE |
From the beginning of the calendar week (Monday to Sunday) in which the up to and including the day the report is run. |
THIS_WEEK_TO_DATE_VALUE |
From the beginning of the calendar week (Monday to Sunday) in which the up to and including the day the report is run. |
THIS_WEEK_VALUE |
The full week in which this report is run. Could include dates in the future. |
THIS_YEAR |
The full year in which this report is run. Could include dates in the future. |
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_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_VALUE |
The full year in which this report is run. Could include dates in the future. |
TODAY |
The date the report is run. |
TODAY_VALUE |
The date the report is run. |
UNRECOGNIZED |
|
YESTERDAY |
The date a day before the date that the report is run. |
YESTERDAY_VALUE |
The date a day before the date that the report is run. |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |