View Source GoogleApi.AdSense.V14.Model.AdStyle (google_api_ad_sense v0.15.1)

Attributes

  • colors (type: GoogleApi.AdSense.V14.Model.AdStyleColors.t, default: nil) - The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
  • corners (type: String.t, default: nil) - The style of the corners in the ad (deprecated: never populated, ignored).
  • font (type: GoogleApi.AdSense.V14.Model.AdStyleFont.t, default: nil) - The font which is included in the style.
  • kind (type: String.t, default: adsense#adStyle) - Kind this is, in this case adsense#adStyle.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdSense.V14.Model.AdStyle{
  colors: GoogleApi.AdSense.V14.Model.AdStyleColors.t() | nil,
  corners: String.t() | nil,
  font: GoogleApi.AdSense.V14.Model.AdStyleFont.t() | nil,
  kind: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.