google_api_url_shortener v0.5.0 API Reference
Modules
API calls for all endpoints tagged Url
.
Handle Tesla connections for GoogleApi.UrlShortener.V1.
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.
Attributes
allTime
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot.t
, default:nil
) - Click analytics over all time.day
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot.t
, default:nil
) - Click analytics over the last day.month
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot.t
, default:nil
) - Click analytics over the last month.twoHours
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot.t
, default:nil
) - Click analytics over the last two hours.week
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSnapshot.t
, default:nil
) - Click analytics over the last week.
Attributes
analytics
(type:GoogleApi.UrlShortener.V1.Model.AnalyticsSummary.t
, default:nil
) - A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable.created
(type:String.t
, default:nil
) - Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00".id
(type:String.t
, default:nil
) - Short URL, e.g. "http://goo.gl/l6MS".kind
(type:String.t
, default:urlshortener#url
) - The fixed string "urlshortener#url".longUrl
(type:String.t
, default:nil
) - Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED".status
(type:String.t
, default:nil
) - Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example.
Attributes
items
(type:list(GoogleApi.UrlShortener.V1.Model.Url.t)
, default:nil
) - A list of URL resources.itemsPerPage
(type:integer()
, default:nil
) - Number of items returned with each full "page" of results. Note that the last page could have fewer items than the "itemsPerPage" value.kind
(type:String.t
, default:urlshortener#urlHistory
) - The fixed string "urlshortener#urlHistory".nextPageToken
(type:String.t
, default:nil
) - A token to provide to get the next page of results.totalItems
(type:integer()
, default:nil
) - Total number of short URLs associated with this user (may be approximate).