GoogleApi.RealTimeBidding.V1.Model.VideoMetadata (google_api_real_time_bidding v0.13.2)

View Source

Video metadata for a creative.

Attributes

  • duration (type: String.t, default: nil) - The duration of the ad. Can be used to filter the response of the creatives.list method.
  • isValidVast (type: boolean(), default: nil) - Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.
  • isVpaid (type: boolean(), default: nil) - Is this a VPAID ad? Can be used to filter the response of the creatives.list method.
  • mediaFiles (type: list(GoogleApi.RealTimeBidding.V1.Model.MediaFile.t), default: nil) - The list of all media files declared in the VAST. If there are multiple VASTs in a wrapper chain, this includes the media files from the deepest one in the chain.
  • skipOffset (type: String.t, default: nil) - The minimum duration that the user has to watch before being able to skip this ad. If the field is not set, the ad is not skippable. If the field is set, the ad is skippable. Can be used to filter the response of the creatives.list method.
  • vastVersion (type: String.t, default: nil) - The maximum VAST version across all wrapped VAST documents. Can be used to filter the response of the creatives.list method.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.RealTimeBidding.V1.Model.VideoMetadata{
  duration: String.t() | nil,
  isValidVast: boolean() | nil,
  isVpaid: boolean() | nil,
  mediaFiles: [GoogleApi.RealTimeBidding.V1.Model.MediaFile.t()] | nil,
  skipOffset: String.t() | nil,
  vastVersion: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.