Enum Report.DateRange.RelativeDateRange (0.14.0)

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

ProtocolMessageEnum

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_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_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;

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 = 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 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 = 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 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 = 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 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 = 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_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_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 (Monday to Sunday) 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 (Monday to Sunday) in which the up to and including the day the report is run.

THIS_WEEK_TO_DATE = 29;

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_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;

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) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()