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

Attributes

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

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: any(),
  platforms: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  referrers: [GoogleApi.UrlShortener.V1.Model.StringCount.t()],
  shortUrlClicks: any()
}

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.