google_api_display_video v0.7.0 GoogleApi.DisplayVideo.V1.Model.LineItemFlight View Source

Settings that control the active duration of a line item.

Attributes

  • dateRange (type: GoogleApi.DisplayVideo.V1.Model.DateRange.t, default: nil) - The flight start and end dates of the line item. They are resolved relative to the parent advertiser's time zone.

    • Required when flight_date_type is LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM. Output only otherwise.
    • When creating a new flight, both start_date and end_date must be in the future.
    • An existing flight with a start_date in the past has a mutable end_date but an immutable start_date.
    • end_date must be the start_date or later, both before the year 2037.
  • flightDateType (type: String.t, default: nil) - Required. The type of the line item's flight dates.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DisplayVideo.V1.Model.LineItemFlight{
  dateRange: GoogleApi.DisplayVideo.V1.Model.DateRange.t(),
  flightDateType: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.