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

A relative date range, specified by an offset and a duration. The supported range of dates begins 30 days before today and ends today, i.e., 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, e.g., 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, e.g., for a range where the last date is today: 0.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.