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

View Source

The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.

Attributes

  • audible (type: boolean(), default: nil) - Whether the video must be audible to count an impression.
  • timeMillis (type: integer(), default: nil) - The time in milliseconds the video must play for the Custom Viewability Metric to count an impression. If both this and timePercent are specified, the earlier of the two will be used.
  • timePercent (type: integer(), default: nil) - The percentage of video that must play for the Custom Viewability Metric to count an impression. If both this and timeMillis are specified, the earlier of the two will be used.
  • viewabilityPercent (type: integer(), default: nil) - The percentage of video that must be on screen for the Custom Viewability Metric to count an impression.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V4.Model.CustomViewabilityMetricConfiguration{
  audible: boolean() | nil,
  timeMillis: integer() | nil,
  timePercent: integer() | nil,
  viewabilityPercent: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.