View Source GoogleApi.DisplayVideo.V1.Model.InsertionOrderBudgetSegment (google_api_display_video v0.35.0)

Settings that control the budget of a single budget segment.

Attributes

  • budgetAmountMicros (type: String.t, default: nil) - Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.
  • campaignBudgetId (type: String.t, default: nil) - The budget_id of the campaign budget that this insertion order budget segment is a part of.
  • dateRange (type: GoogleApi.DisplayVideo.V1.Model.DateRange.t, default: nil) - Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser's time zone. When creating a new budget segment, both start_date and end_date must be in the future. An existing budget segment 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.
  • description (type: String.t, default: nil) - The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.InsertionOrderBudgetSegment{
  budgetAmountMicros: String.t() | nil,
  campaignBudgetId: String.t() | nil,
  dateRange: GoogleApi.DisplayVideo.V1.Model.DateRange.t() | nil,
  description: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.