View Source GoogleApi.AdExchangeBuyer.V2beta1.Model.CreativeSize (google_api_ad_exchange_buyer v0.41.0)

Specifies the size of the creative.

Attributes

  • allowedFormats (type: list(String.t), default: nil) - What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).
  • companionSizes (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.Size.t), default: nil) - For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO
  • creativeSizeType (type: String.t, default: nil) - The creative size type.
  • nativeTemplate (type: String.t, default: nil) - Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.
  • size (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Size.t, default: nil) - For regular or video creative size type, specifies the size of the creative
  • skippableAdType (type: String.t, default: nil) - The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.CreativeSize{
  allowedFormats: [String.t()] | nil,
  companionSizes: [GoogleApi.AdExchangeBuyer.V2beta1.Model.Size.t()] | nil,
  creativeSizeType: String.t() | nil,
  nativeTemplate: String.t() | nil,
  size: GoogleApi.AdExchangeBuyer.V2beta1.Model.Size.t() | nil,
  skippableAdType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.