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

Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.

Attributes

  • dayOfWeek (type: String.t, default: nil) - The day of the week to target. If unspecified, applicable to all days.
  • endTime (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.TimeOfDay.t, default: nil) - The ending time of the day for the ad to show (minute level granularity). The end time is exclusive. This field is not available for filtering in PQL queries.
  • startTime (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.TimeOfDay.t, default: nil) - The starting time of day for the ad to show (minute level granularity). The start time is inclusive. This field is not available for filtering in PQL queries.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.DayPart{
  dayOfWeek: String.t() | nil,
  endTime: GoogleApi.AdExchangeBuyer.V2beta1.Model.TimeOfDay.t() | nil,
  startTime: GoogleApi.AdExchangeBuyer.V2beta1.Model.TimeOfDay.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.