Enum Report.Types.DateRange.Types.RelativeDateRange
Options for relative date ranges.
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public enum Report.Types.DateRange.Types.RelativeDateRange
Fields
Name | Description |
---|---|
AllAvailable | From 3 years before the report is run, to the day before the report is run, inclusive. |
Last12Months | The entire previous 6 calendar months preceding the calendar month the report is run. |
Last180Days | The 180 days preceding the day the report is run. |
Last30Days | The 30 days preceding the day the report is run. |
Last360Days | The 360 days preceding the day the report is run. |
Last365Days | The 365 days preceding the day the report is run. |
Last3Months | The entire previous 3 calendar months preceding the calendar month the report is run. |
Last60Days | The 60 days preceding the day the report is run. |
Last6Months | The entire previous 6 calendar months preceding the calendar month the report is run. |
Last7Days | The 7 days preceding the day the report is run. |
Last90Days | The 90 days preceding the day the report is run. |
LastMonth | The entire previous calendar month preceding the calendar month the report is run. |
LastQuarter | The entire previous calendar quarter preceding the calendar quarter the report is run. |
LastWeek | The entire previous calendar week, Monday to Sunday (inclusive), preceding the calendar week the report is run. |
LastYear | The entire previous calendar year preceding the calendar year the report is run. |
PreviousPeriod | 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. |
SamePeriodPreviousYear | 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. |
ThisMonth | The full month in which this report is run. Could include dates in the future. |
ThisMonthToDate | From the beginning of the calendar month in which the report is run, to up to and including the day the report is run. |
ThisQuarter | The full quarter in which this report is run. Could include dates in the future. |
ThisQuarterToDate | From the beginning of the calendar quarter in which the report is run, up to and including the day the report is run. |
ThisWeek | The full week in which this report is run. Could include dates in the future. |
ThisWeekToDate | From the beginning of the calendar week (Monday to Sunday) in which the up to and including the day the report is run. |
ThisYear | The full year in which this report is run. Could include dates in the future. |
ThisYearToDate | From the beginning of the calendar year in which the report is run, to up to and including the day the report is run. |
Today | The date the report is run. |
Unspecified | Default value. This value is unused. |
Yesterday | The date a day before the date that the report is run. |