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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.