GoogleApi.DFAReporting.V34.Model.CreativeAssetSelection (google_api_dfa_reporting v0.31.0)

View Source

Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives.

Attributes

  • defaultAssetId (type: String.t, default: nil) - A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field.
  • rules (type: list(GoogleApi.DFAReporting.V34.Model.Rule.t), default: nil) - Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V34.Model.CreativeAssetSelection{
  defaultAssetId: String.t() | nil,
  rules: [GoogleApi.DFAReporting.V34.Model.Rule.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.