View Source GoogleApi.AdExchangeBuyer.V2beta1.Model.RelativeDateRange (google_api_ad_exchange_buyer v0.41.0)

A relative date range, specified by an offset and a duration. The supported range of dates begins 30 days before today and ends today, for example, the limits for these values are: offset_days >= 0 duration_days >= 1 offset_days + duration_days <= 30

Attributes

  • durationDays (type: integer(), default: nil) - The number of days in the requested date range, for example, for a range spanning today: 1. For a range spanning the last 7 days: 7.
  • offsetDays (type: integer(), default: nil) - The end date of the filter set, specified as the number of days before today, for example, for a range where the last date is today: 0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.RelativeDateRange{
  durationDays: integer() | nil,
  offsetDays: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.