View Source GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules (google_api_display_video v0.37.1)

A single custom bidding algorithm rules.

Attributes

  • active (type: boolean(), default: nil) - Output only. Whether the rules resource is currently being used for scoring by the parent algorithm.
  • createTime (type: DateTime.t, default: nil) - Output only. The time when the rules resource was created.
  • customBiddingAlgorithmId (type: String.t, default: nil) - Output only. The unique ID of the custom bidding algorithm that the rules resource belongs to.
  • customBiddingAlgorithmRulesId (type: String.t, default: nil) - Output only. The unique ID of the rules resource.
  • error (type: GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesError.t, default: nil) - Output only. Error code of the rejected rules resource. This field will only be populated when the state is REJECTED.
  • name (type: String.t, default: nil) - Output only. The resource name of the rules resource.
  • rules (type: GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesRef.t, default: nil) - Required. Immutable. The reference to the uploaded AlgorithmRules file.
  • state (type: String.t, default: nil) - Output only. The state of the rules resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRules{
  active: boolean() | nil,
  createTime: DateTime.t() | nil,
  customBiddingAlgorithmId: String.t() | nil,
  customBiddingAlgorithmRulesId: String.t() | nil,
  error:
    GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesError.t() | nil,
  name: String.t() | nil,
  rules:
    GoogleApi.DisplayVideo.V3.Model.CustomBiddingAlgorithmRulesRef.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.