google_api_url_shortener v0.5.0 GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot View Source

Attributes

  • browsers (type: list(GoogleApi.UrlShortener.V1.Model.StringCount.t), default: nil) - Top browsers, e.g. "Chrome"; sorted by (descending) click counts. Only present if this data is available.
  • countries (type: list(GoogleApi.UrlShortener.V1.Model.StringCount.t), default: nil) - Top countries (expressed as country codes), e.g. "US" or "DE"; sorted by (descending) click counts. Only present if this data is available.
  • longUrlClicks (type: String.t, default: nil) - Number of clicks on all goo.gl short URLs pointing to this long URL.
  • platforms (type: list(GoogleApi.UrlShortener.V1.Model.StringCount.t), default: nil) - Top platforms or OSes, e.g. "Windows"; sorted by (descending) click counts. Only present if this data is available.
  • referrers (type: list(GoogleApi.UrlShortener.V1.Model.StringCount.t), default: nil) - Top referring hosts, e.g. "www.google.com"; sorted by (descending) click counts. Only present if this data is available.
  • shortUrlClicks (type: String.t, default: nil) - Number of clicks on this short URL.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot{
  browsers: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  countries: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  longUrlClicks: String.t(),
  platforms: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  referrers: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  shortUrlClicks: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.