GoogleApi.DFAReporting.V4.Model.Rule (google_api_dfa_reporting v0.31.0)

View Source

A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.

Attributes

  • assetId (type: String.t, default: nil) - A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.
  • name (type: String.t, default: nil) - A user-friendly name for this rule. This is a required field.
  • targetingTemplateId (type: String.t, default: nil) - A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V4.Model.Rule{
  assetId: String.t() | nil,
  name: String.t() | nil,
  targetingTemplateId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.