View Source GoogleApi.AdSenseHost.V41.Model.AdStyle (google_api_ad_sense_host v0.14.0)

Attributes

  • colors (type: GoogleApi.AdSenseHost.V41.Model.AdStyleColors.t, default: nil) - The colors 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.AdSenseHost.V41.Model.AdStyleFont.t, default: nil) - The font which is included in the style.
  • kind (type: String.t, default: adsensehost#adStyle) - Kind this is, in this case adsensehost#adStyle.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.